Hi Brandon!
That sounds strange. I would debug it the following way:
1. set the nat bflag unconditional for every REGISTER request.
2. verify that the natbflag is stored in DB for all contacts
3. after lookup use xlog to log the values of the bflags:
http://sip-router.org/wiki/cookbooks/pseudo-variables/devel#branch_attribut…
$var(i)=0;
while($var(i)<$branch(count))
{
xlog("branch $var(i):\n");
xlog(" uri =$(branch(uri)[$var(i)])\n");
xlog(" bflag=$(branch(flags)[$var(i)])\n");
$var(i) = $var(i) + 1;
}
if there is still a problem, then there might be a bug in Kamailio
regards
klaus
Brandon Armstead schrieb:
Hey guys,
First off thanks for any help in advanced! I'm saving a nat branch
flag into usrloc when the user registers, now each user has two
registrations to the same username in usrloc, upon lookup("location"),
inside of branch_route[] it appears only one of them have the nat branch
flag set, while the other does not? Is there any case where a branch
flag could somehow get mangled, or what to look for, or what may cause
this? Also one other thing from a database outlook (the cflag) is
equivalent on both AOR's.
However again at the time of branch_route, one flag is i.e. 000800, and
the other 000820, any thoughts are appreciated, thanks!
------------------------------------------------------------------------
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users