<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
3.1 is rather old for dialog module, you should upgrade to more
recent version because dialog got lot of work.<br>
<br>
The general hint is that you have to create the dialog as last
operation before t_relay().<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 5/24/13 11:05 AM, Giany wrote:<br>
</div>
<blockquote
cite="mid:1369386334.25888.YahooMailNeo@web163603.mail.gq1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt">
<div style="font-family: 'times new roman', 'new york', times,
serif; font-size: 12pt;">Hello,</div>
<div style="font-family: 'times new roman', 'new york', times,
serif; font-size: 12pt;"><br>
</div>
<div style="font-family: 'times new roman', 'new york', times,
serif; font-size: 16px; color: rgb(0, 0, 0); background-color:
transparent; font-style: normal;">We are using dipatcher to
limit the concurrent number of calls, problem is that from
time to time</div>
<div style="font-family: 'times new roman', 'new york', times,
serif; font-size: 16px; color: rgb(0, 0, 0); background-color:
transparent; font-style: normal;"> calls remain stuck in state
1 and it breaks our concurrent limits..I was not able to make
a kamailio</div>
<div style="font-family: 'times new roman', 'new york', times,
serif; font-size: 16px; color: rgb(0, 0, 0); background-color:
transparent; font-style: normal;">log with high debug as it
happens randomly. Attached is a tcpdump flow:</div>
<div style="font-family: 'times new roman', 'new york', times,
serif; font-size: 16px; color: rgb(0, 0, 0); background-color:
transparent; font-style: normal;"><br>
</div>
<div style="background-color: transparent;">
<div style="background-color: transparent;">
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">Conv.|
Time | serverA | Provider
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
| | RemoteEnd |
</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">112
|938.355 | INVITE SDP (g729 g711U GSM
X-NSERTPType-100 te...hone-eventRT) </font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060) ------------------> (5050) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">112
|938.357 | 100 Trying| |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5050) ------------------> (5060) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">113
|938.420 | INVITE SDP (g711U g729
telephone-eventRTPType-...)|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5050) ------------------> (5060) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">113
|938.422 | 100 trying -- your call is
important to us |</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060) ------------------> (5050) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">113
|938.422 | INVITE SDP (g711U g729
telephone-eventRTPType-...)|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060) ------------------> (1416) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">113
|938.908 | INVITE SDP (g711U g729
telephone-eventRTPType-...)| </font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060) ------------------> (1416) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">113
|939.908 | INVITE SDP (g711U g729
telephone-eventRTPType-...)|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060) ------------------> (1416) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">113
|941.906 | INVITE SDP (g711U g729
telephone-eventRTPType-...)|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060) ------------------> (1416) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">113
|945.907 | INVITE SDP (g711U g729
telephone-eventRTPType-...)|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060) ------------------> (1416) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">112
|948.358 | CANCEL | |
|SIP Request</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060)
<-------------------------------------- (61016) |</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">112
|948.359 | CANCEL | |
|SIP Request</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060) ------------------> (5050) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">112
|948.359 | 200 canceling |
|SIP Status</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060)
--------------------------------------> (61016) |</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">112
|948.359 | 487 Request Terminated |
|SIP Status</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5050) ------------------> (5060) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">112
|948.359 | 200 OK | |
|SIP Status</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5050) ------------------> (5060) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">112
|948.359 | ACK | |
|SIP Request</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060) ------------------> (5050) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">112
|948.360 | 487 Request Terminated |
|SIP Status</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060)
--------------------------------------> (61016) |</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">113
|948.360 | CANCEL | |
|SIP Request</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5050) ------------------> (5060) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">113
|948.360 | 200 canceling |
|SIP Status</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060) ------------------> (5050) |
|</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif">112
|948.365 | ACK | |
|SIP Request</font></div>
<div style="background-color: transparent;"><font
face="times new roman, new york, times, serif"> |
|(5060)
<-------------------------------------- (61016) |</font></div>
<div style="background-color: transparent;"><br>
</div>
<div><br>
</div>
<div>
<pre class="code-java" style="margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 13px; line-height: 1.3em; max-height: 30em; overflow: auto; word-wrap: normal;">dialog:: hash=136:689416016
state:: 1
ref_count:: 3
timestart:: 0
timeout:: 0
callid:: 745eed805cad6b9a3e1727d169cf3461@<span style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; line-height: normal; white-space: normal;">serverA</span>:5050
from_uri:: sip:<span style="line-height: 1.3em; background-color: transparent;">fromnumber</span><span style="line-height: 1.3em; background-color: transparent;">@serverA:5050</span>
from_tag:: as53f6bee4
caller_contact:: <a class="moz-txt-link-freetext" href="sip:fromnumber@serverA:5050">sip:fromnumber@serverA:5050</a>
caller_cseq:: 102
caller_route_set::
caller_bind_addr:: udp:<span style="line-height: 1.3em; background-color: transparent;">serverA</span><span style="line-height: 1.3em; background-color: transparent;">:5060</span>
callee_bind_addr::
to_uri:: <a class="moz-txt-link-freetext" href="sip:internalnr@">sip:internalnr@</a><span style="line-height: 1.3em; background-color: transparent;">serverA</span><span style="line-height: 1.3em; background-color: transparent;">:5060</span>
to_tag::
callee_contact::
callee_cseq::
callee_route_set::</pre>
<pre class="code-java" style="margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 13px; line-height: 1.3em; max-height: 30em; overflow: auto; word-wrap: normal;">
</pre>
<pre class="code-java" style="margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 13px; line-height: 1.3em; max-height: 30em; overflow: auto; word-wrap: normal;">As you see the remoteEnd does not answer at all to this request (due to network issue most likely)</pre>
<pre class="code-java" style="margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 13px; line-height: 1.3em; max-height: 30em; overflow: auto; word-wrap: normal;">and the provider sends a CANCEL after approx 3 seconds.</pre>
<pre class="code-java" style="margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 13px; line-height: 1.3em; max-height: 30em; overflow: auto; word-wrap: normal;">From what I see the INVITE that is sent from asterisk towards kamailio
remains stuck <font face="times new roman, new york, times, serif">(</font><span style="font-family: 'times new roman', 'new york', times, serif; background-color: transparent;">938.420).</span></pre>
<pre class="code-java" style="margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 13px; line-height: 1.3em; max-height: 30em; overflow: auto; word-wrap: normal;"><pre class="code-java" style="margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 1.3em; max-height: 30em; overflow: auto; word-wrap: normal;">We are using Kamailio 3.1.6. <span style="line-height: 1.3em; background-color: transparent;">Any idea what could be the reason for this? </span></pre><pre class="code-java" style="margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 1.3em; max-height: 30em; overflow: auto; word-wrap: normal;"><span style="line-height: 1.3em; background-color: transparent;">
</span></pre><pre class="code-java" style="margin-top: 0px;
margin-bottom: 0px; padding: 0px; line-height: 1.3em; max-height: 30em; overflow: auto; word-wrap: normal;"><span style="line-height: 1.3em; background-color: transparent;">Thank you.</span></pre></pre>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
* <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *</pre>
</body>
</html>