[OpenSIPS-Users] ERROR:dialog:dlg_validate_dialog:
I am getting following error in log, I can understand my contact: and Route: values mismatching here. why it is happening? is there a way to get rid on this error? Following is scenario. Only getting error in BYE message. [UA][OpenSIP]---[Freeswitch]-[Opensip]-[SIP Provide] ERROR:dialog:dlg_validate_dialog: failed to validate remote contact: dlg=[sip:16463737221@188.178.235.222:5061;transport=udp] , req=[sip:188.178.235.222;lr;ftag=840e2e35;did=1f4.ca6a6956] I am using fix_route_dialog() in loose_route() if (has_totag()) { # sequential request withing a dialog should # take the path determined by record-routing if (loose_route() || match_dialog()) { if ($DLG_status!=NULL !validate_dialog() ) { xlog( in-dialog bogus request \n); fix_route_dialog(); } xlog(L_INFO, Loose route failed on $hdr(route)\n); if (is_method(BYE)) { #setflag(ACC_DO); # do accounting ... #setflag(ACC_FAILED); # ... even if the transaction fails } else if (is_method(INVITE)) { # even if in most of the cases is useless, do RR for # re-INVITEs alos, as some buggy clients do change route set # during the dialog. record_route(); } if (check_route_param(nat=yes)) setflag(NAT); # route it out to whatever destination was set by loose_route() # in $du (destination URI). route(relay); } else { if ( is_method(ACK) ) { if ( t_check_trans() ) { # non loose-route, but stateful ACK; must be an ACK after # a 487 or e.g. 404 from upstream server xlog(non loose-route section\n); t_relay(); exit; } else { # ACK without matching transaction - # ignore and discard xlog(ACK without matching transaction\n); exit; } } xlog(L_INFO, destination uri after loose_route: $du\n); sl_send_reply(404,Not here); } exit; } ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
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 e...@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 e...@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
Even after disabled siptrace it is happening. no luck :( On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme e...@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 e...@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 e...@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
There's a mismatched curly-brace issue in your configuration. Brace at line 2 matches with brace at line 18. Nothing matches with the closing curly-brace at line 19. I think we are missing a curly-brace at line 15. My two-cents to the OpenSIPS team would be consider verbose curly-braces for the configuration script. Python/C like tab-based indenting might seem to improve readability and keep the code concise, but it introduces these unintended errors. ``` 1 if (is_method(REGISTER)) 2 { 3 # authenticate the REGISTER requests (uncomment to enable auth) 4 ##if (!www_authorize(, subscriber)) 5 ##{ 6 ## www_challenge(, 0); 7 ## exit; 8 ##} 9 ## 10 ##if (!db_check_to()) 11 ##{ 12 ## sl_send_reply(403,Forbidden auth ID); 13 ## exit; 14 ##} 15 if (!save(location)) 16 sl_reply_error(); 17 exit; 18 } 19 } 20 ``` -- Regards, Babil (Golam Sarwar) Skype: gsbabil Phone: +1-470-222-4511 (SMS and voice-mail only) PGP Key Fingerprint : D3A1 EED0 5BA0 72D3 A011 75CB 8EA6 7D99 F433 E92D PGP Key Download URL: http://bit.ly/gsbabil-pgp-key On Tue, Mar 17, 2015 at 11:06 AM Babil (Golam Sarwar) gsba...@gmail.com wrote: There's a mismatched curly-brace issue in your configuration. Brace at line 2 matches with brace at line 18. Nothing matches with the closing curly-brace at line 19. I think we are missing a curly-brace at line 15. My two-cents to the OpenSIPS team would be consider verbose curly-braces for the configuration script. Python/C like tab-based indenting might seem to improve readability and keep the code concise, but it introduces these unintended errors. ``` 1 if (is_method(REGISTER)) 2 { 3 # authenticate the REGISTER requests (uncomment to enable auth) 4 ##if (!www_authorize(, subscriber)) 5 ##{ 6 ## www_challenge(, 0); 7 ## exit; 8 ##} 9 ## 10 ##if (!db_check_to()) 11 ##{ 12 ## sl_send_reply(403,Forbidden auth ID); 13 ## exit; 14 ##} 15 if (!save(location)) 16 sl_reply_error(); 17 exit; 18 } 19 } 20 ``` On 3/17/15 10:52 AM, Satish Patel wrote: I got those code from Book Building Telephony System with OpenSIPS 1.6 Here is the code from book if (is_method(REGISTER)) { # authenticate the REGISTER requests (uncomment to enable auth) ##if (!www_authorize(, subscriber)) ##{ ## www_challenge(, 0); ## exit; ##} ## ##if (!db_check_to()) ##{ ## sl_send_reply(403,Forbidden auth ID); ## exit; ##} if (!save(location)) sl_reply_error(); exit; } } On Tue, Mar 17, 2015 at 1:48 PM, Satish Patel satish@gmail.com mailto:satish@gmail.com 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@gmail.com mailto:satish@gmail.com wrote: Even after disabled siptrace it is happening. no luck :( On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme e...@uphreak.com mailto:e...@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 e...@uphreak.com mailto:e...@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 e...@uphreak.com mailto:e...@uphreak.com wrote: This is a ladder diagram, not a sip trace. A
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
Great! Guys!! here is my rectified code. look like it works, is that correct? 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; } exit; } On Tue, Mar 17, 2015 at 2:13 PM, Eric Tamme e...@uphreak.com wrote: because the if statment does not evailuate true, so it skips the line immediately after it. This is how unbraced functions work. it then continues executing after and sends the error. On 03/17/2015 12:10 PM, Satish Patel wrote: Sorry forgot to post link http://lists.opensips.org/pipermail/users/2012-August/022705.html also interesting thing, I am not seeing xlog in opensips.log, why? if ( 0 ) setflag(TCP_PERSISTENT); if (!save(location)) xlog(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 2:09 PM, Satish Patel satish@gmail.com wrote: I have check on book example and it doesn't have any brace also. just wonder! Look at this link, someone posted link here, even they don't have curly brace On Tue, Mar 17, 2015 at 1:54 PM, Eric Tamme e...@uphreak.com wrote: 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@gmail.com wrote: Even after disabled siptrace it is happening. no luck :( On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme e...@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 e...@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 e...@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
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 e...@uphreak.com mailto:e...@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@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
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@gmail.com wrote: Even after disabled siptrace it is happening. no luck :( On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme e...@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 e...@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 e...@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
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 e...@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
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@gmail.com mailto:satish@gmail.com wrote: Even after disabled siptrace it is happening. no luck :( On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme e...@uphreak.com mailto:e...@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 e...@uphreak.com mailto:e...@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 e...@uphreak.com mailto:e...@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@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
Sorry forgot to post link http://lists.opensips.org/pipermail/users/2012-August/022705.html also interesting thing, I am not seeing xlog in opensips.log, why? if ( 0 ) setflag(TCP_PERSISTENT); if (!save(location)) xlog(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 2:09 PM, Satish Patel satish@gmail.com wrote: I have check on book example and it doesn't have any brace also. just wonder! Look at this link, someone posted link here, even they don't have curly brace On Tue, Mar 17, 2015 at 1:54 PM, Eric Tamme e...@uphreak.com wrote: 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@gmail.com wrote: Even after disabled siptrace it is happening. no luck :( On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme e...@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 e...@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 e...@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] WebSocket Support in OpenSIPS 2.1
Hello, all! Aaand, we're finally making it official: OpenSIPS 2.1 will have *WebSockets* support! Are you planning to use (or perhaps you're already using) WebRTC based SIP clients, but you are having hard time setting up the platform? Starting from now, it has never been simpler - based on your needs and feedback[1] we decided to implement a WebSocket server directly in OpenSIPS. And we're doing it now! Starting with the new OpenSIPS 2.1 release you will be able to plug your web-based SIP clients directly in your OpenSIPS server using the new WebSocket transport protocol[2]. We've also setup a short tutorial[3] for you to integrate this feature in your platform easier. Many thanks to Eric Tamme (lirakis) for all his help with the tutorial as well as for the intensive tests. [1] http://www.opensips.org/Community/IRCmeeting20141029 [2] http://www.opensips.org/html/docs/modules/2.1.x/proto_ws [3] http://www.opensips.org/Documentation/Tutorials-WebSocket-2-1 Best regards, -- Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
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 e...@uphreak.com mailto:e...@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 e...@uphreak.com mailto:e...@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@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
I got those code from Book Building Telephony System with OpenSIPS 1.6 Here is the code from book if (is_method(REGISTER)) { # authenticate the REGISTER requests (uncomment to enable auth) ##if (!www_authorize(, subscriber)) ##{ ## www_challenge(, 0); ## exit; ##} ## ##if (!db_check_to()) ##{ ## sl_send_reply(403,Forbidden auth ID); ## exit; ##} if (!save(location)) sl_reply_error(); exit; } } On Tue, Mar 17, 2015 at 1:48 PM, Satish Patel satish@gmail.com 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@gmail.com wrote: Even after disabled siptrace it is happening. no luck :( On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme e...@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 e...@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 e...@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
I have check on book example and it doesn't have any brace also. just wonder! Look at this link, someone posted link here, even they don't have curly brace On Tue, Mar 17, 2015 at 1:54 PM, Eric Tamme e...@uphreak.com wrote: 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@gmail.com wrote: Even after disabled siptrace it is happening. no luck :( On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme e...@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 e...@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 e...@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
If you have more than one statements to be executed under an if condition it should have an open curly at the start of the statement and a close curly at the end of the statement. If there is no curly in the book, then thats wrong. On Tuesday, 17 March 2015, Satish Patel satish@gmail.com wrote: I have check on book example and it doesn't have any brace also. just wonder! Look at this link, someone posted link here, even they don't have curly brace On Tue, Mar 17, 2015 at 1:54 PM, Eric Tamme e...@uphreak.com javascript:_e(%7B%7D,'cvml','e...@uphreak.com'); wrote: 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@gmail.com javascript:_e(%7B%7D,'cvml','satish@gmail.com'); wrote: Even after disabled siptrace it is happening. no luck :( On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme e...@uphreak.com javascript:_e(%7B%7D,'cvml','e...@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 e...@uphreak.com javascript:_e(%7B%7D,'cvml','e...@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 e...@uphreak.com javascript:_e(%7B%7D,'cvml','e...@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@lists.opensips.org javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org'); http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listus...@lists.opensips.org javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org');http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listus...@lists.opensips.org javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org');http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org'); http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listus...@lists.opensips.org javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org');http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org'); http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listus...@lists.opensips.org javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org');http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org'); http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Sent from iPhone 6 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
because the if statment does not evailuate true, so it skips the line immediately after it. This is how unbraced functions work. it then continues executing after and sends the error. On 03/17/2015 12:10 PM, Satish Patel wrote: Sorry forgot to post link http://lists.opensips.org/pipermail/users/2012-August/022705.html also interesting thing, I am not seeing xlog in opensips.log, why? if ( 0 ) setflag(TCP_PERSISTENT); if (!save(location)) xlog(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 2:09 PM, Satish Patel satish@gmail.com mailto:satish@gmail.com wrote: I have check on book example and it doesn't have any brace also. just wonder! Look at this link, someone posted link here, even they don't have curly brace On Tue, Mar 17, 2015 at 1:54 PM, Eric Tamme e...@uphreak.com mailto:e...@uphreak.com wrote: 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@gmail.com mailto:satish@gmail.com wrote: Even after disabled siptrace it is happening. no luck :( On Tue, Mar 17, 2015 at 1:20 PM, Eric Tamme e...@uphreak.com mailto:e...@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 e...@uphreak.com mailto:e...@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 e...@uphreak.com mailto:e...@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@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org
Re: [OpenSIPS-Users] WebSocket Support in OpenSIPS 2.1
Thanks, great news! On Mar 17, 2015 3:00 PM, Răzvan Crainea raz...@opensips.org wrote: Hello, all! Aaand, we're finally making it official: OpenSIPS 2.1 will have *WebSockets* support! Are you planning to use (or perhaps you're already using) WebRTC based SIP clients, but you are having hard time setting up the platform? Starting from now, it has never been simpler - based on your needs and feedback[1] we decided to implement a WebSocket server directly in OpenSIPS. And we're doing it now! Starting with the new OpenSIPS 2.1 release you will be able to plug your web-based SIP clients directly in your OpenSIPS server using the new WebSocket transport protocol[2]. We've also setup a short tutorial[3] for you to integrate this feature in your platform easier. Many thanks to Eric Tamme (lirakis) for all his help with the tutorial as well as for the intensive tests. [1] http://www.opensips.org/Community/IRCmeeting20141029 [2] http://www.opensips.org/html/docs/modules/2.1.x/proto_ws [3] http://www.opensips.org/Documentation/Tutorials-WebSocket-2-1 Best regards, -- Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
I have set debug level 9 but still not seeing any 500 in logs debug=9 log_stderror=no log_facility=LOG_LOCAL7 On Tue, Mar 17, 2015 at 1:11 PM, Eric Tamme e...@uphreak.com 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 e...@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
Can you please provide a sip trace. Who is sending the 500? Your media server? T ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] SIP/2.0 477 Send failed (477/TM) - Route
Hello, I'm receiving the following message when a try to place a call: SIP/2.0 477 Send failed (477/TM) This is desired issue because the callee UA is not online and in userloc it is not expired yet. My question is, which would be the process or the route this event (477 Send failed) is processed? I've tried to log on failure_route, onreply_route and even on branch_route but it was unsuccessful. Thanks a lot, Leo -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/SIP-2-0-477-Send-failed-477-TM-Route-tp7595929.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
Following is trace, OpenSIPs sending 500 to UA ( SIP Phone), Here is the pastebin. http://pastebin.com/UPhNVSGZ [SIP-Phone][OpenSIP Proxy] 11:33:21.331372 │ REGISTER │ ▒ │ ── │ ▒ 11:33:21.331515 │ 401 Unauthorized │ ▒ │ ── │ ▒ 11:33:21.331520 │ 401 Unauthorized │ ▒ │ │ ▒ 11:33:21.434248 │ REGISTER │ ▒ │ ── │ ▒ 11:33:21.434499 │ 200 OK│ ▒ │ ── │ ▒ 11:33:21.434504 │ 200 OK│ ▒ │ │ ▒ 11:33:21.434518 │ 500 Server error occurred │ ▒ │ ── │ ▒ 11:33:21.434520 │ 500 Server error occurred │ ▒ │ │ ▒ 11:33:21.546953 │ REGISTER │ ▒ │ ── │ ▒ 11:33:21.547265 │ 401 Unauthorized │ ▒ │ ── │ ▒ 11:33:21.547267 │ 401 Unauthorized │ ▒ │ │ ▒ 11:33:21.644232 │ REGISTER │ ▒ │ ── │ ▒ 11:33:21.644437 │ 200 OK│ ▒ │ ── │ ▒ 11:33:21.62 │ 200 OK│ ▒ │ │ ▒ 11:33:21.644452 │ 500 Server error occurred │ ▒ │ ── │ ▒ 11:33:21.644455 │ 500 Server error occurred │ ▒ │ │ ▒ 11:33:21.747068 │ REGISTER │ ▒ │ ── │ ▒ 11:33:21.747211 │ 401 Unauthorized │ ▒ │ ── │ ▒ 11:33:21.747215 │ 401 Unauthorized │ ▒ │ │ ▒ 11:33:21.847082 │ REGISTER │ │ │ ── │ │ 11:33:21.847256 │ 200 OK│ │ │ ── │ │ 11:33:21.847261 │ 200 OK│ On Tue, Mar 17, 2015 at 12:26 PM, Terrance Devor ter.de...@gmail.com wrote: Can you please provide a sip trace. Who is sending the 500? Your media server? T ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] 500 Server error in REGISTER message
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 e...@uphreak.com mailto:e...@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@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users