[asterisk-dev] [Code Review] 4116: res_pjsip: incorrect qualify statistics after disabling for contact

Kevin Harwell reviewboard at asterisk.org
Thu Oct 30 12:16:37 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4116/
-----------------------------------------------------------

(Updated Oct. 30, 2014, 12:16 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers and Mark Michelson.


Changes
-------

Committed in revision 426755


Bugs: ASTERISK-24462
    https://issues.asterisk.org/jira/browse/ASTERISK-24462


Repository: Asterisk


Description
-------

When removing the qualify_frequency from an AoR or a contact the statistics shown when issuing "pjsip show aors" from the CLI are incorrect. This patch deletes the contact's status object from sorcery, disassociating it from the contact, if the qualify_freqency is removed from configuration.


Diffs
-----

  branches/12/res/res_pjsip/pjsip_options.c 426251 

Diff: https://reviewboard.asterisk.org/r/4116/diff/


Testing
-------

Using static and dynamic contacts and various combinations of adding, removing, and reloading the configuration for both AoR and contact level qualify_freqency options noted that the qualify statistics are now correctly reflected.


Thanks,

Kevin Harwell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141030/2adc66d0/attachment.html>


More information about the asterisk-dev mailing list