<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=GB2312" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
On 7/28/10 7:13 PM, JinKevin wrote:
<blockquote cite="mid:SNT110-W288CD20FA5AF89CB267FDAE6A80@phx.gbl"
 type="cite">
  <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:微软雅黑
}
--></style>Hi
Daniel,<br>
&nbsp;<br>
Here is the debug message related to nethelper in the kamailio log:<br>
The proxy is circling btw enabled and disabled, what could be the cause?<br>
</blockquote>
<br>
can you run rtpproxy in debug mode and see if it prints some error? I
cannot think to something else than network communication problems.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote cite="mid:SNT110-W288CD20FA5AF89CB267FDAE6A80@phx.gbl"
 type="cite">&nbsp;<br>
4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies<br>
&nbsp;1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies<br>
&nbsp;2(15245) INFO: nathelper [nathelper.c:2369]: <font color="#ff0000">rtp
proxy &lt;udp:127.0.0.1:7722&gt; found, support for it re-enabled</font><br>
&nbsp;3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;3(15246) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 46634
210.13.x.y<br>
&nbsp;4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;4(15247) ERROR: nathelper [nathelper.c:2457]: <font color="#ff0000">can't
send command to a RTP proxy<br>
  </font>&nbsp;4(15247) ERROR: nathelper [nathelper.c:2492]: <font
 color="#ff0000">proxy &lt;udp:127.0.0.1:7722&gt; does not respond,
disable it<br>
  </font>&nbsp;4(15247) ERROR: nathelper [nathelper.c:3144]: no available
proxies<br>
&nbsp;1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;1(15244) ERROR: nathelper [nathelper.c:3144]: no available proxies<br>
&nbsp;2(15245) ERROR: nathelper [nathelper.c:2627]: no available proxies<br>
&nbsp;4(15247) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies<br>
&nbsp;3(15246) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;3(15246) ERROR: nathelper [nathelper.c:3144]: no available proxies<br>
&nbsp;1(15244) ERROR: nathelper [nathelper.c:2627]: no available proxies<br>
&nbsp;<br>
Thanks,<br>
Kevin<br>
  <hr id="stopSpelling">
From: <a class="moz-txt-link-abbreviated" href="mailto:kevin.jzh@hotmail.com">kevin.jzh@hotmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
CC: <a class="moz-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>
Date: Wed, 28 Jul 2010 19:42:27 +0800<br>
  <br>
  <meta name="Generator" content="Microsoft SafeHTML">
  <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:微软雅黑;}

  </style>
  <br>
&nbsp;Hi,<br>
&nbsp;<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>
&nbsp;<br>
WARNING: tm [uac.c:111]: Warning: uac does not spread across the whole
hash table&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;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP
proxy&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;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;ERROR: nathelper [nathelper.c:2492]: proxy &lt;udp:210.13.x.y:7722&gt;
does not respond, disable it&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;ERROR: nathelper [nathelper.c:3144]: no available proxies <br>
&nbsp;ERROR: nathelper [nathelper.c:2457]: can't send command to a RTP
proxy&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;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;ERROR: nathelper [nathelper.c:2492]: proxy &lt;udp:210.13.x.y:7722&gt;
does not respond, disable it&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;ERROR: nathelper [nathelper.c:3144]: no available proxies&nbsp;&nbsp;&nbsp; <br>
&nbsp;ERROR: nathelper [nathelper.c:2627]: no available proxies&nbsp;&nbsp;&nbsp; <br>
&nbsp;ERROR: nathelper [nathelper.c:2627]: no available proxies&nbsp;&nbsp;&nbsp; <br>
&nbsp;<br>
Thanks,<br>
Kevin<br>
  <hr id="ecxstopSpelling">
Date: Wed, 28 Jul 2010 10:31:18 +0200<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:kevin.jzh@hotmail.com">kevin.jzh@hotmail.com</a><br>
CC: <a class="moz-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>
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>
&nbsp;<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&nbsp;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">&nbsp;<br>
One more thing like to mention is that I got some error like below:<br>
&nbsp;<br>
if gcc -DHAVE_CONFIG_H -I. -I. -I.&nbsp;&nbsp;&nbsp; -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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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&nbsp;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>
&nbsp;<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 moz-do-not-send="true" 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">&nbsp;<br>
Thanks,<br>
Kevin<br>
    <br>
    <hr id="ecxstopSpelling">
    <br>
Date: Tue, 27 Jul 2010 11:53:21 +0200<br>
From: <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated"
 href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
To: <a moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated"
 href="mailto:kevin.jzh@hotmail.com">kevin.jzh@hotmail.com</a><br>
CC: <a moz-do-not-send="true" 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>
&nbsp;<br>
Anyone has some feedback on this?<br>
&nbsp;<br>
Thanks,<br>
Kevin<br>
&nbsp;<br>
      <hr id="ecxstopSpelling">
      <br>
      <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
      </style>
&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", <a moz-do-not-send="true"
 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>
&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 moz-do-not-send="true"
 href="http://3g.msn.cn/" target="_blank">立刻下载!</a> <br>
      <hr>
使用新一代 Windows Live Messenger 轻松交流和共享! <a moz-do-not-send="true"
 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 moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated"
 href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="ecxmoz-txt-link-freetext"
 href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>
  </pre>
    <br>
    <hr>
使用新一代 Windows Live Messenger 轻松交流和共享! <a moz-do-not-send="true"
 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 moz-do-not-send="true" class="ecxmoz-txt-link-abbreviated"
 href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="ecxmoz-txt-link-freetext"
 href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>