<div dir="ltr">:D @ Bogdan. Good one. </div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 31, 2018 at 10:51 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi Sasmita,<br>
<br>
Of course it fixes only the first contact - afterall the function
is called fix_contact() and not fix_contactS() <br>
<br>
But please ignore me, this was a silly joke :D..<br>
<br>
Yes, it seems that fix_contact() is limited at handling the first
only. But you can use the fix_nated_contact() function from
nathelper module, which handles all contacts.<br>
<br>
Regards<br>
</tt>
<pre class="m_-1655525963258493871moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="m_-1655525963258493871moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit 2018
<a class="m_-1655525963258493871moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam" target="_blank">http://www.opensips.org/<wbr>events/Summit-2018Amsterdam</a>
</pre><div><div class="h5">
<div class="m_-1655525963258493871moz-cite-prefix">On 01/31/2018 02:23 PM, Sasmita Panda
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div> I am using opensips-1.11 and trying to fix contact
in the proxy before saving in DB . This is the bellow code
for contact fix .</div>
<div><br>
</div>
<div>
<div>if (client_nat_test("1")) {</div>
<div> fix_contact();</div>
<div> };</div>
<div><br>
</div>
<div> As for my observation , when I am sending multiple
contact in a single REGISTER message , Its only updating the
first contact and wont update the rest . </div>
<div><br>
</div>
<div> Just wanted to know why this is happening . Every
contact of mine in the REGISTER message have private IP but
one get updated and rest remain same .</div>
<div><br>
</div>
<div>Please do help me . Thanks in advance .</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div class="m_-1655525963258493871gmail_signature">
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_-1655525963258493871mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-1655525963258493871moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-1655525963258493871moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>