[OpenSIPS-Users] I have some doubts on contact fix in opensips-1.11 .
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Jan 31 10:51:29 EST 2018
Hi Sasmita,
Of course it fixes only the first contact - afterall the function is
called fix_contact() and not fix_contactS()
But please ignore me, this was a silly joke :D..
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.
Regards
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Summit 2018
http://www.opensips.org/events/Summit-2018Amsterdam
On 01/31/2018 02:23 PM, Sasmita Panda wrote:
> Hi All ,
>
> 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 .
>
> if (client_nat_test("1")) {
> fix_contact();
> };
>
> 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 .
>
> 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 .
>
> Please do help me . Thanks in advance .
>
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180131/e37ccc8a/attachment.html>
More information about the Users
mailing list