<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
&nbsp;<BR>
Hi All,<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;I have the kamailio configed as below on Solaris 10 (Sparc):<BR>
&nbsp;<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", "sip:pinger@kamailio.org")<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>&nbsp;ipunity&nbsp; 4687&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp; 0 12:58:20 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /usr/local/bin/rtpproxy -l 210.xx.xx.xx -s udp:localhost:7722<BR>
&nbsp;<BR>
AppSer01:ipunity@/opt/ipunity$ netstat -an |grep 7722<BR>127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Idle<BR>127.0.0.1.41509&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>127.0.0.1.41510&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>127.0.0.1.41511&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>127.0.0.1.41512&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>127.0.0.1.41513&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>127.0.0.1.41514&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>127.0.0.1.41515&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>127.0.0.1.41516&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>127.0.0.1.41517&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>127.0.0.1.41518&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>127.0.0.1.41519&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 127.0.0.1.7722&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Connected<BR>
&nbsp;<BR>
However, kamailio is not able to connect the rtpporxy, <BR>
&nbsp;<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 &lt;udp:127.0.0.1:7722&gt; 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 &lt;udp:127.0.0.1:7722&gt; 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>
&nbsp;<BR>
&nbsp;<BR>
Thanks,<BR>
Kevin<BR>                                               <br /><hr />聊天+搜索+邮箱 想要轻松出游,手机MSN帮你搞定! <a href='http://3g.msn.cn/' target='_new'>立刻下载!</a></body>
</html>