<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
there is no loop there -- the log is incomplete, not showing what
happened with the INVITE request, only with its replies -- but
anyhow, the replies 180 and 486 are coming from callee, the
user-agen: z ...<br>
<br>
So all seems ok with routing of the invite, just the callee is busy,
not answering the call.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 28/03/14 23:36, Slava Bendersky
wrote:<br>
</div>
<blockquote
cite="mid:1986653549.1468149.1396046184678.JavaMail.zimbra@skillsearch.ca"
type="cite">
<div style="font-family: lucida console,sans-serif; font-size:
12pt; color: #000000">
<div>Hello Daniel,<br>
</div>
<div>I was looking where is problem, and I see call is looping
meaning coming back to caller.<br>
</div>
<div>I putted couple xlog to see where is breaks.<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Â Â Â Â Â Â Â $avp(oexten) = $rU;<br>
       xlog("L_INFO", "This is $avp(oexten)");<br>
       if (!lookup("location")) {<br>
           xlog("L_INFO", "This $rU and this $du");<br>
<br>
</div>
<div>this is log<br>
</div>
<div><br>
</div>
<div>Mar 28 18:16:46 dsm01 /usr/sbin/kamailio[1754]: INFO:
<script>: This is 1240.<br>
</div>
<div><br>
</div>
<div>In main routing logic I tried use on save location 0x04 to
store last registrar for external users. Also tried use
MULTIDOMAIN.<br>
</div>
<div><br>
</div>
<div>Here config file <a class="moz-txt-link-freetext" href="http://fpaste.org/89673/60456311/">http://fpaste.org/89673/60456311/</a><br>
</div>
<div><br>
</div>
<div>And here debug, I see 486 busy<br>
</div>
<div><br>
</div>
<div><a class="moz-txt-link-freetext" href="http://fpaste.org/89676/46038139/">http://fpaste.org/89676/46038139/</a></div>
<div><br>
</div>
<div><br>
</div>
<div>In mysql I see record in location table.<br>
</div>
<div><br>
</div>
<div>| 146 | uloc-5335f27e-6da-2 | 1240Â Â Â Â | networklab.loc |
<a class="moz-txt-link-freetext" href="sip:1200@192.168.100.1:57967;transport=UDP">sip:1200@192.168.100.1:57967;transport=UDP</a>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
| NULLÂ Â Â Â | NULL | 2014-03-28 19:16:46 | -1.00 |
YmRiZmE0MzQ5YTU0NjkwNTFiMmM0NDFmOGQzNTljZDg. |Â Â Â 2 |
2014-03-28 18:16:46 |Â Â Â Â 0 |Â Â Â Â Â 0 | Z 3.2.21368 r21103 |
<a class="moz-txt-link-freetext" href="udp:192.168.100.145:5060">udp:192.168.100.145:5060</a> |Â Â Â 5087 | NULLÂ Â Â Â |Â Â Â Â Â 0 |<br>
<br>
</div>
<div>Slava.<br>
</div>
<div><br>
</div>
<hr id="zwchr">
<div
style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"
data-mce-style="color: #000; font-weight: normal; font-style:
normal; text-decoration: none; font-family:
Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Daniel-Constantin
Mierla" <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
<b>To: </b>"Kamailio (SER) - Users Mailing List"
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.sip-router.org"><sr-users@lists.sip-router.org></a><br>
<b>Sent: </b>Thursday, March 27, 2014 2:47:38 PM<br>
<b>Subject: </b>Re: [SR-Users] kamailio db<br>
<div><br>
</div>
Hello,<br>
<br>
the invite is replied with 200ok by kamailio, that should not
happen. You have some wrong logic inside kamailio.cfg.<br>
<br>
You can load debugger module and set cfgtrace parameter of it
to 1, then watch the logs to see which actions from
kamailio.cfg are executed for the invite.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 27/03/14 17:34, Slava
Bendersky wrote:<br>
</div>
<blockquote
cite="mid:423370565.1000436.1395938046266.JavaMail.zimbra@skillsearch.ca">
<div style="font-family: lucida console,sans-serif;
font-size: 12pt; color: #000000"
data-mce-style="font-family: lucida console,sans-serif;
font-size: 12pt; color: #000000;">
<div>Hello Alex,<br>
</div>
<div><br>
After some testing I see on SDP call stack after first
INVITE,<br>
.<br>
<br>
<br>
U 2014/03/27 12:29:32.680559 10.237.236.150:56892 ->
10.237.236.207:5060<br>
INVITE <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="sip:1200@networklab.loc;transport=UDP"
target="_blank"
data-mce-href="sip:1200@networklab.loc;transport=UDP">sip:1200@networklab.loc;transport=UDP</a>
SIP/2.0.<br>
Via: SIP/2.0/UDP
10.237.236.150:56892;branch=z9hG4bK-d8754z-4ac013f010b101fe-1---d8754z-.<br>
Max-Forwards: 70.<br>
Contact: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:1240@10.237.236.150:56892;transport=UDP"
target="_blank"
data-mce-href="sip:1240@10.237.236.150:56892;transport=UDP"><sip:1240@10.237.236.150:56892;transport=UDP></a>.<br>
To: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:1200@networklab.loc;transport=UDP"
target="_blank"
data-mce-href="sip:1200@networklab.loc;transport=UDP"><sip:1200@networklab.loc;transport=UDP></a>.<br>
From: "John Couch"<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:1240@networklab.loc;transport=UDP"
target="_blank"
data-mce-href="sip:1240@networklab.loc;transport=UDP"><sip:1240@networklab.loc;transport=UDP></a>;tag=270d1828.<br>
Call-ID: ZGNhMDdmOGQ1MWFhZTA2NGYwMTE1YThlM2UwNTQxYzI..<br>
CSeq: 2 INVITE.<br>
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE,
OPTIONS, INFO, SUBSCRIBE.<br>
Content-Type: application/sdp.<br>
Proxy-Authorization: Digest
username="1240",realm="networklab.loc",nonce="UzRTGFM0Uezw+Q1ZC/KUq4LDqr7BFZZ/",uri=<a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="sip:1200@networklab.loc;transport=UDP"
target="_blank"
data-mce-href="sip:1200@networklab.loc;transport=UDP">"sip:1200@networklab.loc;transport=UDP"</a>,response="0373158cea6615a4bca50401ace5af75",cnonce="4dfbe915fff3e822e9bc5ac7c3b526f8",nc=00000001,qop=auth,algorithm=MD5.<br>
Supported: replaces, norefersub, extended-refer, timer,
X-cisco-serviceuri.<br>
User-Agent: Z 3.2.21357 r21367.<br>
Allow-Events: presence, kpml.<br>
Content-Length: 165.<br>
.<br>
v=0.<br>
o=Z 0 0 IN IP4 10.237.236.150.<br>
s=Z.<br>
c=IN IP4 10.237.236.150.<br>
t=0 0.<br>
m=audio 8000 RTP/AVP 0 101.<br>
a=rtpmap:101 telephone-event/8000.<br>
a=fmtp:101 0-15.<br>
a=sendrecv.<br>
<br>
<br>
U 2014/03/27 12:29:32.682376 10.237.236.207:5060 ->
10.237.236.150:56892<br>
SIP/2.0 200 OK.<br>
Via: SIP/2.0/UDP
10.237.236.150:56892;branch=z9hG4bK-d8754z-4ac013f010b101fe-1---d8754z-.<br>
To: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:1200@networklab.loc;transport=UDP"
target="_blank"
data-mce-href="sip:1200@networklab.loc;transport=UDP"><sip:1200@networklab.loc;transport=UDP></a>;tag=b27e1a1d33761e85846fc98f5f3a7e58.eb89.<br>
From: "John Couch"<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:1240@networklab.loc;transport=UDP"
target="_blank"
data-mce-href="sip:1240@networklab.loc;transport=UDP"><sip:1240@networklab.loc;transport=UDP></a>;tag=270d1828.<br>
Call-ID: ZGNhMDdmOGQ1MWFhZTA2NGYwMTE1YThlM2UwNTQxYzI..<br>
CSeq: 2 INVITE.<br>
Server: kamailio (4.1.2 (x86_64/linux)).<br>
Content-Length: 0.<br>
.<br>
<br>
<br>
U 2014/03/27 12:29:35.462838 10.237.236.150:56892 ->
10.237.236.207:5060<br>
.<br>
<br>
</div>
<div><br>
</div>
<hr id="zwchr">
<div
style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"
data-mce-style="color: #000; font-weight: normal;
font-style: normal; text-decoration: none; font-family:
Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Alex
Balashov" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:abalashov@evaristesys.com"
target="_blank"
data-mce-href="mailto:abalashov@evaristesys.com"><abalashov@evaristesys.com></a><br>
<b>To: </b><a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sr-users@lists.sip-router.org"
target="_blank"
data-mce-href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<b>Sent: </b>Wednesday, March 26, 2014 3:24:38 PM<br>
<b>Subject: </b>Re: [SR-Users] kamailio db<br>
<div><br>
</div>
On 03/26/2014 03:23 PM, Slava Bendersky wrote:<br>
<div><br>
</div>
> Hello Alex,<br>
> Here config in pastebin<br>
><br>
> <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://pastebin.com/hKDZC1iY" target="_blank"
data-mce-href="http://pastebin.com/hKDZC1iY">http://pastebin.com/hKDZC1iY</a><br>
<div><br>
</div>
I'll take a look and get back to you as soon as I can.
Right now, I need <br>
to catch a flight to Kamailio World. Â :)<br>
<div><br>
</div>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
United States<br>
Tel: +1-678-954-0670<br>
Web: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.evaristesys.com/" target="_blank"
data-mce-href="http://www.evaristesys.com/">http://www.evaristesys.com/</a>,
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.alexbalashov.com/" target="_blank"
data-mce-href="http://www.alexbalashov.com/">http://www.alexbalashov.com/</a><br>
<div><br>
</div>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list<br>
<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sr-users@lists.sip-router.org"
target="_blank"
data-mce-href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank"
data-mce-href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org" target="_blank" data-mce-href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" data-mce-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>
<pre class="moz-signature">--
Daniel-Constantin Mierla - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com" target="_blank" data-mce-href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank" data-mce-href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank" data-mce-href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.kamailioworld.com" target="_blank" data-mce-href="http://www.kamailioworld.com">http://www.kamailioworld.com</a>
</pre>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<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><br>
</div>
<div><br>
</div>
</div>
</blockquote>
<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 World Conference - April 2-4, 2014, Berlin, Germany
<a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>