[SR-Users] Kamailio 3.0 cann't access the RTPProxy

JinKevin kevin.jzh at hotmail.com
Sat Jul 24 08:02:48 CEST 2010


 

Hi All,

 

 

 I have the kamailio configed as below on Solaris 10 (Sparc):

 

# ----- nathelper -----
#!ifdef WITH_NAT
modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:7722")
modparam("nathelper", "natping_interval", 30)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "sipping_bflag", 7)
modparam("nathelper", "sipping_from", "sip:pinger at kamailio.org")
modparam("registrar|nathelper", "received_avp", "$avp(i:80)")
modparam("usrloc", "nat_bflag", 6)
#!endif


and rtpproxy is started as 

AppSer01:ipunity@/opt/ipunity$ ps -ef |grep rtp
 ipunity  4687     1   0 12:58:20 ?           0:00 /usr/local/bin/rtpproxy -l 210.xx.xx.xx -s udp:localhost:7722

 

AppSer01:ipunity@/opt/ipunity$ netstat -an |grep 7722
127.0.0.1.7722                            Idle
127.0.0.1.41509      127.0.0.1.7722       Connected
127.0.0.1.41510      127.0.0.1.7722       Connected
127.0.0.1.41511      127.0.0.1.7722       Connected
127.0.0.1.41512      127.0.0.1.7722       Connected
127.0.0.1.41513      127.0.0.1.7722       Connected
127.0.0.1.41514      127.0.0.1.7722       Connected
127.0.0.1.41515      127.0.0.1.7722       Connected
127.0.0.1.41516      127.0.0.1.7722       Connected
127.0.0.1.41517      127.0.0.1.7722       Connected
127.0.0.1.41518      127.0.0.1.7722       Connected
127.0.0.1.41519      127.0.0.1.7722       Connected

 

However, kamailio is not able to connect the rtpporxy, 

 

Jul 24 12:58:59 AppSer01 /usr/local/kamailio-3.0/sbin/kamailio[22867]: [ID 788202 local0.error] ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy
Jul 24 12:58:59 AppSer01 /usr/local/kamailio-3.0/sbin/kamailio[22867]: [ID 844113 local0.error] ERROR: nathelper [nathelper.c:2492]: proxy <udp:127.0.0.1:7722> does not respond, disable it
Jul 24 12:58:59 AppSer01 /usr/local/kamailio-3.0/sbin/kamailio[22867]: [ID 582370 local0.error] ERROR: nathelper [nathelper.c:3144]: no available proxies
Jul 24 12:58:59 AppSer01 /usr/local/kamailio-3.0/sbin/kamailio[22867]: [ID 788202 local0.error] ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy
Jul 24 12:58:59 AppSer01 /usr/local/kamailio-3.0/sbin/kamailio[22867]: [ID 844113 local0.error] ERROR: nathelper [nathelper.c:2492]: proxy <udp:127.0.0.1:7722> does not respond, disable it
Jul 24 12:58:59 AppSer01 /usr/local/kamailio-3.0/sbin/kamailio[22867]: [ID 582370 local0.error] ERROR: nathelper [nathelper.c:3144]: no available proxies
Jul 24 12:59:04 AppSer01 /usr/local/kamailio-3.0/sbin/kamailio[22870]: [ID 582370 local0.error] ERROR: nathelper [nathelper.c:2627]: no available proxies
Jul 24 12:59:04 AppSer01 /usr/local/kamailio-3.0/sbin/kamailio[22870]: [ID 582370 local0.error] ERROR: nathelper [nathelper.c:2627]: no available proxies


Any helps are appreciated.

 

 

Thanks,

Kevin
 		 	   		  
_________________________________________________________________
SkyDrive电子画册,带你领略精彩照片,分享“美”时“美”刻!
http://www.windowslive.cn/campaigns/e-magazine/ngmchina/?a=c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100724/63c630b6/attachment-0001.htm>


More information about the sr-users mailing list