<html><head><style type='text/css'>p { margin: 0; }</style><style type='text/css'>body { font-family: 'Times New Roman'; font-size: 12pt; color: #000000}</style></head><body>Hi Bogdan,<br><br>Thanks Bogdan. My UAC supports only AMR codec and as I understand that RTP Proxy does not support it. Can this be the issue?<br><br>Thanks,<br>Arjun<br><br><br>----- Original Message -----<br>From: "Bogdan-Andrei Iancu" <bogdan@opensips.org><br>To: "Arjun Shankar K S" <arjun_ks@kalycito.com><br>Cc: "OpenSIPS users mailling list" <users@lists.opensips.org><br>Sent: Monday, July 16, 2012 2:07:23 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi<br>Subject: Re: [OpenSIPS-Users] 500 Server Internal Error<br><br>
<title></title>
<link href="/zimbra/css/msgview.css?v=080321160509" rel="stylesheet">
<tt>Hi ARjun,<br>
<br>
Well, the 500 reply is generated by one of your UACs (why? check
with the UAC) - what is really brain dead is that the reply is for
an ACK requests (see the cseq hdr in reply) - and according to SIP
RFC3261, ACK requests do not have replies at all!<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<br>
On 07/16/2012 09:41 AM, Arjun Shankar K S wrote:
<blockquote cite="mid:12522560.10721342420891437.JavaMail.root@mail.vlinksys.com">
<style>p { margin: 0; }</style>
<style>body { font-family: 'Times New Roman'; font-size: 12pt; color: #000000}</style>Hi
Bogdan, <br>
<br>
The opensips server is running in a 220.225.134.9 public IP. All
UACs are in the 220.225.134.x series. The SIP Trace is as given
below, <br>
<br>
<br>
|Time | 220.225.134.9 | <br>
| | | 10.100.4.64 | <br>
|11.678 | INVITE SDP (AMRRTPType-114) |SIP From: <<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:1016@</a>
220.225.134.9 To:<<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:1012@</a> 220.225.134.9 <br>
| |(5060) ------------------> (5060) | <br>
|12.182 | INVITE SDP (AMRRTPType-114) |SIP From: <<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:1016@</a>
220.225.134.9 To:<<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:1012@</a> 220.225.134.9 <br>
| |(5060) ------------------> (5060) | <br>
|12.899 | 100 Trying| |SIP Status <br>
| |(5060) <------------------ (5060) | <br>
|13.209 | 180 Ringing |SIP Status <br>
| |(5060) <------------------ (5060) | <br>
|21.007 | 200 OK SDP (AMRRTPType-114) |SIP Status <br>
| |(5060) <------------------ (5060) | <br>
|21.126 | ACK | |SIP Request <br>
| |(5060) ------------------> (5060) | <br>
|21.579 | 200 OK SDP (AMRRTPType-114) |SIP Status <br>
| |(5060) <------------------ (5060) | <br>
|22.186 | 500 Server Internal Error |SIP Status <br>
| |(5060) <------------------ (5060) | <br>
<br>
<br>
And the ngrep capture was as I had put in my previous mail. <br>
<br>
Thanks, <br>
Arjun <br>
<br>
----- Original Message ----- <br>
From: "Bogdan-Andrei Iancu" <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org" target="_blank"><bogdan@opensips.org></a> <br>
To: "Arjun Shankar K S" <a class="moz-txt-link-rfc2396E" href="mailto:arjun_ks@kalycito.com" target="_blank"><arjun_ks@kalycito.com></a> <br>
Cc: "OpenSIPS users mailling list"
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org" target="_blank"><users@lists.opensips.org></a> <br>
Sent: Friday, July 13, 2012 6:40:34 PM GMT +05:30 Chennai,
Kolkata, Mumbai, New Delhi <br>
Subject: Re: [OpenSIPS-Users] 500 Server Internal Error <br>
<br>
Arjun, <br>
<br>
That is really foobar.....What device is 220.225.134.2:13120 and
why is it generating a reply for an ACK request !?!?! ACK HAVE NOT
replies at all :) <br>
<br>
Regards, <br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a> <br>
On 07/13/2012 01:52 PM, Arjun Shankar K S wrote: <br>
<br>
Hi Bogdan, <br>
<br>
Please find below the ngrep capture at the SIP server side, <br>
<br>
##################################################################################################################################################################################################################################################################################
<br>
U(17) 220.225.134.2:13120 -> 220.225.134.9:5060 <br>
SIP/2.0 200 OK..Record-Route: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:220.225.134.9;lr=on></a>
..Call-Id: <a class="moz-txt-link-abbreviated" href="mailto:58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:" target="_blank">58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:</a> 1
INVITE..To: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1005@220.225.134.9></a> ;tag <br>
=4IHoLZ2ha..Via: SIP/2.0/UDP
220.225.134.9:5060;branch=z9hG4bKec6a.856da06.0,SIP/2.0/UDP
220.225.134.9:5060;received=203.199.234.3;rport=41792;branch=z9hG4bKd8feb
<br>
fe85d601ca1b48d8bd8e6a10ba6..From: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1012@220.225.134.9></a>
;tag=LXMkFpqUA..Contact: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:220.225.134.9:5060></a>
..Content-Type: application/sdp..Content-Length: 197.. <br>
..v=0..o=blackberry 1342175741968 1342175741968 IN IP4
220.225.134.2..s=Phone call..c=IN IP4 220.225.134.2..t=0 0..t=0
0..m=audio 7078 RTP/AVP 114..a=rtpmap:114 A <br>
MR/8000/1..a=fmtp:114 octet-align=1.. <br>
# <br>
U(17) 220.225.134.9:5060 -> 203.199.234.3:41792 <br>
SIP/2.0 200 OK..Record-Route: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:220.225.134.9;lr=on></a>
..Call-Id: <a class="moz-txt-link-abbreviated" href="mailto:58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:" target="_blank">58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:</a> 1
INVITE..To: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1005@220.225.134.9></a> ;tag <br>
=4IHoLZ2ha..Via: SIP/2.0/UDP
220.225.134.9:5060;received=203.199.234.3;rport=41792;branch=z9hG4bKd8febfe85d601ca1b48d8bd8e6a10ba6..From:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1012@220.225.134.9></a> ; <br>
tag=LXMkFpqUA..Contact: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:220.225.134.2:13120;nat=yes></a>
..Content-Type: application/sdp..Content-Length: 216..P-hint:
onreply_route|force_rtp_proxy ..P-hint: Onr <br>
eply-route - fixcontact ....v=0..o=blackberry 1342175741968
1342175741968 IN IP4 220.225.134.2..s=Phone call..c=IN IP4
220.225.134.9..t=0 0..t=0 0..m=audio 38476 <br>
RTP/AVP 114..a=rtpmap:114 AMR/8000/1..a=fmtp:114
octet-align=1..a=nortpproxy:yes.. <br>
############################# <br>
U(17) 203.199.234.3:41792 -> 220.225.134.9:5060 <br>
ACK <a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:220.225.134.2:13120;nat=yes</a> SIP/2.0..Call-Id:
<a class="moz-txt-link-abbreviated" href="mailto:58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:" target="_blank">58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:</a> 1 ACK..To:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1005@220.225.134.9></a> ;tag=4IHoLZ2ha..Via <br>
: SIP/2.0/UDP
220.225.134.9:5060;rport;branch=z9hG4bK202da30a90a53ad5d81d9256e09b6db6..Max-Forwards:
70..From: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1012@220.225.134.9></a> ;tag=LXMkFpqUA..Contact:
<s <br>
<a class="moz-txt-link-abbreviated" href="mailto:ip:1012@203.199.234.3:41792" target="_blank">ip:1012@203.199.234.3:41792</a> >..Route:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:220.225.134.9;lr=on></a> ..Content-Length: 0.... <br>
# <br>
U(17) 220.225.134.9:5060 -> 220.225.134.2:13120 <br>
ACK <a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:220.225.134.2:13120</a> SIP/2.0..Call-Id:
<a class="moz-txt-link-abbreviated" href="mailto:58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:" target="_blank">58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:</a> 1 ACK..To:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1005@220.225.134.9></a> ;tag=4IHoLZ2ha..Via: SIP/2. <br>
0/UDP 220.225.134.9;branch=z9hG4bKec6a.856da06.2..Via: SIP/2.0/UDP
220.225.134.9:5060;received=203.199.234.3;rport=41792;branch=z9hG4bK202da30a90a53ad5d81d9256e09
<br>
b6db6..Max-Forwards: 69..From: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1012@220.225.134.9></a>
;tag=LXMkFpqUA..Contact:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1012@203.199.234.3:41792;nat=yes></a> ..Content-Length:
0.... <br>
################ <br>
U(17) 220.225.134.2:13120 -> 220.225.134.9:5060 <br>
SIP/2.0 200 OK..Record-Route: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:220.225.134.9;lr=on></a>
..Call-Id: <a class="moz-txt-link-abbreviated" href="mailto:58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:" target="_blank">58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:</a> 1
INVITE..To: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1005@220.225.134.9></a> ;tag <br>
=4IHoLZ2ha..Via: SIP/2.0/UDP
220.225.134.9:5060;branch=z9hG4bKec6a.856da06.0,SIP/2.0/UDP
220.225.134.9:5060;received=203.199.234.3;rport=41792;branch=z9hG4bKd8feb
<br>
fe85d601ca1b48d8bd8e6a10ba6..From: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1012@220.225.134.9></a>
;tag=LXMkFpqUA..Contact: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:220.225.134.9:5060></a>
..Content-Type: application/sdp..Content-Length: 197.. <br>
..v=0..o=blackberry 1342175741968 1342175741968 IN IP4
220.225.134.2..s=Phone call..c=IN IP4 220.225.134.2..t=0 0..t=0
0..m=audio 7078 RTP/AVP 114..a=rtpmap:114 A <br>
MR/8000/1..a=fmtp:114 octet-align=1.. <br>
# <br>
U(17) 220.225.134.9:5060 -> 203.199.234.3:41792 <br>
SIP/2.0 200 OK..Record-Route: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:220.225.134.9;lr=on></a>
..Call-Id: <a class="moz-txt-link-abbreviated" href="mailto:58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:" target="_blank">58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:</a> 1
INVITE..To: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1005@220.225.134.9></a> ;tag <br>
=4IHoLZ2ha..Via: SIP/2.0/UDP
220.225.134.9:5060;received=203.199.234.3;rport=41792;branch=z9hG4bKd8febfe85d601ca1b48d8bd8e6a10ba6..From:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1012@220.225.134.9></a> ; <br>
tag=LXMkFpqUA..Contact: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:220.225.134.2:13120;nat=yes></a>
..Content-Type: application/sdp..Content-Length: 216..P-hint:
onreply_route|force_rtp_proxy ..P-hint: Onr <br>
eply-route - fixcontact ....v=0..o=blackberry 1342175741968
1342175741968 IN IP4 220.225.134.2..s=Phone call..c=IN IP4
220.225.134.9..t=0 0..t=0 0..m=audio 38476 <br>
RTP/AVP 114..a=rtpmap:114 AMR/8000/1..a=fmtp:114
octet-align=1..a=nortpproxy:yes.. <br>
################# <br>
U(17) 220.225.134.2:13120 -> 220.225.134.9:5060 <br>
SIP/2.0 500 Server Internal Error..Call-Id:
<a class="moz-txt-link-abbreviated" href="mailto:58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:" target="_blank">58f64298f3186a42b96a608659fd434d@220.225.134.9..CSeq:</a> 1 ACK..To:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1005@220.225.134.9></a> ;tag=4IHoLZ2ha..Via: SIP/2.0/ <br>
UDP 220.225.134.9:5060;branch=z9hG4bKec6a.856da06.2,SIP/2.0/UDP
220.225.134.9:5060;received=203.199.234.3;rport=41792;branch=z9hG4bK202da30a90a53ad5d81d9256e09b6d
<br>
b6..From: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:1012@220.225.134.9></a> ;tag=LXMkFpqUA..Contact:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:220.225.134.9:5060></a> ..Content-Length: 0.... <br>
#######################################################################################################
<br>
U(17) 220.225.134.9:5060 -> 220.225.134.2:13120 <br>
OPTIONS <a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:220.225.134.2:13120</a> SIP/2.0..Via: SIP/2.0/UDP
220.225.134.9:5060;branch=0..From:
<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:pinger@PROXY_IP;tag=63cac2b..To:</a>
<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:220.225.134.2:13120..Call-ID</a> <br>
: <a class="moz-txt-link-abbreviated" href="mailto:20233266-bc88a9d3-5342d@220.225.134.9..CSeq:" target="_blank">20233266-bc88a9d3-5342d@220.225.134.9..CSeq:</a> 1
OPTIONS..Content-Length: 0.... <br>
#####################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
<br>
U(17) 220.225.134.9:5060 -> 203.199.234.3:24922 <br>
OPTIONS <a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:203.199.234.3:24922</a> SIP/2.0..Via: SIP/2.0/UDP
220.225.134.9:5060;branch=0..From:
<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:pinger@PROXY_IP;tag=73cac2b..To:</a>
<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:203.199.234.3:24922..Call-ID</a> <br>
: <a class="moz-txt-link-abbreviated" href="mailto:20233266-cc88a9d3-9342d@220.225.134.9..CSeq:" target="_blank">20233266-cc88a9d3-9342d@220.225.134.9..CSeq:</a> 1
OPTIONS..Content-Length: 0.... <br>
################################## <br>
U(17) 203.199.234.3:24922 -> 220.225.134.9:5060 <br>
SIP/2.0 200 OK..Via: SIP/2.0/UDP
220.225.134.9:5060;branch=0..Contact:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:10.100.4.156:20958></a> ..To:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:203.199.234.3:24922></a> ;tag=190a3f50..From: <
<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:pinger@PRO</a> <br>
XY_IP>;tag=73cac2b..Call-ID:
<a class="moz-txt-link-abbreviated" href="mailto:20233266-cc88a9d3-9342d@220.225.134.9..CSeq:" target="_blank">20233266-cc88a9d3-9342d@220.225.134.9..CSeq:</a> 1 OPTIONS..Accept:
application/sdp..Accept-Language: en..Allow: INVITE, ACK, CANCEL,
OPT <br>
IONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO..User-Agent:
X-Lite release 1103k stamp 53621..Content-Length: 0.... <br>
#############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
<br>
U(17) 220.225.134.9:5060 -> 59.144.118.72:21788 <br>
OPTIONS <a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:59.144.118.72:21788</a> SIP/2.0..Via: SIP/2.0/UDP
220.225.134.9:5060;branch=0..From:
<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:pinger@PROXY_IP;tag=83cac2b..To:</a>
<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:59.144.118.72:21788..Call-ID</a> <br>
: <a class="moz-txt-link-abbreviated" href="mailto:20233266-dc88a9d3-c342d@220.225.134.9..CSeq:" target="_blank">20233266-dc88a9d3-c342d@220.225.134.9..CSeq:</a> 1
OPTIONS..Content-Length: 0.... <br>
#################################### <br>
U(17) 59.144.118.72:21788 -> 220.225.134.9:5060 <br>
SIP/2.0 200 OK..Via: SIP/2.0/UDP
220.225.134.9:5060;branch=0..Contact:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:192.168.1.112:21788></a> ..To:
<a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:59.144.118.72:21788></a> ;tag=bc7b1d12..From: <
<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:pinger@PR</a> <br>
OXY_IP>;tag=83cac2b..Call-ID:
<a class="moz-txt-link-abbreviated" href="mailto:20233266-dc88a9d3-c342d@220.225.134.9..CSeq:" target="_blank">20233266-dc88a9d3-c342d@220.225.134.9..CSeq:</a> 1 OPTIONS..Accept:
application/sdp..Accept-Language: en..Allow: INVITE, ACK, CANCEL,
OP <br>
TIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO..Supported:
replaces..User-Agent: X-Lite 4 release 4.1 stamp
63215..Content-Length: 0.... <br>
#########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
<br>
U(17) 220.225.134.9:5060 -> 59.144.118.72:57246 <br>
OPTIONS <a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:59.144.118.72:57246</a> SIP/2.0..Via: SIP/2.0/UDP
220.225.134.9:5060;branch=0..From:
<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:pinger@PROXY_IP;tag=93cac2b..To:</a>
<a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:59.144.118.72:57246..Call-ID</a> <br>
: <a class="moz-txt-link-abbreviated" href="mailto:20233266-ec88a9d3-1442d@220.225.134.9..CSeq:" target="_blank">20233266-ec88a9d3-1442d@220.225.134.9..CSeq:</a> 1
OPTIONS..Content-Length: 0.... <br>
############################### <br>
U(17) 59.144.118.72:57246 -> 220.225.134.9:5060 <br>
SIP/2.0 200 OK..Via: SIP/2.0/UDP
220.225.134.9:5060;branch=0..From: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:pinger@PROXY></a>
;tag=61cac2b..To: <a class="moz-txt-link-rfc2396E" href="about:blank" target="_blank"><sip:59.144.118.72:57246></a>
;tag=1255356873..Contact: < <a class="moz-txt-link-freetext" href="about:blank" target="_blank">sip:pi</a> <br>
<a class="moz-txt-link-abbreviated" href="mailto:nger@59.144.118.72:57246;transport=udp" target="_blank">nger@59.144.118.72:57246;transport=udp</a> >..Call-ID:
<a class="moz-txt-link-abbreviated" href="mailto:20233266-ba88a9d3-3242d@220.225.134.9..CSeq:" target="_blank">20233266-ba88a9d3-3242d@220.225.134.9..CSeq:</a> 1
OPTIONS..Content-Length: 0.... <br>
############################################################################################################################################
<br>
<br>
Please let me know where the error is. <br>
<br>
Thanks, <br>
Arjun <br>
</blockquote>
</body></html>