[OpenSIPS-Users] Wrong Contact in location table
Dragomir Haralambiev
goup2010 at gmail.com
Tue Oct 31 08:34:54 EDT 2017
NO, problem exists. I copy part of my script where Opensips must to fix
nated contact.
But when look in location table I see not fixed contacts.
2017-10-31 14:18 GMT+02:00 Răzvan Crainea <razvan at opensips.org>:
> So you did manage to fix your problem?
>
> Răzvan Crainea
> OpenSIPS Developerwww.opensips-solutions.com
>
> On 10/31/2017 02:17 PM, Dragomir Haralambiev wrote:
>
> Hi,
>
> Thanks for your replay.
>
> I execute fix_nated_contact() after fix_nated_register().
>
> Here part of my script:
> if (isflagset(NAT)) {
> if (is_method("REGISTER")) {
> fix_nated_register();
> setbflag(NAT_BFLAG); # nat register
> }
> fix_nated_contact();
> }
>
> In this case fix_nated_contact() will be fix contact records in location
> table.
>
>
> 2017-10-31 14:02 GMT+02:00 Răzvan Crainea <razvan at opensips.org>:
>
>> Hi, Dragomir!
>>
>> fix_nated_register() does not change the contact of the message,
>> fix_nated_contact() does that.
>> Please print the Contact header as I instructed earlier and send back the
>> script trace. Also, please post the logs on pastebin.com or something,
>> don't do it directly in the email.
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Developerwww.opensips-solutions.com
>>
>> On 10/31/2017 12:40 AM, Dragomir Haralambiev wrote:
>>
>> What will I do to solve this problem?
>>
>> 2017-10-27 11:50 GMT+03:00 Dragomir Haralambiev <goup2010 at gmail.com>:
>>
>>> Oct 27 11:47:32 web /usr/local/sbin/opensips[30490]: 57995010: REGISTER
>>> before fix_nated_register <sip:57995010 at 192.168.2.196:5060>[1]
>>> Oct 27 11:47:32 web /usr/local/sbin/opensips[30490]: 57995010: REGISTER
>>> after fix_nated_register <sip:57995010 at 192.168.2.196:5060>[1]
>>>
>>>
>>> 2017-10-27 10:41 GMT+03:00 Răzvan Crainea <razvan at opensips.org>:
>>>
>>>> Hi, Dragomir!
>>>>
>>>> Can you also print the Contact header ($ct[1]).
>>>>
>>>> [1] http://www.opensips.org/Documentation/Script-CoreVar-2-4#toc26
>>>>
>>>> Best regards,
>>>>
>>>> Răzvan Crainea
>>>> OpenSIPS Developerwww.opensips-solutions.com
>>>>
>>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/20171031/5b6999b5/attachment.html>
More information about the Users
mailing list