[asterisk-dev] [Code Review] 2598: chan_pjsip: Stateful Contact Expiration
opticron
reviewboard at asterisk.org
Thu Jun 6 13:39:52 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2598/#review8838
-----------------------------------------------------------
/team/group/pimp_my_sip/res/res_sip_registrar_expire.c
<https://reviewboard.asterisk.org/r/2598/#comment17379>
This is a pretty long line and
"expiration2" -> "expiration2->contact"
/team/group/pimp_my_sip/res/res_sip_registrar_expire.c
<https://reviewboard.asterisk.org/r/2598/#comment17381>
This seems to be missing an unlink from the contact_autoexpire container.
- opticron
On June 5, 2013, 2:23 p.m., Joshua Colp wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2598/
> -----------------------------------------------------------
>
> (Updated June 5, 2013, 2:23 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
> -----
>
> /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/f8b0b650/attachment-0001.htm>
More information about the asterisk-dev
mailing list