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