<!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>
the commands for starting new sessions happen during calls, is the log
from starting kamailio is or taken during testing with calls?<br>
<br>
Is the rtpproxy used by many instance or just by one?<br>
<br>
I suggest you take the log only at the time you start kamailio so we
know exactly what is printed at that time.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 8/4/10 3:13 AM, KevinJin wrote:
<blockquote cite="mid:SNT110-W53F544614EC94FCBD9D35AE6AF0@phx.gbl"
 type="cite">
  <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>Hi
Daniel,<br>
&nbsp;<br>
I have run the RTPProxy in debug model and get the following log, seems
rtpproxy is responsding however nathelper is still disable it.<br>
Please help what's wrong here.<br>
&nbsp;<br>
Thanks,<br>
Kevin<br>
=======RTPProxy Log == Y.Z replaces the real IP======================<br>
AppSer01:root@/$&nbsp; /usr/local/bin/rtpproxy -f -u kamailio -l 210.13.Y.Z
-d DBUG -s udp:localhost:7722 <br>
INFO:main: rtpproxy started, pid 28528<br>
DBUG:handle_command: received command "15244_8 Uc18,101
OTIwMjRiMzYyZDU4ZjlkZDM3NWVmOWEwNmRlNjgyYzk. 116.237.74.228 53370
4729f84d;1"<br>
INFO:handle_command: new session
OTIwMjRiMzYyZDU4ZjlkZDM3NWVmOWEwNmRlNjgyYzk., tag 4729f84d;1 requested,
type strong<br>
INFO:handle_command: new session on a port 49092 created, tag 4729f84d;1<br>
INFO:handle_command: pre-filling caller's address with
116.237.74.228:53370<br>
DBUG:doreply: sending reply "15244_8 49092 210.13.Y.Z<br>
"<br>
  <br>
INFO:process_rtp: session timeout<br>
INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped<br>
INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped<br>
INFO:remove_session: session on ports 49092/0 is cleaned up<br>
DBUG:handle_command: received command "15247_10 V"<br>
DBUG:doreply: sending reply "15247_10 20040107<br>
"<br>
DBUG:handle_command: received command "15247_11 VF 20050322"<br>
DBUG:doreply: sending reply "15247_11 1<br>
"<br>
DBUG:handle_command: received command "15247_12 VF 20071116"<br>
DBUG:doreply: sending reply "15247_12 1<br>
"<br>
DBUG:handle_command: received command "15247_13 VF 20081102"<br>
DBUG:doreply: sending reply "15247_13 1<br>
"<br>
DBUG:handle_command: received command "15247_14 Uc18,101
YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI. 116.237.74.228 22894
963ae84b;1"<br>
INFO:handle_command: new session
YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI., tag 963ae84b;1 requested,
type strong<br>
INFO:handle_command: new session on a port 41750 created, tag 963ae84b;1<br>
INFO:handle_command: pre-filling caller's address with
116.237.74.228:22894<br>
DBUG:doreply: sending reply "15247_14 41750 210.13.Y.Z<br>
"<br>
INFO:process_rtp: session timeout<br>
INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped<br>
INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped<br>
INFO:remove_session: session on ports 41750/0 is cleaned up<br>
DBUG:handle_command: received command "15244_9 V"<br>
DBUG:doreply: sending reply "15244_9 20040107<br>
"<br>
DBUG:handle_command: received command "15244_10 VF 20050322"<br>
DBUG:doreply: sending reply "15244_10 1<br>
"<br>
DBUG:handle_command: received command "15244_11 VF 20071116"<br>
DBUG:doreply: sending reply "15244_11 1<br>
"<br>
DBUG:handle_command: received command "15244_12 VF 20081102"<br>
DBUG:doreply: sending reply "15244_12 1<br>
"<br>
DBUG:handle_command: received command "15244_13 D
YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI.
3e596861-67d7-4c23-bd53-0a7c96e229bd 963ae84b"<br>
INFO:handle_command: delete request failed: session
YmYwNWNhM2RiYzM0MmQ4ZTFjMWY0ZjkxMzk1ODkxYTI., tags
3e596861-67d7-4c23-bd53-0a7c96e229bd/963ae84b not found<br>
DBUG:doreply: sending reply "15244_13 E8<br>
"<br>
&nbsp;<br>
DBUG:handle_command: received command "15245_19 Uc18,101
ZjA1MDlhOTZkMmI3NjZiMDIwNDY2Mjc4ZWFhMzQzNGQ. 116.237.74.228 49292
3f4f367e;1"<br>
INFO:handle_command: new session
ZjA1MDlhOTZkMmI3NjZiMDIwNDY2Mjc4ZWFhMzQzNGQ., tag 3f4f367e;1 requested,
type strong<br>
INFO:handle_command: new session on a port 49698 created, tag 3f4f367e;1<br>
INFO:handle_command: pre-filling caller's address with
116.237.74.228:49292<br>
DBUG:doreply: sending reply "15245_19 49698 210.13.Y.Z<br>
"<br>
INFO:process_rtp: session timeout<br>
INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped<br>
INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped<br>
INFO:remove_session: session on ports 49698/0 is cleaned up<br>
DBUG:handle_command: received command "15244_14 V"<br>
DBUG:doreply: sending reply "15244_14 20040107<br>
"<br>
DBUG:handle_command: received command "15244_15 VF 20050322"<br>
DBUG:doreply: sending reply "15244_15 1<br>
"<br>
DBUG:handle_command: received command "15244_16 VF 20071116"<br>
DBUG:doreply: sending reply "15244_16 1<br>
"<br>
DBUG:handle_command: received command "15244_17 VF 20081102"<br>
DBUG:doreply: sending reply "15244_17 1<br>
"<br>
DBUG:handle_command: received command "15244_18 Uc18,101
MGNiMmM5OWE5Mjg4ZTU1NmQ3NjhlYjIyYmQ2ZTQyNmY. 116.237.74.228 32004
91602c3f;1"<br>
INFO:handle_command: new session
MGNiMmM5OWE5Mjg4ZTU1NmQ3NjhlYjIyYmQ2ZTQyNmY., tag 91602c3f;1 requested,
type strong<br>
INFO:handle_command: new session on a port 49824 created, tag 91602c3f;1<br>
INFO:handle_command: pre-filling caller's address with
116.237.74.228:32004<br>
DBUG:doreply: sending reply "15244_18 49824 210.13.Y.Z<br>
"<br>
INFO:process_rtp: session timeout<br>
INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped<br>
INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0
relayed, 0 dropped<br>
INFO:remove_session: session on ports 49824/0 is cleaned up<br>
&nbsp;<br>
========Kamailio Log ==========================================<br>
AppSer01:ipunity@/var/log$ tail -f kamailio.log |grep nathelper<br>
&nbsp;1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;1(15244) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49092
210.13.Y.Z<br>
&nbsp;2(15245) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;2(15245) ERROR: nathelper [nathelper.c:2457]: can't send command to a
RTP proxy<br>
&nbsp;2(15245) ERROR: nathelper [nathelper.c:2492]: proxy
&lt;udp:127.0.0.1:7722&gt; does not respond, disable it<br>
&nbsp;2(15245) ERROR: nathelper [nathelper.c:3144]: no available proxies<br>
&nbsp;4(15247) 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) INFO: nathelper [nathelper.c:2369]: rtp proxy
&lt;udp:127.0.0.1:7722&gt; found, support for it re-enabled<br>
&nbsp;4(15247) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 41750
210.13.Y.Z<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:2457]: can't send command to a
RTP proxy<br>
&nbsp;3(15246) ERROR: nathelper [nathelper.c:2492]: proxy
&lt;udp:127.0.0.1:7722&gt; does not respond, disable it<br>
&nbsp;3(15246) ERROR: nathelper [nathelper.c:3144]: no available proxies<br>
&nbsp;1(15244) INFO: nathelper [nathelper.c:2369]: rtp proxy
&lt;udp:127.0.0.1:7722&gt; found, support for it re-enabled<br>
&nbsp;2(15245) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;2(15245) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49698
210.13.Y.Z<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]: can't send command to a
RTP proxy<br>
&nbsp;4(15247) ERROR: nathelper [nathelper.c:2492]: proxy
&lt;udp:127.0.0.1:7722&gt; does not respond, disable it<br>
&nbsp;4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies<br>
&nbsp;3(15246) ERROR: nathelper [nathelper.c:2627]: no available proxies<br>
&nbsp;1(15244) DEBUG: nathelper [nhelpr_funcs.c:148]: type
&lt;application/sdp&gt; found valid<br>
&nbsp;1(15244) INFO: nathelper [nathelper.c:2369]: rtp proxy
&lt;udp:127.0.0.1:7722&gt; found, support for it re-enabled<br>
&nbsp;1(15244) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 49824
210.13.Y.Z<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]: can't send command to a
RTP proxy<br>
&nbsp;4(15247) ERROR: nathelper [nathelper.c:2492]: proxy
&lt;udp:127.0.0.1:7722&gt; does not respond, disable it<br>
&nbsp;4(15247) ERROR: nathelper [nathelper.c:3144]: no available proxies<br>
&nbsp;4(15247) ERROR: nathelper [nathelper.c:2627]: no available proxies<br>
=============END of Nathelper log ==<br>
&nbsp;<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: Thu, 29 Jul 2010 01:13:00 +0800<br>
  <br>
  <meta name="Generator" content="Microsoft SafeHTML">
  <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{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>
&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="ecxstopSpelling">
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>
  <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>
</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>