<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>it is not clear for me if there are two contact records in the
location table. If there is only one, then you do something in the
config to create the second branch. Kamailio should create only
one after lookup("location"). Maybe you can share relevant parts
of the config to be able to help you more.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 28.03.18 09:08, amit Kumar wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOtn_dUGijk9k+W9FvRnXyfK1tZwDwQmxr86RUTiOtiEQHmOrw@mail.gmail.com">
<div dir="ltr">Hi All,<br>
<br>
Kamailio send 2 INVITE(lookup rewrite r-uri and append branch)
request for Client behind NAT. <br>
Due to this reason for one request,Client respond with 486 Busy
here. we only want to send 1 INVITE request.<br>
<br>
Following are the AOR for client at kamailio.if field(ip port)
in CONTACT and RECEIVED differ then kamailio send 2 INVITE
request. <br>
<br>
<br>
FOLLOWING INVITE HAS BEEN GENERATED AFTER LOOKUP FUNCTION(one
from contact and one from Received field).<br>
<br>
<a href="http://INVITE:sip:123@192.168.230.124:45672"
moz-do-not-send="true">INVITE:sip:123@192.168.230.124:45672</a><br>
<a href="http://INVITE:sip:123@204.192.206.208:45672"
moz-do-not-send="true">INVITE:sip:123@204.192.206.208:45672</a><br>
<br>
I want only ONE INVITE request to be generated.Please suggest
how do solve this issue or if there is any config change or any
code change required to achieve this?<br>
<br>
<br>
AOR:: 123<br>
Contact:: <a
href="http://sip:123@192.168.230.124:45672"
moz-do-not-send="true">sip:123@192.168.230.124:45672</a> Q=1<br>
Expires:: 894<br>
Callid:: <a
href="mailto:003A8EC4-12351@192.168.230.124"
moz-do-not-send="true">003A8EC4-12351@192.168.230.124</a><br>
Cseq:: 2<br>
User-agent:: SIPPER for 3CX Phone<br>
Received:: sip:<a
href="http://204.192.206.208" moz-do-not-send="true">204.192.206.208</a>:
45672<br>
State:: CS_NEW<br>
Flags:: 0<br>
Cflag:: 192<br>
Socket:: udp:<a
href="http://172.12.120.88:5060" moz-do-not-send="true">172.12.120.88:5060</a><br>
Methods:: 4294967295<br>
Ruid:: uloc-5aba112d-7fce-5<br>
Reg-Id:: 0<br>
Last-Keepalive:: 1522144583<br>
Last-Modified:: 1522144583<br>
<br>
thanks,<br>
amit<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.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-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - April 16-18, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>