<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi,<br>
<br>
What are the logs from opensips corresponding to the 2/SL reply ?
Usually code 2 indicate an "out of mem" issue.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 09/04/2012 08:35 PM, Engineer voip wrote:
<blockquote
cite="mid:CAA-=Tf9CUWvVS_eCou-=mnYqXAhq3V+6SZFG-7sLSheX1tjztA@mail.gmail.com"
type="cite">
<div>Hello All,</div>
<div> </div>
<div>I am using opensips 1.8 and when i do the calls between two
softphones on local i have this error : <strong>server error
occurred (2/SL).</strong></div>
<div> </div>
<div>my server and spftphones have a locals IP</div>
<div> </div>
<div>**********</div>
<div>if(method == "CANCEL" || method == "ACK")<br>
{<br>
xlog("L_INFO", "method <$rm> New Call
<$ci>\n");<br>
route(14);<br>
}<br>
</div>
<div>***********</div>
<span lang="FR">
<p>route[14] </p>
<p>{ </p>
<p>t_on_reply("1"); </p>
<p>if(t_check_trans()) </p>
<p>{ </p>
<p>xlog("L_INFO", "method <$rm> Call <$ci> request
leaving server \n"); </p>
<p>if(!t_relay()) </p>
<p>{ </p>
<p>sl_reply_error(); </p>
<p>} </p>
<p>} </p>
<p>else </p>
<p>{ </p>
<p>xlog("L_INFO", "method <$rm> Call <$ci> dropping
mis-routed request.\n"); </p>
<p>} </p>
<p>exit; </p>
<p>} </p>
</span>********
<div>onreply_route[1]<br>
{<br>
xlog("L_INFO", "method <$rm> Call <$ci> nat
reply.\n");<br>
if (status =~ "(18[0-3])|([1-2][0-9][0-9])")<br>
{<br>
if (client_nat_test("1"))<br>
{<br>
xlog("L_INFO", "method <$rm> Call
<$ci> Test NAT Positif\n");<br>
fix_contact();<br>
}<br>
}<br>
exit;<br>
}<br>
<br>
</div>
<div>Someone can help me please</div>
<div>-- <br>
<br>
Best Regards<br>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>