[OpenSIPS-Users] 500 Server Internal Error

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jul 12 16:38:14 CEST 2012


Arjun,

You posted the INVITE only which is not really useful (standalone). 
Could you post (on pastebin) an entire capture of the call from the 
opensips machine (with ngrep) ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 07/12/2012 03:47 PM, Arjun Shankar K S wrote:
> Hello Bogdan,
>
> Thanks for your time and reply.
>
> I get the "500 Server Internal Error" only when I make calls from 
> Blackberry Clients. All calls work when I use Android and iOS clients.
>
> Please find below the ngrep capture u had asked,
>
> U(17) 203.199.234.3:9024 -> 10.23.154.9:5060
> INVITE sip:1005 at 10.23.154.9SIP/2.0..
> Call-Id: dec2b676fad88a222c9e472e67be6d31 at 220.225.134.9..
> CSeq: 1 INVITE..To: <sip:1005 at 10.23.154.9>..
> Via: SIP/2.0/UDP 10.23.154.9:5060;
> rport;
> branch=z9hG4bKf36a4901adce1fe3e622803f72968bd3..
> Max-Forwards: 70..
> From: <sip:1012 at 10.23.154.9>;
> tag=whWrolNil..
> Route: <sip:10.23.154.9;lr>..
> Contact: <sip:1012 at 203.199.234.3:9024>..
> Content-Type: application/sdp..
> Content-Length: 197....
> v=0..
> o=blackberry 1342088332062 1342088332062 IN IP4 203.199.234.3..
> s=Phone call..
> c=IN IP4 203.199.234.3..
> t=0 0..t=0 0..
> m=audio 7078 RTP/AVP 114..
> a=rtpmap:114 AMR/8000/1..
> a=fmtp:114 octet-align=1..
> #
>
> Please let me know what is the issue.
>
> Thanks,
> Arjun
>
>
> ----- Original Message -----
> From: "Bogdan-Andrei Iancu" <bogdan at opensips.org>
> To: "OpenSIPS users mailling list" <users at lists.opensips.org>
> Cc: "Arjun Shankar K S" <arjun_ks at kalycito.com>
> Sent: Tuesday, July 10, 2012 4:10:07 PM GMT +05:30 Chennai, Kolkata, 
> Mumbai, New Delhi
> Subject: Re: [OpenSIPS-Users] 500 Server Internal Error
>
> Hi Arjun,
>
> from your trace (as it is obfuscated) it is not clear if the 500 is 
> generated by opensips or not.
>
> Please post an ngrep capture.
>
> Regards,
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 07/02/2012 11:00 AM, Arjun Shankar K S wrote:
>
>     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 conditions. 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 at 10.23.154.9:5060
>     To:<sip:1011 at 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 at 10.23.154.9To:<sip:1012 at 10.23.154.9
>         |              |(5060)   ------------------> 
>         (5060)                 |
>         |12.182   |         INVITE SDP (AMRRTPType-114)          |SIP
>         From: <sip:1016 at 10.23.154.9To:<sip:1012 at 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
>
>
>     _______________________________________________
>     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/20120712/cc647de5/attachment-0001.htm>


More information about the Users mailing list