[OpenSIPS-Users] Registrar not saving received from Path header

Bogdan-Andrei Iancu bogdan at opensips.org
Fri May 24 17:35:06 CEST 2013


Hi Nathaniel,

The branch flags (used for NAT flag) are stored into the cflags in DB.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 05/24/2013 05:21 PM, Nathaniel L Keeling III wrote:
> Hello Bogdan,
>
> Thank you for all of your help! I have one other question for you. How
> does save() flag a request as being NAT'ed or which column within the
> location table is the setting saved? My register requests that are
> behind a NAT are not maintaining their connections. I have tried
> performing the nat ping but I do not see the pings going out with
> ngrep. I am flagging the request as being behind a NAT but I think
> they are not being flagged in the database for later detection for
> nathelper.
>
> Thanks
>
> Nathaniel
>
> On 5/24/13 4:14 AM, Bogdan-Andrei Iancu wrote:
>> Hi Nathaniel,
>>
>> Thanks for the help in troubleshooting this - I pushed the fix on
>> repos (GIT and SVN), so now there are official - remove the patch I
>> sent you and update from repo.
>>
>> Regards,
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>>
>> On 05/24/2013 03:53 AM, Nathaniel L Keeling III wrote:
>>> Hello Bogdan,
>>>
>>> The change that you did is now causing things to work. I have
>>> attached a snippet of the log file and I have listed the output from
>>> the extra debug lines from your patch within the email:
>>>
>>> May 23 09:31:28   OpenSips[23458]: [ID 197553 local1.error] SAVING
>>> THE SUBSCRIBER INTO THE LOCATION TABLE, test with extra debug
>>> .......................................
>>> May 23 09:31:28   OpenSips[23458]: [ID 795617 local1.debug]
>>> DBG:registrar:save_aux: xXx - flags param is 10038f8a0
>>> May 23 09:31:28   OpenSips[23458]: [ID 956053 local1.debug]
>>> DBG:registrar:save_aux: xXx - flags string is <p0>
>>> May 23 09:31:28   OpenSips[23458]: [ID 154992 local1.debug]
>>> DBG:registrar:save_aux: xXx - flags bitmask is <20>
>>> May 23 09:31:28   OpenSips[23458]: [ID 497291 local1.debug]
>>> DBG:core:parse_headers: flags=ffffffffffffffff
>>> .
>>> .
>>> May 23 09:31:28   OpenSips[23458]: [ID 497291 local1.debug]
>>> DBG:core:parse_headers: flags=8000000
>>> May 23 09:31:28   OpenSips[23458]: [ID 269964 local1.debug]
>>> DBG:registrar:pack_ci: xXx - flags are 20
>>> May 23 09:31:28   OpenSips[23458]: [ID 692724 local1.debug]
>>> DBG:registrar:pack_ci: xXx - saving path into usrloc
>>> May 23 09:31:28   OpenSips[23458]: [ID 497291 local1.debug]
>>> DBG:core:parse_headers: flags=ffffffffffffffff
>>>
>>> Thanks
>>>
>>> Nathaniel L Keeling
>>>
>>> On 5/23/13 4:44 AM, Bogdan-Andrei Iancu wrote:
>>>> Hello Nathaniel,
>>>>
>>>> My test was just to see if your opensips hits the fixup function
>>>> for the flags - and it seems it does (the value I gave you is
>>>> bogus, so it ended up with error).
>>>>
>>>> Could you try this new patch (remove old one) ? (of course, put
>>>> back the "p0" param ).
>>>>
>>>> Thanks and regards,
>>>> Bogdan-Andrei Iancu
>>>> OpenSIPS Founder and Developer
>>>> http://www.opensips-solutions.com
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://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/20130524/9f9570e2/attachment.htm>


More information about the Users mailing list