[Kamailio-Users] How to know if a UAC is behind NAT after fix_nated_register() ?
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jul 13 12:00:56 CEST 2009
Hello,
On 07/13/2009 11:54 AM, Pascal Maugeri wrote:
> Hi
>
> A quick question, when I apply a fix_nated_register() to a remote user
> when he/she registers, how can I know later on if this user is behind
> NAT ?
set a branch flag for REGISTER before save location. After lookup
location that flag is recovered and you can test it in the config file.
Cheers,
Daniel
>
> All my calls go through a B2BUA:
>
> Caller ------> kamailio/rtpproxy ------> B2BUA ------>
> kamailio/rtpproxy ------> Callee
>
> When my B2BUA calls a user, I want to know if this user is behind NAT
> or not. For now all the calls go through rtpproxy but I would like to
> apply this path only when user is behind NAT.
>
> Regards,
> Pascal
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
http://www.asipto.com/
More information about the sr-users
mailing list