Hi, I'm having a problem with RTP traffic, I have softphone connecting from the outside, I can register but Kamailio is sending all RTP traffic to the private IP address that the softphone has in it own local network. How can I fix this? Any help will be appreciated.
Lucas
On 05/31/2011 01:40 PM, Lucas Alvarez wrote:
Hi, I'm having a problem with RTP traffic, I have softphone connecting from the outside, I can register but Kamailio is sending all RTP traffic to the private IP address that the softphone has in it own local network. How can I fix this? Any help will be appreciated.
That is what the far-end NAT traversal / rtpproxy part of Kamailio functionality is for.
Alex, thank you for the answer, I have installed rtpproxy and is running:
rtpproxy -l 66.152.18.221 -s udp:localhost:7722
this is my NAT kamailio.cfg:
#!ifdef WITH_NAT # ----- rtpproxy params ----- modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722")
# ----- nathelper params ----- modparam("nathelper", "natping_interval", 30) modparam("nathelper", "ping_nated_only", 1) modparam("nathelper", "sipping_bflag", FLB_NATSIPPING) modparam("nathelper", "sipping_from", "sip:pinger@kamailio.org")
# params needed for NAT traversal in other modules modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)") modparam("usrloc", "nat_bflag", FLB_NATB) #!endif
And in the route(NAT) I have changed the nat test:
* if (!nat_uac_test("32"))*
This is because I want to do NAT only with those clients which source signalling is not RFC1918 compliant. Since I'm using a transparent proxy on the public ip. The problem I'm still having is that the RTP traffic are routing to the private ip address of the sip phone. I have been with this since a couple of days and I would appreciate a little help. Thanks ons advance,
Lucas On Tue, May 31, 2011 at 2:45 PM, Alex Balashov abalashov@evaristesys.comwrote:
On 05/31/2011 01:40 PM, Lucas Alvarez wrote:
Hi, I'm having a problem with RTP traffic, I have softphone connecting
from the outside, I can register but Kamailio is sending all RTP traffic to the private IP address that the softphone has in it own local network. How can I fix this? Any help will be appreciated.
That is what the far-end NAT traversal / rtpproxy part of Kamailio functionality is for.
-- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users