[OpenSIPS-Users] Error server error occurred (2/SL) on opensips

Engineer voip forvoip4 at gmail.com
Tue Sep 4 18:35:47 CEST 2012


Hello All,

I am using opensips 1.8 and when i do the calls between two softphones on
local i have this error : *server error occurred (2/SL).*

my server and spftphones have a locals IP

**********
if(method == "CANCEL" || method == "ACK")
        {
                xlog("L_INFO", "method <$rm> New Call <$ci>\n");
                route(14);
        }
***********

route[14]

{

t_on_reply("1");

if(t_check_trans())

{

xlog("L_INFO", "method <$rm> Call <$ci> request leaving server \n");

if(!t_relay())

{

sl_reply_error();

}

}

else

{

xlog("L_INFO", "method <$rm> Call <$ci> dropping mis-routed request.\n");

}

exit;

}
********
onreply_route[1]
{
        xlog("L_INFO", "method <$rm> Call <$ci> nat reply.\n");
        if (status =~ "(18[0-3])|([1-2][0-9][0-9])")
        {
                if (client_nat_test("1"))
                {
                        xlog("L_INFO", "method <$rm> Call <$ci> Test NAT
Positif\n");
                        fix_contact();
                }
        }
        exit;
}

Someone can help me please
-- 

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120904/fd579cb6/attachment.htm>


More information about the Users mailing list