Guys,
Anyone has some feedback on this?
Thanks,
Kevin
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@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
聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载! _________________________________________________________________ MSN十年回馈,每位用户可免费获得价值25元的卡巴斯基反病毒软件2010激活码,快来领取! http://kaba.msn.com.cn/?k=1
Hello,
can you sniff the loopback interface for communication on port 7722 (i.e., using ngrep/wireshark, etc...)?
What is the version of rtppproxy do you have?
Cheers, Daniel
On 7/27/10 3:58 AM, JinKevin wrote:
Guys,
Anyone has some feedback on this?
Thanks, Kevin
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@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
聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载!
http://3g.msn.cn/
使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! http://www.windowslive.cn/messenger/
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
Hi Daniel,
I use the rtpproxy 1.2.1. And seems loopback interface cann't be caputred on Solaris. I have tried the rtpproxy on other interface and tried the caputre, however didn't see anything on port 7722.
One more thing like to mention is that I got some error like below:
if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_notify.o -MD -MP -MF ".deps/rtpp_notify.Tpo" -c -o rtpp_notify.o rtpp_notify.c; \ then mv -f ".deps/rtpp_notify.Tpo" ".deps/rtpp_notify.Po"; else rm -f ".deps/rtpp_notify.Tpo"; exit 1; fi rtpp_notify.c: In function `reconnect_timeout_handler': rtpp_notify.c:240: error: `AF_LOCAL' undeclared (first use in this function) rtpp_notify.c:240: error: (Each undeclared identifier is reported only once rtpp_notify.c:240: error: for each function it appears in.) gmake[1]: *** [rtpp_notify.o] Error 1 gmake[1]: Leaving directory `/opt/csw/src/rtpproxy' gmake: *** [all] Error 2
I search on internet and added the following in the beginnng of the rtpp_notify.c, and the make gets through. Not sure if this change has any issue.
#ifndef AF_LOCAL #define AF_LOCAL AF_UNIX #endif
Thanks,
Kevin
Date: Tue, 27 Jul 2010 11:53:21 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
can you sniff the loopback interface for communication on port 7722 (i.e., using ngrep/wireshark, etc...)?
What is the version of rtppproxy do you have?
Cheers, Daniel
On 7/27/10 3:58 AM, JinKevin wrote:
Guys,
Anyone has some feedback on this?
Thanks, Kevin
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@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
聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载!
使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! _______________________________________________ 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
Hello,
On 7/27/10 4:21 PM, JinKevin wrote:
Hi Daniel,
I use the rtpproxy 1.2.1. And seems loopback interface cann't be caputred on Solaris. I have tried the rtpproxy on other interface and tried the caputre, however didn't see anything on port 7722.
have you updated kamailio config to send to the other interface as well? What are now the error messages you get from kamailio?
You should see the messages sent by kamailio to rtpproxy...
One more thing like to mention is that I got some error like below:
if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_notify.o -MD -MP -MF ".deps/rtpp_notify.Tpo" -c -o rtpp_notify.o rtpp_notify.c; \ then mv -f ".deps/rtpp_notify.Tpo" ".deps/rtpp_notify.Po"; else rm -f ".deps/rtpp_notify.Tpo"; exit 1; fi rtpp_notify.c: In function `reconnect_timeout_handler': rtpp_notify.c:240: error: `AF_LOCAL' undeclared (first use in this function) rtpp_notify.c:240: error: (Each undeclared identifier is reported only once rtpp_notify.c:240: error: for each function it appears in.) gmake[1]: *** [rtpp_notify.o] Error 1 gmake[1]: Leaving directory `/opt/csw/src/rtpproxy' gmake: *** [all] Error 2
I search on internet and added the following in the beginnng of the rtpp_notify.c, and the make gets through. Not sure if this change has any issue.
#ifndef AF_LOCAL #define AF_LOCAL AF_UNIX #endif
This is rtpproxy code, perhaps is better to ask on rtpproxy devel list: http://lists.rtpproxy.org/mailman/listinfo/devel
Cheers, Daniel
Thanks, Kevin
Date: Tue, 27 Jul 2010 11:53:21 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
can you sniff the loopback interface for communication on port 7722 (i.e., using ngrep/wireshark, etc...)?
What is the version of rtppproxy do you have?
Cheers, Daniel
On 7/27/10 3:58 AM, JinKevin wrote:
Guys, Anyone has some feedback on this? Thanks, Kevin ------------------------------------------------------------------------ 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@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 ------------------------------------------------------------------------ 聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载! <http://3g.msn.cn/> ------------------------------------------------------------------------ 使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! <http://www.windowslive.cn/messenger/> _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://www.asipto.com/
使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! http://www.windowslive.cn/messenger/
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
Hi,
Yes, I changed the kamailio config as well, but didn't see any packet from Kamailio on the port.
And the error message is as following:
WARNING: tm [uac.c:111]: Warning: uac does not spread across the whole hash table ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it
ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks,
Kevin
Date: Wed, 28 Jul 2010 10:31:18 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
On 7/27/10 4:21 PM, JinKevin wrote:
Hi Daniel,
I use the rtpproxy 1.2.1. And seems loopback interface cann't be caputred on Solaris. I have tried the rtpproxy on other interface and tried the caputre, however didn't see anything on port 7722.
have you updated kamailio config to send to the other interface as well? What are now the error messages you get from kamailio?
You should see the messages sent by kamailio to rtpproxy...
One more thing like to mention is that I got some error like below:
if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_notify.o -MD -MP -MF ".deps/rtpp_notify.Tpo" -c -o rtpp_notify.o rtpp_notify.c; \ then mv -f ".deps/rtpp_notify.Tpo" ".deps/rtpp_notify.Po"; else rm -f ".deps/rtpp_notify.Tpo"; exit 1; fi rtpp_notify.c: In function `reconnect_timeout_handler': rtpp_notify.c:240: error: `AF_LOCAL' undeclared (first use in this function) rtpp_notify.c:240: error: (Each undeclared identifier is reported only once rtpp_notify.c:240: error: for each function it appears in.) gmake[1]: *** [rtpp_notify.o] Error 1 gmake[1]: Leaving directory `/opt/csw/src/rtpproxy' gmake: *** [all] Error 2
I search on internet and added the following in the beginnng of the rtpp_notify.c, and the make gets through. Not sure if this change has any issue.
#ifndef AF_LOCAL #define AF_LOCAL AF_UNIX #endif
This is rtpproxy code, perhaps is better to ask on rtpproxy devel list: http://lists.rtpproxy.org/mailman/listinfo/devel
Cheers, Daniel
Thanks, Kevin
Date: Tue, 27 Jul 2010 11:53:21 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
can you sniff the loopback interface for communication on port 7722 (i.e., using ngrep/wireshark, etc...)?
What is the version of rtppproxy do you have?
Cheers, Daniel
On 7/27/10 3:58 AM, JinKevin wrote:
Guys,
Anyone has some feedback on this?
Thanks, Kevin
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@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
聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载!
使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! _______________________________________________ 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
Hi Daniel,
Here is the debug message related to nethelper in the kamailio log:
The proxy is circling btw enabled and disabled, what could be the cause?
4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies 2(15245) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 46634 210.13.x.y 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies 2(15245) ERROR: nathelper [nathelper.c:2627]: no available proxies 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks,
Kevin
From: kevin.jzh@hotmail.com To: miconda@gmail.com CC: sr-users@lists.sip-router.org Subject: RE: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Date: Wed, 28 Jul 2010 19:42:27 +0800
Hi,
Yes, I changed the kamailio config as well, but didn't see any packet from Kamailio on the port. And the error message is as following:
WARNING: tm [uac.c:111]: Warning: uac does not spread across the whole hash table ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
Date: Wed, 28 Jul 2010 10:31:18 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
On 7/27/10 4:21 PM, JinKevin wrote:
Hi Daniel,
I use the rtpproxy 1.2.1. And seems loopback interface cann't be caputred on Solaris. I have tried the rtpproxy on other interface and tried the caputre, however didn't see anything on port 7722.
have you updated kamailio config to send to the other interface as well? What are now the error messages you get from kamailio?
You should see the messages sent by kamailio to rtpproxy...
One more thing like to mention is that I got some error like below:
if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_notify.o -MD -MP -MF ".deps/rtpp_notify.Tpo" -c -o rtpp_notify.o rtpp_notify.c; \ then mv -f ".deps/rtpp_notify.Tpo" ".deps/rtpp_notify.Po"; else rm -f ".deps/rtpp_notify.Tpo"; exit 1; fi rtpp_notify.c: In function `reconnect_timeout_handler': rtpp_notify.c:240: error: `AF_LOCAL' undeclared (first use in this function) rtpp_notify.c:240: error: (Each undeclared identifier is reported only once rtpp_notify.c:240: error: for each function it appears in.) gmake[1]: *** [rtpp_notify.o] Error 1 gmake[1]: Leaving directory `/opt/csw/src/rtpproxy' gmake: *** [all] Error 2
I search on internet and added the following in the beginnng of the rtpp_notify.c, and the make gets through. Not sure if this change has any issue.
#ifndef AF_LOCAL #define AF_LOCAL AF_UNIX #endif
This is rtpproxy code, perhaps is better to ask on rtpproxy devel list: http://lists.rtpproxy.org/mailman/listinfo/devel
Cheers, Daniel
Thanks, Kevin
Date: Tue, 27 Jul 2010 11:53:21 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
can you sniff the loopback interface for communication on port 7722 (i.e., using ngrep/wireshark, etc...)?
What is the version of rtppproxy do you have?
Cheers, Daniel
On 7/27/10 3:58 AM, JinKevin wrote:
Guys,
Anyone has some feedback on this?
Thanks, Kevin
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@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
聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载!
使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! _______________________________________________ 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
Hello,
On 7/28/10 7:13 PM, JinKevin wrote:
Hi Daniel,
Here is the debug message related to nethelper in the kamailio log: The proxy is circling btw enabled and disabled, what could be the cause?
can you run rtpproxy in debug mode and see if it prints some error? I cannot think to something else than network communication problems.
Cheers, Daniel
4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies 2(15245) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 46634 210.13.x.y 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies 2(15245) ERROR: nathelper [nathelper.c:2627]: no available proxies 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
From: kevin.jzh@hotmail.com To: miconda@gmail.com CC: sr-users@lists.sip-router.org Subject: RE: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Date: Wed, 28 Jul 2010 19:42:27 +0800
Hi,
Yes, I changed the kamailio config as well, but didn't see any packet from Kamailio on the port. And the error message is as following:
WARNING: tm [uac.c:111]: Warning: uac does not spread across the whole hash table ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
Date: Wed, 28 Jul 2010 10:31:18 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
On 7/27/10 4:21 PM, JinKevin wrote:
Hi Daniel, I use the rtpproxy 1.2.1. And seems loopback interface cann't be caputred on Solaris. I have tried the rtpproxy on other interface and tried the caputre, however didn't see anything on port 7722.
have you updated kamailio config to send to the other interface as well? What are now the error messages you get from kamailio?
You should see the messages sent by kamailio to rtpproxy...
One more thing like to mention is that I got some error like below: if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_notify.o -MD -MP -MF ".deps/rtpp_notify.Tpo" -c -o rtpp_notify.o rtpp_notify.c; \ then mv -f ".deps/rtpp_notify.Tpo" ".deps/rtpp_notify.Po"; else rm -f ".deps/rtpp_notify.Tpo"; exit 1; fi rtpp_notify.c: In function `reconnect_timeout_handler': rtpp_notify.c:240: error: `AF_LOCAL' undeclared (first use in this function) rtpp_notify.c:240: error: (Each undeclared identifier is reported only once rtpp_notify.c:240: error: for each function it appears in.) gmake[1]: *** [rtpp_notify.o] Error 1 gmake[1]: Leaving directory `/opt/csw/src/rtpproxy' gmake: *** [all] Error 2 I search on internet and added the following in the beginnng of the rtpp_notify.c, and the make gets through. Not sure if this change has any issue. #ifndef AF_LOCAL #define AF_LOCAL AF_UNIX #endif
This is rtpproxy code, perhaps is better to ask on rtpproxy devel list: http://lists.rtpproxy.org/mailman/listinfo/devel
Cheers, Daniel
Thanks, Kevin ------------------------------------------------------------------------ Date: Tue, 27 Jul 2010 11:53:21 +0200 From: miconda@gmail.com <mailto:miconda@gmail.com> To: kevin.jzh@hotmail.com <mailto:kevin.jzh@hotmail.com> CC: sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Hello, can you sniff the loopback interface for communication on port 7722 (i.e., using ngrep/wireshark, etc...)? What is the version of rtppproxy do you have? Cheers, Daniel On 7/27/10 3:58 AM, JinKevin wrote: Guys, Anyone has some feedback on this? Thanks, Kevin ------------------------------------------------------------------------ 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@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 ------------------------------------------------------------------------ 聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载! <http://3g.msn.cn/> ------------------------------------------------------------------------ 使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! <http://www.windowslive.cn/messenger/> _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://www.asipto.com/ ------------------------------------------------------------------------ 使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! <http://www.windowslive.cn/messenger/> _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://www.asipto.com/
Hi Daniel,
I have run the RTPProxy in debug model and get the following log, seems rtpproxy is responsding however nathelper is still disable it.
Please help what's wrong here.
Thanks,
Kevin =======RTPProxy Log == Y.Z replaces the real IP====================== AppSer01:root@/$ /usr/local/bin/rtpproxy -f -u kamailio -l 210.13.Y.Z -d DBUG -s udp:localhost:7722 INFO:main: rtpproxy started, pid 28528 DBUG:handle_command: received command "15244_8 Uc18,101 OTIwMjRiMzYyZDU4ZjlkZDM3NWVmOWEwNmRlNjgyYzk. 116.237.74.228 53370 4729f84d;1" INFO:handle_command: new session OTIwMjRiMzYyZDU4ZjlkZDM3NWVmOWEwNmRlNjgyYzk., tag 4729f84d;1 requested, type strong INFO:handle_command: new session on a port 49092 created, tag 4729f84d;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:53370 DBUG:doreply: sending reply "15244_8 49092 210.13.Y.Z "
INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 49092/0 is cleaned up DBUG:handle_command: received command "15247_10 V" DBUG:doreply: sending reply "15247_10 20040107 " DBUG:handle_command: received command "15247_11 VF 20050322" DBUG:doreply: sending reply "15247_11 1 " DBUG:handle_command: received command "15247_12 VF 20071116" DBUG:doreply: sending reply "15247_12 1 " DBUG:handle_command: received command "15247_13 VF 20081102" DBUG:doreply: sending reply "15247_13 1 " DBUG:handle_command: received command "15247_14 Uc18,101 YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI. 116.237.74.228 22894 963ae84b;1" INFO:handle_command: new session YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI., tag 963ae84b;1 requested, type strong INFO:handle_command: new session on a port 41750 created, tag 963ae84b;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:22894 DBUG:doreply: sending reply "15247_14 41750 210.13.Y.Z " INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 41750/0 is cleaned up DBUG:handle_command: received command "15244_9 V" DBUG:doreply: sending reply "15244_9 20040107 " DBUG:handle_command: received command "15244_10 VF 20050322" DBUG:doreply: sending reply "15244_10 1 " DBUG:handle_command: received command "15244_11 VF 20071116" DBUG:doreply: sending reply "15244_11 1 " DBUG:handle_command: received command "15244_12 VF 20081102" DBUG:doreply: sending reply "15244_12 1 " DBUG:handle_command: received command "15244_13 D YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI. 3e596861-67d7-4c23-bd53-0a7c96e229bd 963ae84b" INFO:handle_command: delete request failed: session YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI., tags 3e596861-67d7-4c23-bd53-0a7c96e229bd/963ae84b not found DBUG:doreply: sending reply "15244_13 E8 "
DBUG:handle_command: received command "15245_19 Uc18,101 ZjA1MDlhOTZkMmI3NjZiMDIwNDY2Mjc4ZWFhMzQzNGQ. 116.237.74.228 49292 3f4f367e;1" INFO:handle_command: new session ZjA1MDlhOTZkMmI3NjZiMDIwNDY2Mjc4ZWFhMzQzNGQ., tag 3f4f367e;1 requested, type strong INFO:handle_command: new session on a port 49698 created, tag 3f4f367e;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:49292 DBUG:doreply: sending reply "15245_19 49698 210.13.Y.Z " INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 49698/0 is cleaned up DBUG:handle_command: received command "15244_14 V" DBUG:doreply: sending reply "15244_14 20040107 " DBUG:handle_command: received command "15244_15 VF 20050322" DBUG:doreply: sending reply "15244_15 1 " DBUG:handle_command: received command "15244_16 VF 20071116" DBUG:doreply: sending reply "15244_16 1 " DBUG:handle_command: received command "15244_17 VF 20081102" DBUG:doreply: sending reply "15244_17 1 " DBUG:handle_command: received command "15244_18 Uc18,101 MGNiMmM5OWE5Mjg4ZTU1NmQ3NjhlYjIyYmQ2ZTQyNmY. 116.237.74.228 32004 91602c3f;1" INFO:handle_command: new session MGNiMmM5OWE5Mjg4ZTU1NmQ3NjhlYjIyYmQ2ZTQyNmY., tag 91602c3f;1 requested, type strong INFO:handle_command: new session on a port 49824 created, tag 91602c3f;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:32004 DBUG:doreply: sending reply "15244_18 49824 210.13.Y.Z " INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 49824/0 is cleaned up
========Kamailio Log ==========================================
AppSer01:ipunity@/var/log$ tail -f kamailio.log |grep nathelper 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49092 210.13.Y.Z 2(15245) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 2(15245) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 2(15245) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 2(15245) ERROR: nathelper [nathelper.c:3144]: no available proxies
4(15247) ERROR: nathelper [nathelper.c:2627]: no available proxies
4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 4(15247) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 41750 210.13.Y.Z 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 3(15246) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 3(15246) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled
2(15245) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 2(15245) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49698 210.13.Y.Z 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 3(15246) ERROR: nathelper [nathelper.c:2627]: no available proxies
1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 1(15244) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49824 210.13.Y.Z 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 4(15247) ERROR: nathelper [nathelper.c:2627]: no available proxies
=============END of Nathelper log ==
From: kevin.jzh@hotmail.com To: miconda@gmail.com CC: sr-users@lists.sip-router.org Subject: RE: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Date: Thu, 29 Jul 2010 01:13:00 +0800
Hi Daniel,
Here is the debug message related to nethelper in the kamailio log: The proxy is circling btw enabled and disabled, what could be the cause?
4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies 2(15245) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 46634 210.13.x.y 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies 2(15245) ERROR: nathelper [nathelper.c:2627]: no available proxies 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
From: kevin.jzh@hotmail.com To: miconda@gmail.com CC: sr-users@lists.sip-router.org Subject: RE: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Date: Wed, 28 Jul 2010 19:42:27 +0800
Hi,
Yes, I changed the kamailio config as well, but didn't see any packet from Kamailio on the port. And the error message is as following:
WARNING: tm [uac.c:111]: Warning: uac does not spread across the whole hash table ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
Date: Wed, 28 Jul 2010 10:31:18 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
On 7/27/10 4:21 PM, JinKevin wrote:
Hi Daniel,
I use the rtpproxy 1.2.1. And seems loopback interface cann't be caputred on Solaris. I have tried the rtpproxy on other interface and tried the caputre, however didn't see anything on port 7722.
have you updated kamailio config to send to the other interface as well? What are now the error messages you get from kamailio?
You should see the messages sent by kamailio to rtpproxy...
One more thing like to mention is that I got some error like below:
if gcc -DHAVE_CONFIG_H -I. -I. -I. -std=gnu99 -Wall -Wno-uninitialized -g -O2 -MT rtpp_notify.o -MD -MP -MF ".deps/rtpp_notify.Tpo" -c -o rtpp_notify.o rtpp_notify.c; \ then mv -f ".deps/rtpp_notify.Tpo" ".deps/rtpp_notify.Po"; else rm -f ".deps/rtpp_notify.Tpo"; exit 1; fi rtpp_notify.c: In function `reconnect_timeout_handler': rtpp_notify.c:240: error: `AF_LOCAL' undeclared (first use in this function) rtpp_notify.c:240: error: (Each undeclared identifier is reported only once rtpp_notify.c:240: error: for each function it appears in.) gmake[1]: *** [rtpp_notify.o] Error 1 gmake[1]: Leaving directory `/opt/csw/src/rtpproxy' gmake: *** [all] Error 2
I search on internet and added the following in the beginnng of the rtpp_notify.c, and the make gets through. Not sure if this change has any issue.
#ifndef AF_LOCAL #define AF_LOCAL AF_UNIX #endif
This is rtpproxy code, perhaps is better to ask on rtpproxy devel list: http://lists.rtpproxy.org/mailman/listinfo/devel
Cheers, Daniel
Thanks, Kevin
Date: Tue, 27 Jul 2010 11:53:21 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
can you sniff the loopback interface for communication on port 7722 (i.e., using ngrep/wireshark, etc...)?
What is the version of rtppproxy do you have?
Cheers, Daniel
On 7/27/10 3:58 AM, JinKevin wrote:
Guys,
Anyone has some feedback on this?
Thanks, Kevin
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@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
聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! 立刻下载!
使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! _______________________________________________ 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
Hello,
the commands for starting new sessions happen during calls, is the log from starting kamailio is or taken during testing with calls?
Is the rtpproxy used by many instance or just by one?
I suggest you take the log only at the time you start kamailio so we know exactly what is printed at that time.
Cheers, Daniel
On 8/4/10 3:13 AM, KevinJin wrote:
Hi Daniel,
I have run the RTPProxy in debug model and get the following log, seems rtpproxy is responsding however nathelper is still disable it. Please help what's wrong here.
Thanks, Kevin =======RTPProxy Log == Y.Z replaces the real IP====================== AppSer01:root@/$ /usr/local/bin/rtpproxy -f -u kamailio -l 210.13.Y.Z -d DBUG -s udp:localhost:7722 INFO:main: rtpproxy started, pid 28528 DBUG:handle_command: received command "15244_8 Uc18,101 OTIwMjRiMzYyZDU4ZjlkZDM3NWVmOWEwNmRlNjgyYzk. 116.237.74.228 53370 4729f84d;1" INFO:handle_command: new session OTIwMjRiMzYyZDU4ZjlkZDM3NWVmOWEwNmRlNjgyYzk., tag 4729f84d;1 requested, type strong INFO:handle_command: new session on a port 49092 created, tag 4729f84d;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:53370 DBUG:doreply: sending reply "15244_8 49092 210.13.Y.Z "
INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 49092/0 is cleaned up DBUG:handle_command: received command "15247_10 V" DBUG:doreply: sending reply "15247_10 20040107 " DBUG:handle_command: received command "15247_11 VF 20050322" DBUG:doreply: sending reply "15247_11 1 " DBUG:handle_command: received command "15247_12 VF 20071116" DBUG:doreply: sending reply "15247_12 1 " DBUG:handle_command: received command "15247_13 VF 20081102" DBUG:doreply: sending reply "15247_13 1 " DBUG:handle_command: received command "15247_14 Uc18,101 YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI. 116.237.74.228 22894 963ae84b;1" INFO:handle_command: new session YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI., tag 963ae84b;1 requested, type strong INFO:handle_command: new session on a port 41750 created, tag 963ae84b;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:22894 DBUG:doreply: sending reply "15247_14 41750 210.13.Y.Z " INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 41750/0 is cleaned up DBUG:handle_command: received command "15244_9 V" DBUG:doreply: sending reply "15244_9 20040107 " DBUG:handle_command: received command "15244_10 VF 20050322" DBUG:doreply: sending reply "15244_10 1 " DBUG:handle_command: received command "15244_11 VF 20071116" DBUG:doreply: sending reply "15244_11 1 " DBUG:handle_command: received command "15244_12 VF 20081102" DBUG:doreply: sending reply "15244_12 1 " DBUG:handle_command: received command "15244_13 D YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI. 3e596861-67d7-4c23-bd53-0a7c96e229bd 963ae84b" INFO:handle_command: delete request failed: session YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI., tags 3e596861-67d7-4c23-bd53-0a7c96e229bd/963ae84b not found DBUG:doreply: sending reply "15244_13 E8 "
DBUG:handle_command: received command "15245_19 Uc18,101 ZjA1MDlhOTZkMmI3NjZiMDIwNDY2Mjc4ZWFhMzQzNGQ. 116.237.74.228 49292 3f4f367e;1" INFO:handle_command: new session ZjA1MDlhOTZkMmI3NjZiMDIwNDY2Mjc4ZWFhMzQzNGQ., tag 3f4f367e;1 requested, type strong INFO:handle_command: new session on a port 49698 created, tag 3f4f367e;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:49292 DBUG:doreply: sending reply "15245_19 49698 210.13.Y.Z " INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 49698/0 is cleaned up DBUG:handle_command: received command "15244_14 V" DBUG:doreply: sending reply "15244_14 20040107 " DBUG:handle_command: received command "15244_15 VF 20050322" DBUG:doreply: sending reply "15244_15 1 " DBUG:handle_command: received command "15244_16 VF 20071116" DBUG:doreply: sending reply "15244_16 1 " DBUG:handle_command: received command "15244_17 VF 20081102" DBUG:doreply: sending reply "15244_17 1 " DBUG:handle_command: received command "15244_18 Uc18,101 MGNiMmM5OWE5Mjg4ZTU1NmQ3NjhlYjIyYmQ2ZTQyNmY. 116.237.74.228 32004 91602c3f;1" INFO:handle_command: new session MGNiMmM5OWE5Mjg4ZTU1NmQ3NjhlYjIyYmQ2ZTQyNmY., tag 91602c3f;1 requested, type strong INFO:handle_command: new session on a port 49824 created, tag 91602c3f;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:32004 DBUG:doreply: sending reply "15244_18 49824 210.13.Y.Z " INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 49824/0 is cleaned up
========Kamailio Log ========================================== AppSer01:ipunity@/var/log$ tail -f kamailio.log |grep nathelper 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49092 210.13.Y.Z 2(15245) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 2(15245) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 2(15245) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 2(15245) ERROR: nathelper [nathelper.c:3144]: no available proxies 4(15247) ERROR: nathelper [nathelper.c:2627]: no available proxies 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 4(15247) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 41750 210.13.Y.Z 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 3(15246) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 3(15246) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 2(15245) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 2(15245) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49698 210.13.Y.Z 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 3(15246) ERROR: nathelper [nathelper.c:2627]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 1(15244) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49824 210.13.Y.Z 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 4(15247) ERROR: nathelper [nathelper.c:2627]: no available proxies =============END of Nathelper log ==
From: kevin.jzh@hotmail.com To: miconda@gmail.com CC: sr-users@lists.sip-router.org Subject: RE: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Date: Thu, 29 Jul 2010 01:13:00 +0800
Hi Daniel,
Here is the debug message related to nethelper in the kamailio log: The proxy is circling btw enabled and disabled, what could be the cause?
4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies 2(15245) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 46634 210.13.x.y 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies 2(15245) ERROR: nathelper [nathelper.c:2627]: no available proxies 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
From: kevin.jzh@hotmail.com To: miconda@gmail.com CC: sr-users@lists.sip-router.org Subject: RE: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Date: Wed, 28 Jul 2010 19:42:27 +0800
Hi,
Yes, I changed the kamailio config as well, but didn't see any packet from Kamailio on the port. And the error message is as following:
WARNING: tm [uac.c:111]: Warning: uac does not spread across the whole hash table ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
Hi Daniel,
Thanks for your advice.
I got the logs at the kamailio startup and the a call:
nathelper.so] 0(19400) DEBUG: <core> [sr_module.c:871]: DEBUG: init_mod: nathelper 0(19400) DEBUG: nathelper [nathelper.c:633]: url is udp:127.0.0.1:7722, len is 18 0(19400) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (-127): nathelper 1(19401) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (1): nathelper 1(19401) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 2(19402) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (2): nathelper 2(19402) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 3(19403) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (3): nathelper 3(19403) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 4(19404) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (4): nathelper 4(19404) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 5(19405) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (-1): nathelper 5(19405) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 6(19406) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (-1): nathelper 6(19406) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 0(19400) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (0): nathelper 8(19408) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (-2): nathelper 9(19409) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (-1): nathelper 9(19409) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 10(19410) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (5): nathelper 10(19410) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 11(19411) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (6): nathelper 11(19411) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 12(19412) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (7): nathelper 12(19412) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 13(19413) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (8): nathelper 13(19413) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it enabled 14(19414) DEBUG: <core> [sr_module.c:807]: DEBUG: init_mod_child (-4): nathelper 2(19402) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 2(19402) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 48590 210.13.X.Y 4(19404) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(19404) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(19404) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(19404) ERROR: nathelper [nathelper.c:3144]: no available proxies 4(19404) ERROR: nathelper [nathelper.c:2627]: no available proxies AppSer01:ipunity@/var/log$ AppSer01:ipunity@/var/log$
AppSer01:root@/$ /usr/local/bin/rtpproxy -f -u kamailio -l 210.13.X.Y -d DBUG -s udp:localhost:7722 INFO:main: rtpproxy started, pid 19177 DBUG:handle_command: received command "19401_0 V" DBUG:doreply: sending reply "19401_0 20040107 " DBUG:handle_command: received command "19401_1 VF 20050322" DBUG:doreply: sending reply "19401_1 1 " DBUG:handle_command: received command "19401_2 VF 20071116" DBUG:doreply: sending reply "19401_2 1 " DBUG:handle_command: received command "19402_0 V" DBUG:doreply: sending reply "19402_0 20040107 " DBUG:handle_command: received command "19402_1 VF 20050322" DBUG:doreply: sending reply "19402_1 1 " DBUG:handle_command: received command "19402_2 VF 20071116" DBUG:doreply: sending reply "19402_2 1 " DBUG:handle_command: received command "19401_3 VF 20081102" DBUG:doreply: sending reply "19401_3 1 " DBUG:handle_command: received command "19403_0 V" DBUG:doreply: sending reply "19403_0 20040107 " DBUG:handle_command: received command "19403_1 VF 20050322" DBUG:doreply: sending reply "19403_1 1 " DBUG:handle_command: received command "19403_2 VF 20071116" DBUG:doreply: sending reply "19403_2 1 " DBUG:handle_command: received command "19402_3 VF 20081102" DBUG:doreply: sending reply "19402_3 1 " DBUG:handle_command: received command "19403_3 VF 20081102" DBUG:doreply: sending reply "19403_3 1 " DBUG:handle_command: received command "19404_0 V" DBUG:doreply: sending reply "19404_0 20040107 " DBUG:handle_command: received command "19404_1 VF 20050322" DBUG:doreply: sending reply "19404_1 1 " DBUG:handle_command: received command "19404_2 VF 20071116" DBUG:doreply: sending reply "19404_2 1 " DBUG:handle_command: received command "19404_3 VF 20081102" DBUG:doreply: sending reply "19404_3 1 " DBUG:handle_command: received command "19405_0 V" DBUG:doreply: sending reply "19405_0 20040107 " DBUG:handle_command: received command "19405_1 VF 20050322" DBUG:doreply: sending reply "19405_1 1 " DBUG:handle_command: received command "19405_2 VF 20071116" DBUG:doreply: sending reply "19405_2 1 " DBUG:handle_command: received command "19405_3 VF 20081102" DBUG:doreply: sending reply "19405_3 1 " DBUG:handle_command: received command "19406_0 V" DBUG:doreply: sending reply "19406_0 20040107 " DBUG:handle_command: received command "19406_1 VF 20050322" DBUG:doreply: sending reply "19406_1 1 " DBUG:handle_command: received command "19406_2 VF 20071116" DBUG:doreply: sending reply "19406_2 1 " DBUG:handle_command: received command "19406_3 VF 20081102" DBUG:doreply: sending reply "19406_3 1 " DBUG:handle_command: received command "19409_0 V" DBUG:doreply: sending reply "19409_0 20040107 " DBUG:handle_command: received command "19409_1 VF 20050322" DBUG:doreply: sending reply "19409_1 1 " DBUG:handle_command: received command "19409_2 VF 20071116" DBUG:doreply: sending reply "19409_2 1 " DBUG:handle_command: received command "19410_0 V" DBUG:doreply: sending reply "19410_0 20040107 " DBUG:handle_command: received command "19410_1 VF 20050322" DBUG:doreply: sending reply "19410_1 1 " DBUG:handle_command: received command "19410_2 VF 20071116" DBUG:doreply: sending reply "19410_2 1 " DBUG:handle_command: received command "19409_3 VF 20081102" DBUG:doreply: sending reply "19409_3 1 " DBUG:handle_command: received command "19410_3 VF 20081102" DBUG:doreply: sending reply "19410_3 1 " DBUG:handle_command: received command "19411_0 V" DBUG:doreply: sending reply "19411_0 20040107 " DBUG:handle_command: received command "19411_1 VF 20050322" DBUG:doreply: sending reply "19411_1 1 " DBUG:handle_command: received command "19411_2 VF 20071116" DBUG:doreply: sending reply "19411_2 1 " DBUG:handle_command: received command "19411_3 VF 20081102" DBUG:doreply: sending reply "19411_3 1 " DBUG:handle_command: received command "19412_0 V" DBUG:doreply: sending reply "19412_0 20040107 " DBUG:handle_command: received command "19412_1 VF 20050322" DBUG:doreply: sending reply "19412_1 1 " DBUG:handle_command: received command "19412_2 VF 20071116" DBUG:doreply: sending reply "19412_2 1 " DBUG:handle_command: received command "19412_3 VF 20081102" DBUG:doreply: sending reply "19412_3 1 " DBUG:handle_command: received command "19413_0 V" DBUG:doreply: sending reply "19413_0 20040107 " DBUG:handle_command: received command "19413_1 VF 20050322" DBUG:doreply: sending reply "19413_1 1 " DBUG:handle_command: received command "19413_2 VF 20071116" DBUG:doreply: sending reply "19413_2 1 " DBUG:handle_command: received command "19413_3 VF 20081102" DBUG:doreply: sending reply "19413_3 1 " DBUG:handle_command: received command "19402_4 Uc18,101 NzQ3YWU0MTcxOGYzY2EwYjUwYTUyNWY3NzU0YzBiNmM. 116.237.74.228 5756 f41c0c28;1" INFO:handle_command: new session NzQ3YWU0MTcxOGYzY2EwYjUwYTUyNWY3NzU0YzBiNmM., tag f41c0c28;1 requested, type strong INFO:handle_command: new session on a port 48590 created, tag f41c0c28;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:5756 DBUG:doreply: sending reply "19402_4 48590 210.13.X.Y"
INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 48590/0 is cleaned up
Thanks,
Kevin
Date: Fri, 6 Aug 2010 12:03:39 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
the commands for starting new sessions happen during calls, is the log from starting kamailio is or taken during testing with calls?
Is the rtpproxy used by many instance or just by one?
I suggest you take the log only at the time you start kamailio so we know exactly what is printed at that time.
Cheers, Daniel
On 8/4/10 3:13 AM, KevinJin wrote:
Hi Daniel,
I have run the RTPProxy in debug model and get the following log, seems rtpproxy is responsding however nathelper is still disable it. Please help what's wrong here.
Thanks, Kevin =======RTPProxy Log == Y.Z replaces the real IP====================== AppSer01:root@/$ /usr/local/bin/rtpproxy -f -u kamailio -l 210.13.Y.Z -d DBUG -s udp:localhost:7722 INFO:main: rtpproxy started, pid 28528 DBUG:handle_command: received command "15244_8 Uc18,101 OTIwMjRiMzYyZDU4ZjlkZDM3NWVmOWEwNmRlNjgyYzk. 116.237.74.228 53370 4729f84d;1" INFO:handle_command: new session OTIwMjRiMzYyZDU4ZjlkZDM3NWVmOWEwNmRlNjgyYzk., tag 4729f84d;1 requested, type strong INFO:handle_command: new session on a port 49092 created, tag 4729f84d;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:53370 DBUG:doreply: sending reply "15244_8 49092 210.13.Y.Z "
INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 49092/0 is cleaned up DBUG:handle_command: received command "15247_10 V" DBUG:doreply: sending reply "15247_10 20040107 " DBUG:handle_command: received command "15247_11 VF 20050322" DBUG:doreply: sending reply "15247_11 1 " DBUG:handle_command: received command "15247_12 VF 20071116" DBUG:doreply: sending reply "15247_12 1 " DBUG:handle_command: received command "15247_13 VF 20081102" DBUG:doreply: sending reply "15247_13 1 " DBUG:handle_command: received command "15247_14 Uc18,101 YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI. 116.237.74.228 22894 963ae84b;1" INFO:handle_command: new session YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI., tag 963ae84b;1 requested, type strong INFO:handle_command: new session on a port 41750 created, tag 963ae84b;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:22894 DBUG:doreply: sending reply "15247_14 41750 210.13.Y.Z " INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 41750/0 is cleaned up DBUG:handle_command: received command "15244_9 V" DBUG:doreply: sending reply "15244_9 20040107 " DBUG:handle_command: received command "15244_10 VF 20050322" DBUG:doreply: sending reply "15244_10 1 " DBUG:handle_command: received command "15244_11 VF 20071116" DBUG:doreply: sending reply "15244_11 1 " DBUG:handle_command: received command "15244_12 VF 20081102" DBUG:doreply: sending reply "15244_12 1 " DBUG:handle_command: received command "15244_13 D YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI. 3e596861-67d7-4c23-bd53-0a7c96e229bd 963ae84b" INFO:handle_command: delete request failed: session YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI., tags 3e596861-67d7-4c23-bd53-0a7c96e229bd/963ae84b not found DBUG:doreply: sending reply "15244_13 E8 "
DBUG:handle_command: received command "15245_19 Uc18,101 ZjA1MDlhOTZkMmI3NjZiMDIwNDY2Mjc4ZWFhMzQzNGQ. 116.237.74.228 49292 3f4f367e;1" INFO:handle_command: new session ZjA1MDlhOTZkMmI3NjZiMDIwNDY2Mjc4ZWFhMzQzNGQ., tag 3f4f367e;1 requested, type strong INFO:handle_command: new session on a port 49698 created, tag 3f4f367e;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:49292 DBUG:doreply: sending reply "15245_19 49698 210.13.Y.Z " INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 49698/0 is cleaned up DBUG:handle_command: received command "15244_14 V" DBUG:doreply: sending reply "15244_14 20040107 " DBUG:handle_command: received command "15244_15 VF 20050322" DBUG:doreply: sending reply "15244_15 1 " DBUG:handle_command: received command "15244_16 VF 20071116" DBUG:doreply: sending reply "15244_16 1 " DBUG:handle_command: received command "15244_17 VF 20081102" DBUG:doreply: sending reply "15244_17 1 " DBUG:handle_command: received command "15244_18 Uc18,101 MGNiMmM5OWE5Mjg4ZTU1NmQ3NjhlYjIyYmQ2ZTQyNmY. 116.237.74.228 32004 91602c3f;1" INFO:handle_command: new session MGNiMmM5OWE5Mjg4ZTU1NmQ3NjhlYjIyYmQ2ZTQyNmY., tag 91602c3f;1 requested, type strong INFO:handle_command: new session on a port 49824 created, tag 91602c3f;1 INFO:handle_command: pre-filling caller's address with 116.237.74.228:32004 DBUG:doreply: sending reply "15244_18 49824 210.13.Y.Z " INFO:process_rtp: session timeout INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped INFO:remove_session: session on ports 49824/0 is cleaned up
========Kamailio Log ========================================== AppSer01:ipunity@/var/log$ tail -f kamailio.log |grep nathelper 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49092 210.13.Y.Z 2(15245) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 2(15245) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 2(15245) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 2(15245) ERROR: nathelper [nathelper.c:3144]: no available proxies 4(15247) ERROR: nathelper [nathelper.c:2627]: no available proxies 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 4(15247) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 41750 210.13.Y.Z 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 3(15246) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 3(15246) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 2(15245) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 2(15245) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49698 210.13.Y.Z 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 3(15246) ERROR: nathelper [nathelper.c:2627]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 1(15244) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49824 210.13.Y.Z 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 4(15247) ERROR: nathelper [nathelper.c:2627]: no available proxies =============END of Nathelper log ==
From: kevin.jzh@hotmail.com To: miconda@gmail.com CC: sr-users@lists.sip-router.org Subject: RE: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Date: Thu, 29 Jul 2010 01:13:00 +0800
Hi Daniel,
Here is the debug message related to nethelper in the kamailio log: The proxy is circling btw enabled and disabled, what could be the cause?
4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies 2(15245) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:127.0.0.1:7722 found, support for it re-enabled 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 46634 210.13.x.y 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 4(15247) ERROR: nathelper [nathelper.c:2492]: proxy udp:127.0.0.1:7722 does not respond, disable it 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies 2(15245) ERROR: nathelper [nathelper.c:2627]: no available proxies 4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies 3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 3(15246) ERROR: nathelper [nathelper.c:3144]: no available proxies 1(15244) ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
From: kevin.jzh@hotmail.com To: miconda@gmail.com CC: sr-users@lists.sip-router.org Subject: RE: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Date: Wed, 28 Jul 2010 19:42:27 +0800
Hi,
Yes, I changed the kamailio config as well, but didn't see any packet from Kamailio on the port. And the error message is as following:
WARNING: tm [uac.c:111]: Warning: uac does not spread across the whole hash table ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it ERROR: nathelper [nathelper.c:3144]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
Hi Daniel,
What does the log below means? Does it mean nathelper has issue to send the request to RTP proxy first or nathelper doesn't receive a response after sending a request to the rtp proxy?
0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 0(27429) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it
There's no problem for the resource(CPU, mem etc.) on the server, the load is very low.
Thanks in advance!
----------
0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:210.13.124.15:7722 found, support for it re-enabled 0(27429) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 42040 210.13.124.14 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 0(27429) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks,
Kevin
Hello,
On 8/12/10 4:47 PM, KevinJin wrote:
Hi Daniel,
What does the log below means? Does it mean nathelper has issue to send the request to RTP proxy first or nathelper doesn't receive a response after sending a request to the rtp proxy? 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy
this error is printed when write to socket fails. Do you have any firewall running on the system? Is the user under which kamailio runs allowed to write to sockets?
You can edit module_k/nathelper/nathelper.c and replace the line 2457 with:
LM_ERR("can't send command to a RTP proxy (%s/%d)\n", strerror(errno), errno);
Recompile and reinstall. Hopefully will get more hints about what happens.
Cheers, Daniel
0(27429) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it
There's no problem for the resource(CPU, mem etc.) on the server, the load is very low.
Thanks in advance!
0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:210.13.124.15:7722 found, support for it re-enabled 0(27429) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 42040 210.13.124.14 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 0(27429) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
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
Hello,
Date: Thu, 12 Aug 2010 18:46:19 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
On 8/12/10 4:47 PM, KevinJin wrote:
Hi Daniel,
What does the log below means? Does it mean nathelper has issue to send the request to RTP proxy first or nathelper doesn't receive a response after sending a request to the rtp proxy? 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy
this error is printed when write to socket fails. Do you have any firewall running on the system? Is the user under which kamailio runs allowed to write to sockets?
There's no firewall on the system, and I run the kamailio as root, root 26310 1 0 02:24:19 ? 0:00 /usr/local/kamailio-3.0.2/sbin/kamailio -f /usr/local/kamailio-3.0.2/etc/kamail
You can edit module_k/nathelper/nathelper.c and replace the line 2457 with:
LM_ERR("can't send command to a RTP proxy (%s/%d)\n", strerror(errno), errno);
Recompile and reinstall. Hopefully will get more hints about what happens.
Here is the error message after the change: 2(26312) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy(Invalid argument/22) 2(26312) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it 2(26312) ERROR: nathelper [nathelper.c:3144]: no available proxies what could be the cause?
Test env:
UA1 (Behind NAT) --------> Kamailio & RTPproxy (Public IP) --------->UA2 (Public IP)
Thanks,
Kevin Cheers, Daniel
0(27429) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it
There's no problem for the resource(CPU, mem etc.) on the server, the load is very low.
Thanks in advance! ---------- 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:210.13.124.15:7722 found, support for it re-enabled 0(27429) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 42040 210.13.124.14 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 0(27429) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
_______________________________________________ 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
Hello,
On 8/12/10 8:34 PM, KevinJin wrote:
Hello,
Date: Thu, 12 Aug 2010 18:46:19 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
On 8/12/10 4:47 PM, KevinJin wrote:
Hi Daniel, What does the log below means? Does it mean nathelper has issue to send the request to RTP proxy first or nathelper doesn't receive a response after sending a request to the rtp proxy? 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy
this error is printed when write to socket fails. Do you have any firewall running on the system? Is the user under which kamailio runs allowed to write to sockets?
There's no firewall on the system, and I run the kamailio as root, root 26310 1 0 02:24:19 ? 0:00 /usr/local/kamailio-3.0.2/sbin/kamailio -f /usr/local/kamailio-3.0.2/etc/kamail You can edit module_k/nathelper/nathelper.c and replace the line 2457 with: LM_ERR("can't send command to a RTP proxy (%s/%d)\n", strerror(errno), errno); Recompile and reinstall. Hopefully will get more hints about what happens.
Here is the error message after the change: 2(26312) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy(Invalid argument/22) 2(26312) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it 2(26312) ERROR: nathelper [nathelper.c:3144]: no available proxies what could be the cause?
hmm, invalid argurment ... try with this line:
LM_ERR("can't send command to a RTP proxy (%s/%d) [sock %d (%d), vcnt %d]\n", strerror(errno), errno, rtpp_socks[node->idx], node->idx, vcnt);
maybe will give some hints about which value is invalid.
Can you try as well with an unix file socket:
modparam("nathelper", "rtpproxy_sock", "unix:/tmp/rtpproxy.sock")
then start rtpproxy with -s unix:/tmp/rtpproxy.sock
I have no solaris (sparc) to try myself...
Cheers, Daniel
Test env: UA1 (Behind NAT) --------> Kamailio & RTPproxy (Public IP) --------->UA2 (Public IP)
Thanks, Kevin Cheers, Daniel
0(27429) ERROR: nathelper [nathelper.c:2492]: proxy <udp:210.13.124.15:7722> does not respond, disable it There's no problem for the resource(CPU, mem etc.) on the server, the load is very low. Thanks in advance! ---------- 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) INFO: nathelper [nathelper.c:2369]: rtp proxy <udp:210.13.124.15:7722> found, support for it re-enabled 0(27429) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 42040 210.13.124.14 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 0(27429) ERROR: nathelper [nathelper.c:2492]: proxy <udp:210.13.124.15:7722> does not respond, disable it 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies Thanks, Kevin ------------------------------------------------------------------------ _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://www.asipto.com/
Hello,
Date: Thu, 12 Aug 2010 22:16:18 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
On 8/12/10 8:34 PM, KevinJin wrote:
Hello,
Date: Thu, 12 Aug 2010 18:46:19 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
On 8/12/10 4:47 PM, KevinJin wrote:
Hi Daniel,
What does the log below means? Does it mean nathelper has issue to send the request to RTP proxy first or nathelper doesn't receive a response after sending a request to the rtp proxy? 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy this error is printed when write to socket fails. Do you have any firewall running on the system? Is the user under which kamailio runs allowed to write to sockets?
There's no firewall on the system, and I run the kamailio as root, root 26310 1 0 02:24:19 ? 0:00 /usr/local/kamailio-3.0.2/sbin/kamailio -f /usr/local/kamailio-3.0.2/etc/kamail
You can edit module_k/nathelper/nathelper.c and replace the line 2457 with:
LM_ERR("can't send command to a RTP proxy (%s/%d)\n", strerror(errno), errno);
Recompile and reinstall. Hopefully will get more hints about what happens.
Here is the error message after the change: 2(26312) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy(Invalid argument/22) 2(26312) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it 2(26312) ERROR: nathelper [nathelper.c:3144]: no available proxies what could be the cause?
hmm, invalid argurment ... try with this line:
LM_ERR("can't send command to a RTP proxy (%s/%d) [sock %d (%d), vcnt %d]\n", strerror(errno), errno, rtpp_socks[node->idx], node->idx, vcnt);
maybe will give some hints about which value is invalid.
Here's the log after the change:
4(14415) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy (Invalid argument/22) [sock 7 (0), vcnt 18] 4(14415) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it 4(14415) ERROR: nathelper [nathelper.c:3144]: no available proxies
Can you try as well with an unix file socket:
modparam("nathelper", "rtpproxy_sock", "unix:/tmp/rtpproxy.sock")
then start rtpproxy with -s unix:/tmp/rtpproxy.sock
4(17530) INFO: nathelper [nathelper.c:2369]: rtp proxy unix:/tmp/rtpproxy.sock found, support for it re-enabled 3(17529) ERROR: nathelper [nathelper.c:2429]: can't send command to a RTP proxy 3(17529) ERROR: nathelper [nathelper.c:2492]: proxy unix:/tmp/rtpproxy.sock does not respond, disable it 3(17529) ERROR: nathelper [nathelper.c:3144]: no available proxies
Thanks,
Kevin
I have no solaris (sparc) to try myself...
Cheers, Daniel
Test env: UA1 (Behind NAT) --------> Kamailio & RTPproxy (Public IP) --------->UA2 (Public IP)
Thanks, Kevin Cheers, Daniel
0(27429) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it
There's no problem for the resource(CPU, mem etc.) on the server, the load is very low.
Thanks in advance! ---------- 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) INFO: nathelper [nathelper.c:2369]: rtp proxy udp:210.13.124.15:7722 found, support for it re-enabled 0(27429) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 42040 210.13.124.14 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 0(27429) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.124.15:7722 does not respond, disable it 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies
Thanks, Kevin
_______________________________________________ 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
Hello,
please send full log at startup, your snippets include just few lines per process, being mixed from different processes.
Cheers, Daniel
On 8/14/10 3:54 AM, KevinJin wrote:
Hello,
Date: Thu, 12 Aug 2010 22:16:18 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
On 8/12/10 8:34 PM, KevinJin wrote:
Hello, ------------------------------------------------------------------------ Date: Thu, 12 Aug 2010 18:46:19 +0200 From: miconda@gmail.com <mailto:miconda@gmail.com> To: kevin.jzh@hotmail.com <mailto:kevin.jzh@hotmail.com> CC: sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Hello, On 8/12/10 4:47 PM, KevinJin wrote: Hi Daniel, What does the log below means? Does it mean nathelper has issue to send the request to RTP proxy first or nathelper doesn't receive a response after sending a request to the rtp proxy? 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy this error is printed when write to socket fails. Do you have any firewall running on the system? Is the user under which kamailio runs allowed to write to sockets? There's no firewall on the system, and I run the kamailio as root, root 26310 1 0 02:24:19 ? 0:00 /usr/local/kamailio-3.0.2/sbin/kamailio -f /usr/local/kamailio-3.0.2/etc/kamail You can edit module_k/nathelper/nathelper.c and replace the line 2457 with: LM_ERR("can't send command to a RTP proxy (%s/%d)\n", strerror(errno), errno); Recompile and reinstall. Hopefully will get more hints about what happens. Here is the error message after the change: 2(26312) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy(Invalid argument/22) 2(26312) ERROR: nathelper [nathelper.c:2492]: proxy <udp:210.13.124.15:7722> does not respond, disable it 2(26312) ERROR: nathelper [nathelper.c:3144]: no available proxies what could be the cause?
hmm, invalid argurment ... try with this line:
LM_ERR("can't send command to a RTP proxy (%s/%d) [sock %d (%d), vcnt %d]\n", strerror(errno), errno, rtpp_socks[node->idx], node->idx, vcnt);
maybe will give some hints about which value is invalid.
Here's the log after the change: 4(14415) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy (Invalid argument/22) [sock 7 (0), vcnt 18] 4(14415) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it 4(14415) ERROR: nathelper [nathelper.c:3144]: no available proxies
Can you try as well with an unix file socket:
modparam("nathelper", "rtpproxy_sock", "unix:/tmp/rtpproxy.sock")
then start rtpproxy with -s unix:/tmp/rtpproxy.sock
4(17530) INFO: nathelper [nathelper.c:2369]: rtp proxy unix:/tmp/rtpproxy.sock found, support for it re-enabled 3(17529) ERROR: nathelper [nathelper.c:2429]: can't send command to a RTP proxy 3(17529) ERROR: nathelper [nathelper.c:2492]: proxy unix:/tmp/rtpproxy.sock does not respond, disable it 3(17529) ERROR: nathelper [nathelper.c:3144]: no available proxies
Thanks, Kevin
I have no solaris (sparc) to try myself...
Cheers, Daniel
Test env: UA1 (Behind NAT) --------> Kamailio & RTPproxy (Public IP) --------->UA2 (Public IP) Thanks, Kevin Cheers, Daniel 0(27429) ERROR: nathelper [nathelper.c:2492]: proxy <udp:210.13.124.15:7722> does not respond, disable it There's no problem for the resource(CPU, mem etc.) on the server, the load is very low. Thanks in advance! ---------- 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) INFO: nathelper [nathelper.c:2369]: rtp proxy <udp:210.13.124.15:7722> found, support for it re-enabled 0(27429) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 42040 210.13.124.14 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 0(27429) ERROR: nathelper [nathelper.c:2492]: proxy <udp:210.13.124.15:7722> does not respond, disable it 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies Thanks, Kevin ------------------------------------------------------------------------ _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://www.asipto.com/
-- Daniel-Constantin Mierla http://www.asipto.com/
Hello,
please send full log at startup, your snippets include just few lines per process, being mixed from different processes.
Cheers, Daniel
On 8/14/10 3:54 AM, KevinJin wrote:
Hello,
Date: Thu, 12 Aug 2010 22:16:18 +0200 From: miconda@gmail.com To: kevin.jzh@hotmail.com CC: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy
Hello,
On 8/12/10 8:34 PM, KevinJin wrote:
Hello, ------------------------------------------------------------------------ Date: Thu, 12 Aug 2010 18:46:19 +0200 From: miconda@gmail.com <mailto:miconda@gmail.com> To: kevin.jzh@hotmail.com <mailto:kevin.jzh@hotmail.com> CC: sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy Hello, On 8/12/10 4:47 PM, KevinJin wrote: Hi Daniel, What does the log below means? Does it mean nathelper has issue to send the request to RTP proxy first or nathelper doesn't receive a response after sending a request to the rtp proxy? 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy this error is printed when write to socket fails. Do you have any firewall running on the system? Is the user under which kamailio runs allowed to write to sockets? There's no firewall on the system, and I run the kamailio as root, root 26310 1 0 02:24:19 ? 0:00 /usr/local/kamailio-3.0.2/sbin/kamailio -f /usr/local/kamailio-3.0.2/etc/kamail You can edit module_k/nathelper/nathelper.c and replace the line 2457 with: LM_ERR("can't send command to a RTP proxy (%s/%d)\n", strerror(errno), errno); Recompile and reinstall. Hopefully will get more hints about what happens. Here is the error message after the change: 2(26312) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy(Invalid argument/22) 2(26312) ERROR: nathelper [nathelper.c:2492]: proxy <udp:210.13.124.15:7722> does not respond, disable it 2(26312) ERROR: nathelper [nathelper.c:3144]: no available proxies what could be the cause?
hmm, invalid argurment ... try with this line:
LM_ERR("can't send command to a RTP proxy (%s/%d) [sock %d (%d), vcnt %d]\n", strerror(errno), errno, rtpp_socks[node->idx], node->idx, vcnt);
maybe will give some hints about which value is invalid.
Here's the log after the change: 4(14415) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy (Invalid argument/22) [sock 7 (0), vcnt 18] 4(14415) ERROR: nathelper [nathelper.c:2492]: proxy udp:210.13.x.y:7722 does not respond, disable it 4(14415) ERROR: nathelper [nathelper.c:3144]: no available proxies
Can you try as well with an unix file socket:
modparam("nathelper", "rtpproxy_sock", "unix:/tmp/rtpproxy.sock")
then start rtpproxy with -s unix:/tmp/rtpproxy.sock
4(17530) INFO: nathelper [nathelper.c:2369]: rtp proxy unix:/tmp/rtpproxy.sock found, support for it re-enabled 3(17529) ERROR: nathelper [nathelper.c:2429]: can't send command to a RTP proxy 3(17529) ERROR: nathelper [nathelper.c:2492]: proxy unix:/tmp/rtpproxy.sock does not respond, disable it 3(17529) ERROR: nathelper [nathelper.c:3144]: no available proxies
Thanks, Kevin
I have no solaris (sparc) to try myself...
Cheers, Daniel
Test env: UA1 (Behind NAT) --------> Kamailio & RTPproxy (Public IP) --------->UA2 (Public IP) Thanks, Kevin Cheers, Daniel 0(27429) ERROR: nathelper [nathelper.c:2492]: proxy <udp:210.13.124.15:7722> does not respond, disable it There's no problem for the resource(CPU, mem etc.) on the server, the load is very low. Thanks in advance! ---------- 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) INFO: nathelper [nathelper.c:2369]: rtp proxy <udp:210.13.124.15:7722> found, support for it re-enabled 0(27429) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 42040 210.13.124.14 0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type <application/sdp> found valid 0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy 0(27429) ERROR: nathelper [nathelper.c:2492]: proxy <udp:210.13.124.15:7722> does not respond, disable it 0(27429) ERROR: nathelper [nathelper.c:3144]: no available proxies 0(27429) ERROR: nathelper [nathelper.c:2627]: no available proxies Thanks, Kevin ------------------------------------------------------------------------ _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://www.asipto.com/
-- Daniel-Constantin Mierla http://www.asipto.com/