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

Joshua Colp reviewboard at asterisk.org
Thu Jun 6 14:08:01 CDT 2013


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

(Updated June 6, 2013, 7:08 p.m.)


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 (updated)
-----

  /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/20130606/290cba21/attachment.htm>


More information about the asterisk-dev mailing list