<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:微软雅黑
}
--></style>
</head>
<body class='hmmessage'>
<BR> Hi,<BR>
<BR>
Yes, I changed the kamailio config as well, but didn't see any packet from Kamailio on the port. <BR>
And the error message is as following:<BR>
<BR>
WARNING: tm [uac.c:111]: Warning: uac does not spread across the whole hash table <BR> ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy <BR> ERROR: nathelper [nathelper.c:2492]: proxy <udp:210.13.x.y:7722> does not respond, disable it <BR>
ERROR: nathelper [nathelper.c:3144]: no available proxies <BR> ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP proxy <BR> ERROR: nathelper [nathelper.c:2492]: proxy <udp:210.13.x.y:7722> does not respond, disable it <BR> ERROR: nathelper [nathelper.c:3144]: no available proxies <BR> ERROR: nathelper [nathelper.c:2627]: no available proxies <BR> ERROR: nathelper [nathelper.c:2627]: no available proxies <BR>
<BR>
Thanks,<BR>
Kevin<BR>
<HR id=stopSpelling>
Date: Wed, 28 Jul 2010 10:31:18 +0200<BR>From: miconda@gmail.com<BR>To: kevin.jzh@hotmail.com<BR>CC: sr-users@lists.sip-router.org<BR>Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy<BR><BR>
<META name=Generator content="Microsoft SafeHTML">Hello,<BR><BR>On 7/27/10 4:21 PM, JinKevin wrote:
<BLOCKQUOTE cite=mid:SNT110-W594A3E094E5908CA412262E6A70@phx.gbl>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Hi Daniel,<BR> <BR>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. <BR></BLOCKQUOTE><BR>have you updated kamailio config to send to the other interface as well? What are now the error messages you get from kamailio?<BR><BR>You should see the messages sent by kamailio to rtpproxy...<BR><BR>
<BLOCKQUOTE cite=mid:SNT110-W594A3E094E5908CA412262E6A70@phx.gbl> <BR>One more thing like to mention is that I got some error like below:<BR> <BR>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; \<BR> then mv -f ".deps/rtpp_notify.Tpo" ".deps/rtpp_notify.Po"; else rm -f ".deps/rtpp_notify.Tpo"; exit 1; fi<BR>rtpp_notify.c: In function `reconnect_timeout_handler':<BR>rtpp_notify.c:240: error: `AF_LOCAL' undeclared (first use in this function)<BR>rtpp_notify.c:240: error: (Each undeclared identifier is reported only once<BR>rtpp_notify.c:240: error: for each function it appears in.)<BR>gmake[1]: *** [rtpp_notify.o] Error 1<BR>gmake[1]: Leaving directory `/opt/csw/src/rtpproxy'<BR>gmake: *** [all] Error 2<BR><BR><BR>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.<BR> <BR>#ifndef AF_LOCAL<BR>#define AF_LOCAL AF_UNIX<BR>#endif<BR></BLOCKQUOTE><BR>This is rtpproxy code, perhaps is better to ask on rtpproxy devel list:<BR><A class=ecxmoz-txt-link-freetext href="http://lists.rtpproxy.org/mailman/listinfo/devel" target=_blank>http://lists.rtpproxy.org/mailman/listinfo/devel</A><BR><BR>Cheers,<BR>Daniel<BR><BR>
<BLOCKQUOTE cite=mid:SNT110-W594A3E094E5908CA412262E6A70@phx.gbl> <BR>Thanks,<BR>Kevin<BR><BR>
<HR id=ecxstopSpelling>
<BR>Date: Tue, 27 Jul 2010 11:53:21 +0200<BR>From: <A class=ecxmoz-txt-link-abbreviated href="mailto:miconda@gmail.com">miconda@gmail.com</A><BR>To: <A class=ecxmoz-txt-link-abbreviated href="mailto:kevin.jzh@hotmail.com">kevin.jzh@hotmail.com</A><BR>CC: <A class=ecxmoz-txt-link-abbreviated href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A><BR>Subject: Re: [SR-Users] Kamailio 3.0 cann't access the RTPProxy<BR><BR>Hello,<BR><BR>can you sniff the loopback interface for communication on port 7722 (i.e., using ngrep/wireshark, etc...)?<BR><BR>What is the version of rtppproxy do you have?<BR><BR>Cheers,<BR>Daniel<BR><BR><BR>On 7/27/10 3:58 AM, JinKevin wrote: <BR>
<BLOCKQUOTE cite=mid:SNT110-W551079B8669D0444788746E6A70@phx.gbl>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Guys,<BR> <BR>Anyone has some feedback on this?<BR> <BR>Thanks,<BR>Kevin<BR> <BR>
<HR id=ecxstopSpelling>
<BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
<BR>Hi All,<BR> <BR> <BR> I have the kamailio configed as below on Solaris 10 (Sparc):<BR> <BR># ----- nathelper -----<BR>#!ifdef WITH_NAT<BR>modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:7722")<BR>modparam("nathelper", "natping_interval", 30)<BR>modparam("nathelper", "ping_nated_only", 1)<BR>modparam("nathelper", "sipping_bflag", 7)<BR>modparam("nathelper", "sipping_from", <A class=ecxmoz-txt-link-rfc2396E target=_blank>"sip:pinger@kamailio.org"</A>)<BR>modparam("registrar|nathelper", "received_avp", "$avp(i:80)")<BR>modparam("usrloc", "nat_bflag", 6)<BR>#!endif<BR><BR>and rtpproxy is started as <BR>AppSer01:ipunity@/opt/ipunity$ ps -ef |grep rtp<BR> ipunity 4687 1 0 12:58:20 ? 0:00 /usr/local/bin/rtpproxy -l 210.xx.xx.xx -s udp:localhost:7722<BR> <BR>AppSer01:ipunity@/opt/ipunity$ netstat -an |grep 7722<BR>127.0.0.1.7722 Idle<BR>127.0.0.1.41509 127.0.0.1.7722 Connected<BR>127.0.0.1.41510 127.0.0.1.7722 Connected<BR>127.0.0.1.41511 127.0.0.1.7722 Connected<BR>127.0.0.1.41512 127.0.0.1.7722 Connected<BR>127.0.0.1.41513 127.0.0.1.7722 Connected<BR>127.0.0.1.41514 127.0.0.1.7722 Connected<BR>127.0.0.1.41515 127.0.0.1.7722 Connected<BR>127.0.0.1.41516 127.0.0.1.7722 Connected<BR>127.0.0.1.41517 127.0.0.1.7722 Connected<BR>127.0.0.1.41518 127.0.0.1.7722 Connected<BR>127.0.0.1.41519 127.0.0.1.7722 Connected<BR> <BR>However, kamailio is not able to connect the rtpporxy, <BR> <BR>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<BR>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<BR>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<BR>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<BR>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<BR>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<BR>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<BR>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<BR><BR>Any helps are appreciated.<BR> <BR> <BR>Thanks,<BR>Kevin<BR><BR>
<HR>
聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! <A href="http://3g.msn.cn/" target=_blank>立刻下载!</A> <BR>
<HR>
使用新一代 Windows Live Messenger 轻松交流和共享! <A href="http://www.windowslive.cn/messenger/" target=_blank>立刻下载!</A> <PRE><FIELDSET class=ecxmimeAttachmentHeader></FIELDSET>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<A class=ecxmoz-txt-link-abbreviated href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A>
<A class=ecxmoz-txt-link-freetext href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target=_blank>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</A>
</PRE></BLOCKQUOTE><BR><PRE class=ecxmoz-signature>--
Daniel-Constantin Mierla
<A class=ecxmoz-txt-link-freetext href="http://www.asipto.com/" target=_blank>http://www.asipto.com/</A>
</PRE><BR>
<HR>
使用新一代 Windows Live Messenger 轻松交流和共享! <A href="http://www.windowslive.cn/messenger/" target=_blank>立刻下载!</A> <PRE><FIELDSET class=ecxmimeAttachmentHeader></FIELDSET>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<A class=ecxmoz-txt-link-abbreviated href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A>
<A class=ecxmoz-txt-link-freetext href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target=_blank>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</A>
</PRE></BLOCKQUOTE><BR><PRE class=ecxmoz-signature>--
Daniel-Constantin Mierla
<A class=ecxmoz-txt-link-freetext href="http://www.asipto.com/" target=_blank>http://www.asipto.com/</A>
</PRE>                                            </body>
</html>