[asterisk-dev] [Code Review] 4318: res_pjsip_pubsub: Fix persistent subscriptions not surviving graceful shutdown
George Joseph
george.joseph at fairview5.com
Wed Jan 7 09:56:22 CST 2015
On Wed, Jan 7, 2015 at 8:31 AM, Olle E. Johansson <oej at edvina.net> wrote:
>
> On 07 Jan 2015, at 16:24, George Joseph <reviewboard at asterisk.org> wrote:
>
> This patch suppresses the sending of 'NOTIFY/terminated' on shutdown for persistent connections. To do this, I've had to add a new AST_OPT_FLAG_SHUTTING DOWN to options so we know that a shut down is in progress.
>
> Just make sure that NOTIFY/terminated still works in the case of dialplan
> reload in situations where the HINT is removed from the dialplan.
>
It suppresses the temrinate only if asterisk is shutting down AND it's a
persistent subscription that exists at the time of the shutdown.
>
> /O
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150107/825fcf30/attachment.html>
More information about the asterisk-dev
mailing list