Hello,

    I have two registrations for the same AoR and they both have the same bflags set in the database, upon branch_route[] they do not.  I do not see at any point either where I would have modified it -- which is my current problem.  Thanks!

On Thu, Jul 2, 2009 at 11:59 PM, Saúl Ibarra <saghul@gmail.com> wrote:
I don't think I understood well...

On Thu, Jul 2, 2009 at 9:16 PM, Brandon Armstead<brandon@cryy.com> wrote:
> 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.
>

Are you saying that you have 2 registrations for the same AoR and one
has some flags and the other doen't?

> However again at the time of branch_route, one flag is i.e. 000800, and the
> other 000820, any thoughts are appreciated, thanks!
>

If you have multiple registrations for the same AoR and keep a NAT
branch flag upon lookup location that flag will only be present for
the natted one, so in branch_route you can check for it...


Hope it helpled,



--
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users