Re: [OpenSIPS-Users] 500 Server error in REGISTER message
Hi Satish, you should check the server logs. This could be caused by memory allocation failure, low memory and/or high CPU activity experienced by OpenSIPS on the server side. You can enable console debugging by adding the following to `opensips.cfg': debug=4 fork=no log_stderror=yes After that, restart OpenSIPS and watch the debug log output and system CPU usage. Regards, Babil (Golam Sarwar) PGP Key Fingerprint : D3A1 EED0 5BA0 72D3 A011 75CB 8EA6 7D99 F433 E92D PGP Key Download URL: http://bit.ly/gsbabil-pgp-key On Fri, Mar 13, 2015 at 1:03 PM, Satish Patel satish@gmail.com wrote: Hello, Why we are getting 500 error in REGISTER time? Even i got register successfully, is it normal? 01:26:01.078025 │ REGISTER │ │ │ ── │ │ 01:26:01.078032 │ REGISTER │ │ │ │ │ │ 01:26:01.078358 │ 401 Unauthorized │ │ │ │ ── │ │ │ 01:26:01.078360 │ 401 Unauthorized │ │ ▒ │ │ │ ▒ 01:26:01.408019 │ REGISTER │ │ ▒ │ ── │ │ ▒ 01:26:01.408025 │ REGISTER │ │ ▒ │ │ │ ▒ 01:26:01.408364 │ 200 OK│ │ ▒ │ ── │ │ ▒ 01:26:01.408365 │ 200 OK│ │ ▒ │ │ │ ▒ 01:26:01.408381 │ 500 Server error occurred │ │ ▒ │ ── │ │ ▒ 01:26:01.408382 │ 500 Server error occurred │ │ ▒ │ │ │ ▒ 01:26:01.730160 │ REGISTER │ │ ▒ │ ── │ │ ▒ 01:26:01.730166 │ REGISTER │ │ ▒ │ │ │ ▒ 01:26:01.730454 │ 401 Unauthorized │ │ ▒ │ ── │ │ ▒ 01:26:01.730455 │ 401 Unauthorized │ │ ▒ │ │ │ ▒ 01:26:02.072783 │ REGISTER │ │ ▒ │ ── │ │ ▒ 01:26:02.072789 │ REGISTER │ │ ▒ │ │ │ ▒ 01:26:02.073108 │ 200 OK│ │ ▒ │ ── │ │ ▒ 01:26:02.073109 │ 200 OK│ │ ▒ │ │ │ ▒ 01:26:02.073128 │ 500 Server error occurred │ │ ▒ │ ── │ │ │ │ │ ___ 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
Thanks for reply, I am not seeing any memory error in logs, This is testing box, so there is no load on CPU, I am registering single client. I am using multi-domain with mysql DB. This is what in debug i am seeing DBG:auth:check_response: authorization is OK ... DBG:core:mk_proxy: doing DNS lookup... DBG:sl:run_sl_callbacks: callback id 0 entered DBG:sl:sl_reply_error: error text is Server error occurred (1/SL) On Fri, Mar 13, 2015 at 4:16 PM, Babil Golam Sarwar gsba...@gmail.com wrote: Hi Satish, you should check the server logs. This could be caused by memory allocation failure, low memory and/or high CPU activity experienced by OpenSIPS on the server side. You can enable console debugging by adding the following to `opensips.cfg': debug=4 fork=no log_stderror=yes After that, restart OpenSIPS and watch the debug log output and system CPU usage. Regards, Babil (Golam Sarwar) PGP Key Fingerprint : D3A1 EED0 5BA0 72D3 A011 75CB 8EA6 7D99 F433 E92D PGP Key Download URL: http://bit.ly/gsbabil-pgp-key On Fri, Mar 13, 2015 at 1:03 PM, Satish Patel satish@gmail.com wrote: Hello, Why we are getting 500 error in REGISTER time? Even i got register successfully, is it normal? 01:26:01.078025 │ REGISTER │ │ │ ── │ │ 01:26:01.078032 │ REGISTER │ │ │ │ │ │ 01:26:01.078358 │ 401 Unauthorized │ │ │ │ ── │ │ │ 01:26:01.078360 │ 401 Unauthorized │ │ ▒ │ │ │ ▒ 01:26:01.408019 │ REGISTER │ │ ▒ │ ── │ │ ▒ 01:26:01.408025 │ REGISTER │ │ ▒ │ │ │ ▒ 01:26:01.408364 │ 200 OK│ │ ▒ │ ── │ │ ▒ 01:26:01.408365 │ 200 OK│ │ ▒ │ │ │ ▒ 01:26:01.408381 │ 500 Server error occurred │ │ ▒ │ ── │ │ ▒ 01:26:01.408382 │ 500 Server error occurred │ │ ▒ │ │ │ ▒ 01:26:01.730160 │ REGISTER │ │ ▒ │ ── │ │ ▒ 01:26:01.730166 │ REGISTER │ │ ▒ │ │ │ ▒ 01:26:01.730454 │ 401 Unauthorized │ │ ▒ │ ── │ │ ▒ 01:26:01.730455 │ 401 Unauthorized │ │ ▒ │ │ │ ▒ 01:26:02.072783 │ REGISTER │ │ ▒ │ ── │ │ ▒ 01:26:02.072789 │ REGISTER │ │ ▒ │ │ │ ▒ 01:26:02.073108 │ 200 OK│ │ ▒ │ ── │ │ ▒ 01:26:02.073109 │ 200 OK│ │ ▒ │ │ │ ▒ 01:26:02.073128 │ 500 Server error occurred │ │ ▒ │ ── │ │ │ │ │ ___ 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] Announcing rtpproxy v2.0.0
RFC3095 would be great. On Saturday, 14 March 2015, Maxim Sobolev sobo...@sippysoft.com wrote: Do you have any particular RFC in mind? On Mar 12, 2015 10:28 AM, John Mathew john.mat...@divoxmedia.com javascript:_e(%7B%7D,'cvml','john.mat...@divoxmedia.com'); wrote: Hi, Maxim, Is there any plans for rtp header compression in future. I can't see anything in the change log for 2.0.0 On Tuesday, 10 March 2015, Maxim Sobolev sobo...@sippysoft.com javascript:_e(%7B%7D,'cvml','sobo...@sippysoft.com'); wrote: Hi All, I'm happy to announce that we have released rtpproxy v2.0.0. You can review the release notes here: https://github.com/sippy/rtpproxy/releases/tag/v2.0.0 -sobomax -- Sent from iPhone 6 -- You received this message because you are subscribed to the Google Groups rtpproxy group. To unsubscribe from this group and stop receiving emails from it, send an email to rtpproxy+unsubscr...@googlegroups.com javascript:_e(%7B%7D,'cvml','rtpproxy%2bunsubscr...@googlegroups.com'); . To post to this group, send email to rtppr...@googlegroups.com javascript:_e(%7B%7D,'cvml','rtppr...@googlegroups.com');. To view this discussion on the web visit https://groups.google.com/d/msgid/rtpproxy/CA%2BSkwpUhu9fpwmqpRFiaXsQo9_%2B6M8MFtJ2sKi4kd5sr%3Ds%2BR5Q%40mail.gmail.com https://groups.google.com/d/msgid/rtpproxy/CA%2BSkwpUhu9fpwmqpRFiaXsQo9_%2B6M8MFtJ2sKi4kd5sr%3Ds%2BR5Q%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Sent from iPhone 6 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] indeterminate is_present_hf behavior
Hi, I've experienced some puzzling behavior with the is_present_hf function of the sipmsgops module, version 1.11. When checking for the presence of a custom header the function sometimes returns true and sometimes false for the same header in the same INVITE message. Here is the relevant code (debug xlog statements added, production code is sparser): case 3: xlog(L_INFO,TRACE[$ci]:route[conditions]:condition has header existence operator(3) where header $var(field) should exist); if (is_present_hf($var(field)) || $hdr($var(field)) != NULL) { xlog(L_DEBUG,TRACE[$ci]:route[conditions]:we've got a $var(field) header with value $hdr($var(field))); if (is_present_hf($var(field))) { xlog(L_INFO,TRACE[$ci]:route[conditions]:we've got a $var(field) header with value $hdr($var(field))); } else { xlog(L_INFO,TRACE[$ci]:route[conditions]:header $var(field) not found); } } else { xlog(L_DEBUG,TRACE[$ci]:route[conditions]:header $var(field) not found); $var(conditions_failed) = $var(conditions_failed) + 1; } if (is_present_hf($var(field))) { xlog(L_INFO,TRACE[$ci]:route[conditions]:we've got a $var(field) header with value $hdr($var(field))); } else { xlog(L_INFO,TRACE[$ci]:route[conditions]:header $var(field) not found); } break; which produces the following log: Mar 13 16:40:48 sipdr400 /usr/local/sbin/opensips[22721]: TRACE[1426279248727-2aab0be445b0-c8166130-00d14...@xxx.xxx.xxx.xxx]:route[conditions]:condition has header existence operator(3) where header x-livevox-correlation-id should exist Mar 13 16:40:48 sipdr400 /usr/local/sbin/opensips[22721]: INFO:sipmsgops:parse_pvs_header: using hdr type name x-livevox-correlation-id Mar 13 16:40:48 sipdr400 /usr/local/sbin/opensips[22721]: TRACE[1426279248727-2aab0be445b0-c8166130-00d14...@xxx.xxx.xxx.xxx]:route[conditions]:we've got a x-livevox-correlation-id header with value xlvcorid Mar 13 16:40:48 sipdr400 /usr/local/sbin/opensips[22721]: TRACE[1426279248727-2aab0be445b0-c8166130-00d14...@xxx.xxx.xxx.xxx]:route[conditions]:header x-livevox-correlation-id not found when handling this message: From: sip:14075551...@xxx.xxx.xxx.xxx:5060;tag=2aaaf56b2208-0-13c4-6009-b6e9b3-2dc5137e-b6e9b3 To: sip:+14153739...@xxx.xxx.xxx.xxx Call-ID: 1426286197921-2aab3cfb22e0-c813f990-00d00...@xxx.xxx.xxx.xxx CSeq: 1 INVITE Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;rport;branch=z9hG4bK-b6e9b3-ca80e5c0-3b30eff8-2aaaf4694408 x-accountid: 2 x-appid: 24601 x-joinsid: f652ceb9f649ceb50a1d44d2507891cc x-livevox-correlation-id: xlvcorid x-sid: 6ae1bd9e681f8da0c51809a87c345c86 x-vdirect: true Max-Forwards: 69 User-Agent: VCS11.6.67950.0 Contact: sip:14075551...@xxx.xxx.xxx.xxx:5060 Content-Type: application/sdp Content-Length: 229 v=0 o=- 1 1 IN IP4 XXX.XXX.XXX.XXX s=XXX.XXX.XXX.XXX c=IN IP4 XXX.XXX.XXX.XXX t=0 0 m=audio 12334 RTP/AVP 101 0 8 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=ptime:20 This looks like a bug to me, or am I missing something? Anyone has an idea how this behavior is possible? thanks, Eric Werkhoven dev-voip, livevox.com? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Opensips-CP
Bogdan/OpenSIPS team, What is the take on this. Can other users approach such offers or does the OpenSIPS team take presidency? Either way it's ok, and thought it was a good idea to ask before approaching John. Terrance ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users