[Kamailio-Users] How to know if a UAC is behind NAT after fix_nated_register() ?

Alex Balashov abalashov at evaristesys.com
Mon Jul 13 12:03:40 CEST 2009


http://www.kamailio.org/docs/modules/1.5.x/nathelper.html#id2506959

"The function creates a URI consisting of the source IP, port, and 
protocol and stores the URI in an Attribute-Value-Pair. The URI will be 
appended as "received" parameter to Contact in 200 OK and registrar will 
store it in the received cloumn in the location table. "

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 ?
> 
> 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


-- 
Alex Balashov
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671




More information about the sr-users mailing list