[OpenSIPS-Users] 500 Server Internal Error

Arjun Shankar K S arjun_ks at kalycito.com
Mon Jul 2 10:00:04 CEST 2012


Hi Razvan, 

Thank you very much for your response and time. 

In the syslog of opensips+rtp proxy, I do not find anything suspicious. Please find below the syslog, 

Jul 2 09:35:53 pbx2 rtpproxy[1216]: DBUG:handle_command: received command "11039_141 D 9780 29623" 
Jul 2 09:35:53 pbx2 rtpproxy[1216]: INFO:handle_delete: forcefully deleting session 1 on ports 40424/0 
Jul 2 09:35:53 pbx2 rtpproxy[1216]: INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped 
Jul 2 09:35:53 pbx2 rtpproxy[1216]: INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped 
Jul 2 09:35:53 pbx2 rtpproxy[1216]: INFO:remove_session: session on ports 40424/0 is cleaned up 
Jul 2 09:35:53 pbx2 rtpproxy[1216]: DBUG:doreply: sending reply "11039_141 0#012" 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: DBUG:handle_command: received command "11041_160 Uc112,111,110,3,0,8,101 13955 220.225.134.2 7078 7740;1" 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: INFO:handle_command: new session 13955, tag 7740;1 requested, type strong 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: INFO:handle_command: new session on a port 44958 created, tag 7740;1 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: INFO:handle_command: pre-filling caller's address with 220.225.134.2:7078 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: DBUG:doreply: sending reply "11041_160 44958 220.225.134.9#012" 
Jul 2 09:36:01 pbx2 /usr/local/sbin/opensips[11041]: new branch at sip:1017 at 10.100.4.159;line=b937237b9b969a9 
Jul 2 09:36:01 pbx2 /usr/local/sbin/opensips[11041]: new branch at sip:1017 at 10.100.4.159;line=bd726e410518464 
Jul 2 09:36:01 pbx2 /usr/local/sbin/opensips[11039]: incoming reply 
Jul 2 09:36:01 pbx2 /usr/local/sbin/opensips[11039]: incoming reply 
Jul 2 09:36:01 pbx2 /usr/local/sbin/opensips[11038]: incoming reply 
Jul 2 09:36:01 pbx2 /usr/local/sbin/opensips[11041]: incoming reply 
Jul 2 09:36:01 pbx2 /usr/local/sbin/opensips[11041]: ACC: call missed: timestamp=1341201961;method=INVITE;from_tag=7740;to_tag=15724;call_id=13955;code=404;reason=Not Found 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: DBUG:handle_command: received command "11041_161 D 13955 7740" 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: INFO:handle_delete: forcefully deleting session 1 on ports 44958/0 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: INFO:remove_session: session on ports 44958/0 is cleaned up 
Jul 2 09:36:01 pbx2 rtpproxy[1216]: DBUG:doreply: sending reply "11041_161 0#012" 

Also find below SIP trace of opensips in working condi tions. I guess this could give you some more clues. 

|Time | 10.100.4.159 | 
| | | 10.23.154.9 | 
|6.203 | INVITE SDP (speexRTPType-111 speexRTPType-110 ... g711U g711A) |SIP From: <sip:1013@ 10.23.154.9 :5060 To:<sip:1011@ 10.23.154.9 :5060 
| |(1287) ------------------> (5060) | 
|6.208 | 100 Giving a try |SIP Status 
| |(1287) <------------------ (5060) | 
|6.340 | 101 Dialog Establishement |SIP Status 
| |(1287) <------------------ (5060) | 
|6.798 | 180 Ringing |SIP Status 
| |(1287) <------------------ (5060) | 
|10.190 | 200 OK SDP (speexRTPType-111 speexRTPType-110 ... g711U g711A) |SIP Status 
| |(1287) <------------------ (5060) | 
|10.254 | ACK | |SIP Request 
| |(1287) ------------------> (5060) | 
|11.121 | RTP (speex) |RTP Num packets:2217 Duration:11.499s SSRC:0x4FF88277 
| |(1329) ------------------> (49340) | 
|11.143 | RTP (speex) |RTP Num packets:1074 Duration:6.144s SSRC:0x266EBDD9 
| |(1329) <------------------ (49340) | 
|19.359 | BYE | |SIP Request 
| |(1287) ------------------> (5060) | 
|19.464 | 200 OK | |SIP Status 
| |(1287) <------------------ (5060) | 


Thanks, 
Arjun 

----- Original Message ----- 
From: "Răzvan Crainea" <razvan at opensips.org> 
To: users at lists.opensips.org 
Sent: Monday, July 2, 2012 1:11:11 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi 
Subject: Re: [OpenSIPS-Users] 500 Server Internal Error 


Hello, Arjun! 

There are many reasons OpenSIPS can generate a 500 Server Internal Error, or perhaps you explicitly send if from script on some error cases. The best thing to do in these situations is to check in OpenSIPS logs. 

Regards, 
Razvan Crainea
OpenSIPS Core Developer http://www.opensips-solutions.com On 07/02/2012 08:08 AM, Arjun Shankar K S wrote: 


Hello Everyone, 

Can anyone comment on the below issue. 

Thanks, 
Arjun 

----- Original Message ----- 
From: "Arjun Shankar K S" <arjun_ks at kalycito.com> 
To: "OpenSIPS users mailling list" <users at lists.opensips.org> 
Cc: "users" <users at lists.opensips.org> 
Sent: Thursday, June 28, 2012 7:10:00 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi 
Subject: Re: [OpenSIPS-Users] 500 Server Internal Error 

Hi All, 

I am also using a RTP Proxy along with openSIPS, installed in the same machine. I guess this may give you some more info. 

Thanks, 
Arjun 

----- Original Message ----- 
From: "Arjun Shankar K S" <arjun_ks at kalycito.com> 
To: "users" <users at lists.opensips.org> 
Sent: Thursday, June 28, 2012 7:00:34 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi 
Subject: [OpenSIPS-Users] 500 Server Internal Error 

Hi All, 

I am trying to make calls using my SIP Client but I get " 500 Server Internal Error ". Please find the Sip Trace below, 

|Time | 10.23.154.9 | 
| | | 10.100.4.64 | 
|11.678 | INVITE SDP (AMRRTPType-114) |SIP From: <sip:1016@ 10.23.154.9 To:<sip:1012@ 10.23.154.9 
| |(5060) ------------------> (5060) | 
|12.182 | INVITE SDP (AMRRTPType-114) |SIP From: <sip:1016@ 10.23.154.9 To:<sip:1012@ 10.23.154.9 
| |(5060) ------------------> (5060) | 
|12.899 | 100 Trying| |SIP Status 
| |(5060) <------------------ (5060) | 
|13.209 | 180 Ringing |SIP Status 
| |(5060) <------------------ (5060) | 
|21.007 | 200 OK SDP (AMRRTPType-114) |SIP Status 
| |(5060) <------------------ (5060) | 
|21.126 | ACK | |SIP Request 
| |(5060) ------------------> (5060) | 
|21.579 | 200 OK SDP (AMRRTPType-114) |SIP Status 
| |(5060) <------------------ (5060) | 
|22.186 | 500 Server Internal Error |SIP Status 
| |(5060) <------------------ (5060) | 


Can anybody please let me know what is the exact error? 

Thanks, 
Arjun 

_______________________________________________ Users mailing list 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 

_______________________________________________
Users mailing list 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/20120702/be393cf8/attachment-0001.htm>


More information about the Users mailing list