<!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>&nbsp;</div>
      <div>I am using opensips 1.8 and when i do the calls between two
        softphones on local i&nbsp;have this error : <strong>server error
          occurred (2/SL).</strong></div>
      <div>&nbsp;</div>
      <div>my server and spftphones have a locals IP</div>
      <div>&nbsp;</div>
      <div>**********</div>
      <div>if(method == "CANCEL" || method == "ACK")<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog("L_INFO", "method &lt;$rm&gt; New Call
        &lt;$ci&gt;\n");<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; route(14);<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<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 &lt;$rm&gt; Call &lt;$ci&gt; 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 &lt;$rm&gt; Call &lt;$ci&gt; dropping
          mis-routed request.\n"); </p>
        <p>} </p>
        <p>exit; </p>
        <p>} </p>
      </span>********
      <div>onreply_route[1]<br>
        {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog("L_INFO", "method &lt;$rm&gt; Call &lt;$ci&gt; nat
        reply.\n");<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (status =~ "(18[0-3])|([1-2][0-9][0-9])")<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (client_nat_test("1"))<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog("L_INFO", "method &lt;$rm&gt; Call
        &lt;$ci&gt; Test NAT Positif\n");<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fix_contact();<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>
        }<br>
        <br>
      </div>
      <div>Someone can&nbsp;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>