Summary:ASTERISK-12880: Backport astConfigCallsActive and astConfigCallsProcessed MIB objects to Asterisk 1.4
Reporter:Jeff Gehlbach (jeffg)Labels:
Date Opened:2008-10-13 09:21:42Date Closed:2008-10-31 04:14:34
Versions:Frequency of
Description:The scalar objects astConfigCallsActive (., tied to ast_active_calls()) and astConfigCallsProcessed (., tied to ast_processed_calls()) should be backported to the 1.4 branch.


The underlying ast_active_calls() function for astConfigCallsActive is already present in pbx.c in 1.4, but ast_processed_calls() is not.  Should be trivial to add, though.
Comments:By: Leif Madsen (lmadsen) 2008-10-14 11:14:29

I'm not entirely sure if this should be done, and if so, I think we need to have a patch attached for that in order to move this issue forward. New features are not added to 1.4 unles it fixes a bug, and I don't know enough about res_snmp to determine whether this can be considered a bug or not.

By: Leif Madsen (lmadsen) 2008-10-14 11:15:23

Assigned this issue to Russell for now in order to determine whether this is a candidate for Asterisk 1.4. If not, please close as appropriate, and if is, please state so and remove yourself as the assignee. Thanks!

By: Russell Bryant (russell) 2008-10-14 13:22:31

I'm closing this out since 1.4 is feature frozen.  If I have misunderstood what is going on here and this is actually a bug, then let me know and we can look at it in more detail.

By: Jeff Gehlbach (jeffg) 2008-10-30 12:52:42

It's more a deficiency than a bug. In the strictest sense this bug report is an enhancement request. I can provide a patch if somebody desires, there would be a new function in main/pbx.c and new code in res/snmp/agent.c as well as an update to doc/asterisk-mib,txt. But if we're not backporting functionality (only bugfixes) to 1.4, then this one's probably invalid.

By: Russell Bryant (russell) 2008-10-31 04:14:30

Yeah, that has been the policy for 1.4.  Sorry.  :(

However, we have changed the rules for 1.6, so we won't limit ourselves in this way in the future.