<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
what IP addresses you have in the domain module database table? Is
uacip among them?<br>
<br>
Cheers,<br>
Daniel <br>
<br>
<div class="moz-cite-prefix">On 19/04/16 11:05, Yasin CANER wrote:<br>
</div>
<blockquote cite="mid:5715F4D3.6080100@netgsm.com.tr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<font face="Courier New, Courier, monospace">Hello;<br>
i have trouble with BYE routing and loose routing and
kamailio sometimes looping itselft Bye packets.i checked loose
routing and bye packet routing here
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="https://voipmagazine.wordpress.com/2014/12/05/strict-and-loose-routing-of-sip-sequential-requests/">"https://voipmagazine.wordpress.com/2014/12/05/strict-and-loose-routing-of-sip-sequential-requests/"</a>
and here <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.ietf.org/rfc/rfc3261.txt">http://www.ietf.org/rfc/rfc3261.txt</a>
.<br>
<br>
i tought that if top route header with lr is itself , next route
header will be sent but it sending itself so looping. once , it
was happened on INVITE transaction and i disabled
register_myself on domain module. , couldnt figure out why it
happens.<br>
<br>
Kamailio2 and Asterisk has same interface but different port. i
put and exit method when looping itself and saved day.<br>
<br>
<br>
Thanks for helps<br>
<br>
Here is call flow<br>
<br>
INVITE <br>
UAC---> Kamailio-1:5060 ---> Kamailio2:5061--->Asterisk<br>
<br>
<br>
BYE<br>
UAC Kamailio-1:5060 Kamailio-2:5061 <----- Asterisk:5060<br>
Kamailio-2:5061 <-----
Kamailio-2:5061<br>
</font><font face="Courier New,
Courier, monospace">Kamailio-2:5061 <----- Kamailio-2:5061<br>
.....<br>
.....<br>
.....<br>
<br>
BYE <a class="moz-txt-link-freetext" href="sip:02165783@uacip:5061">sip:02165783@uacip:5061</a> SIP/2.0<br>
Via: SIP/2.0/UDP
kamailio2-asterisk-ip:5060;branch=z9hG4bK0a96e9e7;rport<br>
Route:
<a class="moz-txt-link-rfc2396E" href="sip:kamailio2-asterisk-ip:5061;lr;ftag=a186f178d9678251c214192a12fae999;did=ec.4872;vsf=AAAAAAkCAwcDAg8LAwQGcHEBFgQeFggAAB4yMDI-"><sip:kamailio2-asterisk-ip:5061;lr;ftag=a186f178d9678251c214192a12fae999;did=ec.4872;vsf=AAAAAAkCAwcDAg8LAwQGcHEBFgQeFggAAB4yMDI-></a>,<a class="moz-txt-link-rfc2396E" href="sip:kamailio1ip;lr;ftag=a186f178d9678251c214192a12fae999"><sip:kamailio1ip;lr;ftag=a186f178d9678251c214192a12fae999></a><br>
Max-Forwards: 70<br>
From: <a class="moz-txt-link-rfc2396E" href="sip:0545402@kamailio1ip"><sip:0545402@kamailio1ip></a>;tag=as5cbb7b4a<br>
To: 902165783
<a class="moz-txt-link-rfc2396E" href="sip:902165783@kamailio2-asterisk-ip"><sip:902165783@kamailio2-asterisk-ip></a>;tag=a186f178d9678251c214192a12fae999<br>
Call-ID: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:462c9c3e105cb2d84b9e47cf79926a55@10.10.0.70">462c9c3e105cb2d84b9e47cf79926a55@10.10.0.70</a><br>
CSeq: 102 BYE<br>
User-Agent: sipgw2<br>
X-Asterisk-HangupCause: Normal Clearing<br>
X-Asterisk-HangupCauseCode: 16<br>
Content-Length: 0<br>
</font> <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>
<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, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>