<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<tt>Hi Nathaniel,<br>
<br>
The branch flags (used for NAT flag) are stored into the cflags in
DB.<br>
<br>
Regards,</tt><br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 05/24/2013 05:21 PM, Nathaniel L Keeling III wrote:
<blockquote cite="mid:519F775B.1080709@akan-tech.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hello Bogdan,<br>
<br>
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.<br>
<br>
Thanks<br>
<br>
Nathaniel<br>
<br>
</tt>
<div class="moz-cite-prefix">On 5/24/13 4:14 AM, Bogdan-Andrei
Iancu wrote:<br>
</div>
<blockquote cite="mid:519F2F71.3030201@opensips.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi Nathaniel,<br>
<br>
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.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 05/24/2013 03:53 AM, Nathaniel L Keeling III wrote:
<blockquote cite="mid:519EBA18.4010908@akan-tech.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hello Bogdan,<br>
<br>
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:<br>
<br>
<small>May 23 09:31:28 OpenSips[23458]: [ID 197553
local1.error] SAVING THE SUBSCRIBER INTO THE LOCATION
TABLE, test with extra debug
.......................................<br>
May 23 09:31:28 OpenSips[23458]: [ID 795617
local1.debug] DBG:registrar:save_aux: xXx - flags param is
10038f8a0 <br>
May 23 09:31:28 OpenSips[23458]: [ID 956053
local1.debug] DBG:registrar:save_aux: xXx - flags string
is <p0> <br>
May 23 09:31:28 OpenSips[23458]: [ID 154992
local1.debug] DBG:registrar:save_aux: xXx - flags bitmask
is <20> <br>
May 23 09:31:28 OpenSips[23458]: [ID 497291
local1.debug] DBG:core:parse_headers:
flags=ffffffffffffffff<br>
.<br>
.<br>
May 23 09:31:28 OpenSips[23458]: [ID 497291
local1.debug] DBG:core:parse_headers: flags=8000000<br>
May 23 09:31:28 OpenSips[23458]: [ID 269964
local1.debug] DBG:registrar:pack_ci: xXx - flags are 20 <br>
May 23 09:31:28 OpenSips[23458]: [ID 692724
local1.debug] DBG:registrar:pack_ci: xXx - saving path
into usrloc <br>
May 23 09:31:28 OpenSips[23458]: [ID 497291
local1.debug] DBG:core:parse_headers:
flags=ffffffffffffffff</small><br>
<br>
Thanks<br>
<br>
Nathaniel L Keeling<br>
<br>
</tt>
<div class="moz-cite-prefix">On 5/23/13 4:44 AM, Bogdan-Andrei
Iancu wrote:<br>
</div>
<blockquote cite="mid:519DE4E4.5060506@opensips.org"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hello Nathaniel,<br>
<br>
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).<br>
<br>
Could you try this new patch (remove old one) ? (of
course, put back the "p0" param ).<br>
<br>
Thanks and regards,</tt><br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
</blockquote>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</blockquote>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>