[OpenSIPS-Users] 500 Server error in REGISTER message

Eric Tamme eric at uphreak.com
Tue Mar 17 18:54:32 CET 2015


You are missing the left curly brace after your if statment.... im 
suprised your script runs at all

On 03/17/2015 11:48 AM, Satish Patel wrote:
> Eric,
>
> I found what was the issue, I sent you REGISTER method snippet before, 
> if you look at it, If remove/comment out "sl_reply_error();"  line in 
> following code, it stopped sending 500 Error. Very interesting..  Do 
> you think i need to put that in "curly braces" { } ?
>
>  if (!save("location"))
>                         xlog("L_ERR", "Saving contact failed - M=$rm 
> RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
>                         sl_reply_error();
>
>                 exit;
>         }
>
>
> On Tue, Mar 17, 2015 at 1:27 PM, Satish Patel <satish.txt at gmail.com 
> <mailto:satish.txt at gmail.com>> wrote:
>
>     Even after disabled "siptrace" it is happening. no luck :(
>
>     On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme <eric at uphreak.com
>     <mailto:eric at uphreak.com>> wrote:
>
>         Turn of your sip tracing and see if the issue occurs. Its
>         running some sl_callbacks (which i assume are realated to
>         siptrace).
>
>
>
>         On 03/17/2015 11:19 AM, Satish Patel wrote:
>>         I haven't done anything related "stateless".  also in my
>>         config, i haven't manually specify that 500 error anywhere
>>         where i can doubt.  I don't know from where it is coming.
>>         must be internally from opensips.
>>
>>         On Tue, Mar 17, 2015 at 1:14 PM, Eric Tamme <eric at uphreak.com
>>         <mailto:eric at uphreak.com>> wrote:
>>
>>             Ah - nm, i see it in an sl callback
>>
>>             Mar 17 22:19:01 sip2 /usr/local/opensips-2-head/sbin/opensips[31285]: DBG:sl:sl_reply_error: error text is Server error occurred (1/SL)
>>
>>             ... so are you doing anything statless in your config?  This looks like it might be siptrace related.
>>
>>
>>
>>             On 03/17/2015 11:11 AM, Eric Tamme wrote:
>>>             I do not see the 500 from opensips in this log.
>>>
>>>             On 03/17/2015 11:07 AM, Satish Patel wrote:
>>>>             Here is the debug 4 logs http://pastebin.com/CdPxFrNp
>>>>
>>>>             173.48.111.111  - UA
>>>>             188.79.242.164  - OpenSIPs
>>>>
>>>>             On Tue, Mar 17, 2015 at 12:45 PM, Eric Tamme
>>>>             <eric at uphreak.com <mailto:eric at uphreak.com>> wrote:
>>>>
>>>>                 This is a ladder diagram, not a sip trace.  A
>>>>                 ladder diagram is not useful in this case.
>>>>
>>>>                 Turn your debug up to 4, capture the log of the
>>>>                 register/500 happening and submit a link to the
>>>>                 pastebin.  DO NOT paste the contents into an email.
>>>>
>>>>
>>>>                 _______________________________________________
>>>>                 Users mailing list
>>>>                 Users at lists.opensips.org
>>>>                 <mailto:Users at lists.opensips.org>
>>>>                 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>>
>>>>             _______________________________________________
>>>>             Users mailing list
>>>>             Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>>>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>>             _______________________________________________
>>>             Users mailing list
>>>             Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>             _______________________________________________
>>             Users mailing list
>>             Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>             http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>
>>         _______________________________________________
>>         Users mailing list
>>         Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150317/02482940/attachment-0001.htm>


More information about the Users mailing list