[asterisk-dev] [Code Review] 2598: chan_pjsip: Stateful Contact Expiration

Joshua Colp reviewboard at asterisk.org
Wed Jun 5 14:23:22 CDT 2013


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

Review request for Asterisk Developers.


Repository: Asterisk


Description
-------

This change adds a stand-alone module which uses sorcery observers to delete contacts when they should expire, unless updated. This will allow persistent endpoint state to reflect reality.


Diffs
-----

  /team/group/pimp_my_sip/res/res_sip_registrar_expire.c PRE-CREATION 

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


Testing
-------

Tweaked the code to explicitly expire contacts after 5 seconds, confirmed it happens and that structures get destroyed as expected.


Thanks,

Joshua Colp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130605/b68f1553/attachment.htm>


More information about the asterisk-dev mailing list