<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: #000000'>Hi Alex,<br><br>Thanks for this information. I've started researching the session-timer capabilities in Asterisk, and I think that's my solution. I've already implemented it on a test system and it works well, except that it's using reINVITES to update as opposed to UPDATE messages, resulting in chops in the audio every so often. I'll research this further though.<br><br>Thanks again!<span style="font-family: arial,helvetica,sans-serif;"><br>Brett</span><br><br>----- Original Message -----<br>From: "Alex Balashov" &lt;abalashov@evaristesys.com&gt;<br>To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List" &lt;sr-users@lists.sip-router.org&gt;<br>Cc: sr-users@lists.sip-router.org<br>Sent: Wednesday, June 22, 2011 10:22:18 PM GMT -08:00 US/Canada Pacific<br>Subject: Re: [SR-Users] Kamailio doesn't hang up upon IP connectity loss to SIP endpoint<br><br><div>This is a complex topic. &nbsp;There is no way for a proxy like Kamailio to detect this scenario per se. &nbsp;Kamailio reacts to and forwards signaling events. &nbsp;If an endpoint disappears, it won't send any of those to indicate that it has gone away. &nbsp;How would Kamailio know? &nbsp;Media stream timeout? &nbsp;Kamailio doesn't relay media.</div><div><br></div><div>Your Kamailio-side solution is a dialog timeout, requiring use of dialog-stateful tracking using the dialog module. &nbsp;But that will time out calls indiscriminately, so you need to make it long enough to not anger your users but short enough to be useful.</div><div><br></div><div>Your endpoint solution is SIP Session Timers.<br><br>--<div>Alex Balashov - Principal</div><div>Evariste Systems LLC</div><div>260 Peachtree Street NW</div><div>Suite 2200</div><div>Atlanta, GA 30303</div><div>Tel: +1-678-954-0670</div><div>Fax: +1-404-961-1892</div><div>Web: <a href="http://www.evaristesys.com/" target="_blank"></a><a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a></div></div><div><br>On Jun 23, 2011, at 1:10 AM, Brett Woollum &lt;<a href="mailto:brett@woollum.com" target="_blank">brett@woollum.com</a>&gt; wrote:<br><br></div><div></div><blockquote><div><div style="font-family: Arial,Helvetica,sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><style>p { margin: 0; }</style><div style="font-family: Arial,Helvetica,sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Hello,<br><br>We are running Kamailio as a registration point for our SIP phones, which then interacts with Asterisk. SIP registrations are processed by Kamailio, but everything else is passed to Asterisk. The Kamailio configuration is close to the article at: <a href="http://kb.asipto.com/asterisk:realtime:kamailio-3.1.x-asterisk-1.6.2-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-3.1.x-asterisk-1.6.2-astdb</a>. Everything seems to be working well, until today.<br><br>I found several calls today that were still connected to our provider, even though our SIP phones were not active. There were three calls with timers at 9 hours and counting. We had some IP connectivity issues earlier today, and I'm wonder if it's related.<br><br>If a SIP phone was connected and on a call (through kamailio), and the kamailio/asterisk servers became unreachable, the SIP phones will drop the call. But, it appears that kamailio/asterisk never drop the call in this case, and the call stays live with the carrier. I had to manually kill the calls by command prompt.<br><br>What's the best way to handle this? Is there a way to have kamailio or asterisk poll the phone to see if it's still on the call or something? How can I give visibility to asterisk or kamailio so the calls are always dropped properly? I don't want to run up a large bill because of calls that didn't terminate when they should have.<br><br>Thanks!<br>Brett<br></div></div></div></blockquote><blockquote><div><span>_______________________________________________</span><br><span>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list</span><br><span><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a></span><br><span><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></span><br></div></blockquote><br>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
</div></body></html>