<!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 8/12/10 4:47 PM, KevinJin wrote:
<blockquote cite="mid:SNT110-W304E04ABB14FFBFB478657E6970@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
Hi Daniel,<br>
<br>
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?<br>
<font color="#ff0000">0(27429) ERROR: nathelper
[nathelper.c:2457]: can't send command to a RTP proxy<br>
</font></blockquote>
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?<br>
<br>
You can edit module_k/nathelper/nathelper.c and replace the line
2457 with:<br>
<br>
LM_ERR("can't send command to a RTP proxy (%s/%d)\n",
strerror(errno), errno);<br>
<br>
Recompile and reinstall. Hopefully will get more hints about what
happens.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
<blockquote cite="mid:SNT110-W304E04ABB14FFBFB478657E6970@phx.gbl"
type="cite"><font color="#ff0000">0(27429) ERROR: nathelper
[nathelper.c:2492]: proxy <udp:210.13.124.15:7722> does
not respond, disable it<br>
</font><br>
<font color="#ff0000"><font color="#000000">There's no problem for
the resource(CPU, mem etc.) on the server, the load is very
low.</font></font><br>
<br>
<font color="#ff0000"><font color="#000000">Thanks in advance!</font><br>
</font>
----------<br>
0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type
<application/sdp> found valid<br>
0(27429) ERROR: nathelper [nathelper.c:3144]: no available
proxies<br>
0(27429) ERROR: nathelper [nathelper.c:2627]: no available
proxies<br>
0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type
<application/sdp> found valid<br>
0(27429) INFO: nathelper [nathelper.c:2369]: rtp proxy
<udp:210.13.124.15:7722> found, support for it re-enabled<br>
0(27429) DEBUG: nathelper [nathelper.c:3196]: proxy reply: 42040
210.13.124.14<br>
0(27429) DEBUG: nathelper [nhelpr_funcs.c:148]: type
<application/sdp> found valid<br>
0(27429) ERROR: nathelper [nathelper.c:2457]: can't send command
to a RTP proxy<br>
0(27429) ERROR: nathelper [nathelper.c:2492]: proxy
<udp:210.13.124.15:7722> does not respond, disable it<br>
0(27429) ERROR: nathelper [nathelper.c:3144]: no available
proxies<br>
0(27429) ERROR: nathelper [nathelper.c:2627]: no available
proxies<br>
<br>
Thanks,<br>
Kevin<br>
<hr id="stopSpelling">
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</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>