<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 7, 2015 at 8:31 AM, Olle E. Johansson <span dir="ltr"><<a href="mailto:oej@edvina.net" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=oej@edvina.net&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">oej@edvina.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div>On 07 Jan 2015, at 16:24, George Joseph <<a href="mailto:reviewboard@asterisk.org" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=reviewboard@asterisk.org&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return false;">reviewboard@asterisk.org</a>> wrote:</div><br><blockquote type="cite"><pre style="font-size:inherit;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;background-color:rgb(255,255,255);margin:0px;padding:0px;white-space:pre-wrap;word-wrap:break-word">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.</pre></blockquote></div>Just make sure that NOTIFY/terminated still works in the case of dialplan reload in situations where the HINT is removed from the dialplan.</div></blockquote><div><br></div><div>It suppresses the temrinate only if asterisk is shutting down AND it's a persistent subscription that exists at the time of the shutdown.   </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class="HOEnZb"><font color="#888888"><div><br></div><div>/O</div></font></span></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br></div></div>