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

Kevin Harwell reviewboard at asterisk.org
Mon Oct 27 16:43:14 CDT 2014


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

Review request for Asterisk Developers and Mark Michelson.


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/20141027/23c018db/attachment.html>


More information about the asterisk-dev mailing list