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
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@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
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@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users