<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Seth,<br>
<br>
It seems to be becuase the 180 and 200 replies you get are already
using another rtpproxy (somewhere after you, on the SIP path) -
see the "</tt>a=nortpproxy:yes" marker in the received SDP.<br>
<br>
So rtpproxy_answer() sees that marker and does not try to do
anything again (returning -1). To force the insertion of RTPproxy,
use the "f" flag in rtpproxy_answer() or set the "nortpproxy_str"
(<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.8.x/rtpproxy.html#id250242">http://www.opensips.org/html/docs/modules/1.8.x/rtpproxy.html#id250242</a>)
to empty string.<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 10/31/2012 07:40 PM, Seth Schultz wrote:
<blockquote cite="mid:5091627A.9040507@scholarchip.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Bogdan,<br>
<br>
There aren't any other entries in the log file which would
indicate something is wrong with the call. I have provided a
summary of call/rtp flow, code snippets for onreply_routes, and
a sip trace below showing where rtpproxy_answer (in the
onreply_route) failed. When rtpproxy_answer fails, the external
media IP is sent to my internal agent, which causes routing
issues sending the RTP stream. I am using RTPProxy bridging (ie
and ei flags depending on the direction). Please see my notes
below and in the traces.<br>
<br>
You can clearly see that on the 183 and 200, rtpproxy_answer
isn't doing it's job (I just wish I knew why).<br>
<br>
Any and all help is greatly appreciated.<br>
<br>
Thanks,<br>
Seth<br>
<br>
Outbound SIP Routing:<br>
Internal Agent (172.16.1.103) -> OpenSIPS (172.16.1.2)
172.16.1.2 is rewritten to xxx.yyy.115.19 -> External Gateway
(xxx.yyy.109.229)<br>
<br>
Outbound RTP Routing:<br>
Internal Agent (172.16.1.103) -> RTPProxy (172.16.1.111)
172.16.1.111 is rewritten to xxx.yyy.115.20 -> External Agent
(xxx.yyy.109.231)<br>
<br>
Inbound SIP Routing:<br>
External Gateway (xxx.yyy.109.229) -> OpenSIPS
(xxx.yyy.115.19) xxx.yyy.115.19 is rewritten to 172.16.1.2 ->
Internal Agent (172.16.1.103)<br>
<br>
Inbound RTP Routing:<br>
External Agent (xxx.yyy.109.231) -> RTPProxy (xxx.yyy.115.20)
xxx.yyy.115.20 is rewritten to 172.16.1.111 -> Internal Agent
(172.16.1.103)<br>
<br>
Here are snippets of my onreply_route blocks:<br>
<br>
...<br>
onreply_route[INBOUND]<br>
{<br>
#Handle rewriting critical IP addresses<br>
route(REWRITE);<br>
<br>
xlog("L_WARN", "\nCR -----> PR -----> CE
$dlg_val(called) $ci $cs $rm $rs $rr onreply_route[INBOUND]");<br>
<br>
if (!t_was_cancelled() &&
has_body("application/sdp"))<br>
{<br>
#Enable RTPProxy with internal->external flags<br>
if (!rtpproxy_answer("ieor"))<br>
{<br>
xlog("L_ERR", "\nieor UNABLE TO NEGOTIATE MEDIA
$dlg_val(called) $ci $cs $rm $rs $rr $rd route[INBOUND]");<br>
}<br>
}<br>
<br>
exit;<br>
}<br>
...<br>
onreply_route[OUTBOUND]<br>
{<br>
#Handle rewriting critical IP addresses<br>
route(REWRITE);<br>
<br>
xlog("L_WARN", "\nCR <----- PR <----- CE
$dlg_val(called) $ci $cs $rm $rs $rr onreply_route[OUTBOUND]");<br>
<br>
if (!t_was_cancelled() &&
has_body("application/sdp"))<br>
{<br>
#Enable RTPProxy with external->internal flags<br>
if (!rtpproxy_answer("eior"))<br>
{<br>
xlog("L_ERR", "\nieor UNABLE TO NEGOTIATE MEDIA
$dlg_val(called) $ci $cs $rm $rs $rr $rd route[OUTBOUND]");<br>
}<br>
}<br>
<br>
exit;<br>
}<br>
...<br>
<br>
CALL SIP TRACE (with masking and notes):<br>
<br>
udp:172.16.1.103:5060 -> udp:172.16.1.2:5060<br>
INVITE <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sip:XXXXXXX4764@172.16.1.2">sip:XXXXXXX4764@172.16.1.2</a>
SIP/2.0<br>
Via: SIP/2.0/UDP 172.16.1.103;rport;branch=z9hG4bKK5g6rgKDm91rF<br>
Max-Forwards: 69<br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a><br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 INVITE<br>
Contact: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:gw+opensips@172.16.1.103:5060;transport=udp;gw=opensips"><sip:gw+opensips@172.16.1.103:5060;transport=udp;gw=opensips></a><br>
User-Agent: FS<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Allow-Events: talk, hold, refer<br>
Content-Type: application/sdp<br>
Content-Disposition: session<br>
Content-Length: 229<br>
X-FS-Support: update_display,send_info<br>
Remote-Party-ID: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;party=calling;screen=yes;privacy=off<br>
<br>
v=0<br>
o=FreeSWITCH 1351653721 1351653722 IN IP4 172.16.1.103<br>
s=FreeSWITCH<br>
c=IN IP4 172.16.1.103<br>
t=0 0<br>
m=audio 27340 RTP/AVP 0 8 3 101<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=silenceSupp:off - - - -<br>
a=ptime:20<br>
<br>
<br>
udp:172.16.1.2:5060 -> udp:xxx.yyy.109.229:5060<br>
INVITE <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:sip:999150XXXXXXX4764@gw.arctele.com">sip:999150XXXXXXX4764@gw.arctele.com</a>
SIP/2.0<br>
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.0<br>
Max-Forwards: 69<br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a><br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 INVITE<br>
Contact: <a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.115.19;did=2b1.52134a52"><sip:xxx.yyy.115.19;did=2b1.52134a52></a><br>
User-Agent: FS<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Allow-Events: talk, hold, refer<br>
Content-Type: application/sdp<br>
Content-Disposition: session<br>
Content-Length: 249<br>
X-FS-Support: update_display,send_info<br>
Remote-Party-ID: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;party=calling;screen=yes;privacy=off<br>
<br>
v=0<br>
o=FreeSWITCH 1351653721 1351653722 IN IP4 xxx.yyy.115.20
*rtpproxy_offer correctly rewrote 172.16.1.103 with RTPProxy
external IP*<br>
s=FreeSWITCH<br>
c=IN IP4 xxx.yyy.115.20 *rtpproxy_offer correctly rewrote
172.16.1.103 with RTPProxy external IP*<br>
t=0 0<br>
m=audio 36802 RTP/AVP 0 8 3 101<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=silenceSupp:off - - - -<br>
a=ptime:20<br>
a=nortpproxy:yes<br>
<br>
<br>
udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060<br>
SIP/2.0 100 trying -- your call is important to us<br>
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.0<br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a><br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 INVITE<br>
Content-Length: 0<br>
<br>
<br>
udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060<br>
SIP/2.0 180 Ringing<br>
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.0<br>
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.109.229;lr=on"><sip:xxx.yyy.109.229;lr=on></a><br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 INVITE<br>
Contact: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp"><sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp></a><br>
User-Agent: Masked<br>
Accept: application/sdp<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Allow-Events: talk, hold, conference, refer<br>
Content-Length: 0<br>
X-FS-Support: update_display,send_info<br>
<br>
<br>
udp:172.16.1.2:5060 -> udp:172.16.1.103:5060<br>
SIP/2.0 180 Ringing<br>
Via: SIP/2.0/UDP 172.16.1.103;rport;branch=z9hG4bKK5g6rgKDm91rF<br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 INVITE<br>
Contact: <a class="moz-txt-link-rfc2396E" href="sip:172.16.1.2;did=2b1.52134a52"><sip:172.16.1.2;did=2b1.52134a52></a><br>
User-Agent: Masked<br>
Accept: application/sdp<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Allow-Events: talk, hold, conference, refer<br>
Content-Length: 0<br>
X-FS-Support: update_display,send_info<br>
<br>
<br>
udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060<br>
SIP/2.0 183 Session Progress<br>
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.0<br>
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.109.229;lr=on"><sip:xxx.yyy.109.229;lr=on></a><br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 INVITE<br>
Contact: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp"><sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp></a><br>
User-Agent: Masked<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Allow-Events: talk, hold, conference, refer<br>
Content-Type: application/sdp<br>
Content-Disposition: session<br>
Content-Length: 300<br>
X-FS-Support: update_display,send_info<br>
<br>
v=0<br>
o=MASKED 2040649249 2040649250 IN IP4 xxx.yyy.109.231<br>
s=MASKED<br>
c=IN IP4 xxx.yyy.109.231<br>
t=0 0<br>
m=audio 18176 RTP/AVP 0 101<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=silenceSupp:off - - - -<br>
a=nortpproxy:yes<br>
a=mptime:20 -<br>
a=ptime:20<br>
<br>
<br>
udp:172.16.1.2:5060 -> udp:172.16.1.103:5060<br>
SIP/2.0 183 Session Progress<br>
Via: SIP/2.0/UDP 172.16.1.103;rport;branch=z9hG4bKK5g6rgKDm91rF<br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 INVITE<br>
Contact: <a class="moz-txt-link-rfc2396E" href="sip:172.16.1.2;did=2b1.52134a52"><sip:172.16.1.2;did=2b1.52134a52></a><br>
User-Agent: Masked<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Allow-Events: talk, hold, conference, refer<br>
Content-Type: application/sdp<br>
Content-Disposition: session<br>
Content-Length: 300<br>
X-FS-Support: update_display,send_info<br>
<br>
v=0<br>
o=MASKED 2040649249 2040649250 IN IP4 xxx.yyy.109.231
*rtpproxy_answer failed and didn't correctly rewrite
xxx.yyy.109.231 with 172.16.1.111*<br>
s=MASKED<br>
c=IN IP4 xxx.yyy.109.231 *rtpproxy_answer failed and didn't
correctly rewrite xxx.yyy.109.231 with 172.16.1.111*<br>
t=0 0<br>
m=audio 18176 RTP/AVP 0 101<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=silenceSupp:off - - - -<br>
a=nortpproxy:yes<br>
a=mptime:20 -<br>
a=ptime:20<br>
<br>
<br>
udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060<br>
SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.0<br>
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.109.229;lr=on"><sip:xxx.yyy.109.229;lr=on></a><br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 INVITE<br>
Contact: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp"><sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp></a><br>
User-Agent: Masked<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Allow-Events: talk, hold, conference, refer<br>
Content-Type: application/sdp<br>
Content-Disposition: session<br>
Content-Length: 300<br>
X-FS-Support: update_display,send_info<br>
<br>
v=0<br>
o=MASKED 2040649249 2040649250 IN IP4 xxx.yyy.109.231<br>
s=MASKED<br>
c=IN IP4 xxx.yyy.109.231<br>
t=0 0<br>
m=audio 18176 RTP/AVP 0 101<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=silenceSupp:off - - - -<br>
a=nortpproxy:yes<br>
a=mptime:20 -<br>
a=ptime:20<br>
<br>
<br>
udp:172.16.1.2:5060 -> udp:172.16.1.103:5060<br>
SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP 172.16.1.103;rport;branch=z9hG4bKK5g6rgKDm91rF<br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 INVITE<br>
Contact: <a class="moz-txt-link-rfc2396E" href="sip:172.16.1.2;did=2b1.52134a52"><sip:172.16.1.2;did=2b1.52134a52></a><br>
User-Agent: Masked<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Allow-Events: talk, hold, conference, refer<br>
Content-Type: application/sdp<br>
Content-Disposition: session<br>
Content-Length: 300<br>
X-FS-Support: update_display,send_info<br>
<br>
v=0<br>
o=MASKED 2040649249 2040649250 IN IP4 xxx.yyy.109.231
*rtpproxy_answer failed and didn't correctly rewrite
xxx.yyy.109.231 with 172.16.1.111*<br>
s=MASKED<br>
c=IN IP4 xxx.yyy.109.231 *rtpproxy_answer failed and didn't
correctly rewrite xxx.yyy.109.231 with 172.16.1.111*<br>
t=0 0<br>
m=audio 18176 RTP/AVP 0 101<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=silenceSupp:off - - - -<br>
a=nortpproxy:yes<br>
a=mptime:20 -<br>
a=ptime:20<br>
<br>
<br>
udp:172.16.1.103:5060 -> udp:172.16.1.2:5060<br>
ACK <a class="moz-txt-link-freetext" href="sip:172.16.1.2;did=2b1.52134a52">sip:172.16.1.2;did=2b1.52134a52</a> SIP/2.0<br>
Via: SIP/2.0/UDP 172.16.1.103;rport;branch=z9hG4bKp59etaDcXNH0F<br>
Max-Forwards: 69<br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 ACK<br>
Contact: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:gw+opensips@172.16.1.103:5060;transport=udp;gw=opensips"><sip:gw+opensips@172.16.1.103:5060;transport=udp;gw=opensips></a><br>
Content-Length: 0<br>
<br>
<br>
udp:172.16.1.2:5060 -> udp:xxx.yyy.109.229:5060<br>
ACK <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp">sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp</a>
SIP/2.0<br>
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.115.19;lr;ftag=jFFeX0H5cmNDK"><sip:xxx.yyy.115.19;lr;ftag=jFFeX0H5cmNDK></a><br>
Route: <a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.109.229;lr=on"><sip:xxx.yyy.109.229;lr=on></a><br>
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.2<br>
Max-Forwards: 69<br>
From: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504466 ACK<br>
Contact: <a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.115.19;did=2b1.52134a52"><sip:xxx.yyy.115.19;did=2b1.52134a52></a><br>
Content-Length: 0<br>
<br>
<br>
udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060<br>
INFO <a class="moz-txt-link-freetext" href="sip:xxx.yyy.115.19;did=2b1.52134a52">sip:xxx.yyy.115.19;did=2b1.52134a52</a> SIP/2.0<br>
Via: SIP/2.0/UDP xxx.yyy.109.229;branch=z9hG4bK6e65.6f3e25d3.0<br>
Via: SIP/2.0/UDP
xxx.yyy.109.231:5080;rport=5080;branch=z9hG4bKgr80UvtF7XcgQ<br>
Max-Forwards: 68<br>
From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
To: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504475 INFO<br>
Contact: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp"><sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp></a><br>
User-Agent: Masked<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Content-Type: message/update_display<br>
Content-Length: 0<br>
X-FS-Display-Name: Outbound Call<br>
X-FS-Display-Number: 999900016XXXXXXX4764<br>
Path:
<a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'"><sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'></a><br>
<br>
<br>
udp:172.16.1.2:5060 -> udp:172.16.1.103:5060<br>
INFO <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sip:gw+opensips@172.16.1.103:5060;transport=udp;gw=opensips">sip:gw+opensips@172.16.1.103:5060;transport=udp;gw=opensips</a>
SIP/2.0<br>
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:172.16.1.2;lr;ftag=0r3t2jXaB8HrF"><sip:172.16.1.2;lr;ftag=0r3t2jXaB8HrF></a><br>
Via: SIP/2.0/UDP 172.16.1.2;branch=z9hG4bK6e65.921d9907.0<br>
Max-Forwards: 68<br>
From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
To: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504475 INFO<br>
Contact: <a class="moz-txt-link-rfc2396E" href="sip:172.16.1.2;did=2b1.52134a52"><sip:172.16.1.2;did=2b1.52134a52></a><br>
User-Agent: Masked<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Content-Type: message/update_display<br>
Content-Length: 0<br>
X-FS-Display-Name: Outbound Call<br>
X-FS-Display-Number: 999900016XXXXXXX4764<br>
Path:
<a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'"><sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'></a><br>
<br>
<br>
udp:172.16.1.103:5060 -> udp:172.16.1.2:5060<br>
SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP 172.16.1.2;branch=z9hG4bK6e65.921d9907.0<br>
From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
To: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504475 INFO<br>
User-Agent: FS<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Content-Length: 0<br>
<br>
<br>
udp:172.16.1.2:5060 -> udp:xxx.yyy.109.229:5060<br>
SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP xxx.yyy.109.229;branch=z9hG4bK6e65.6f3e25d3.0<br>
Via: SIP/2.0/UDP
xxx.yyy.109.231:5080;rport=5080;branch=z9hG4bKgr80UvtF7XcgQ<br>
From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
To: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504475 INFO<br>
User-Agent: FS<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Content-Length: 0<br>
<br>
<br>
udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060<br>
BYE <a class="moz-txt-link-freetext" href="sip:xxx.yyy.115.19;did=2b1.52134a52">sip:xxx.yyy.115.19;did=2b1.52134a52</a> SIP/2.0<br>
Via: SIP/2.0/UDP xxx.yyy.109.229;branch=z9hG4bK3e65.b4b0e3a3.0<br>
Via: SIP/2.0/UDP
xxx.yyy.109.231:5080;rport=5080;branch=z9hG4bKUUyHF6Kp7Z1Xp<br>
Max-Forwards: 68<br>
From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
To: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504476 BYE<br>
Contact: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp"><sip:XXXXXXX4764@xxx.yyy.109.231:5080;transport=udp></a><br>
User-Agent: Masked<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Reason: Q.850;cause=16;text="NORMAL_CLEARING"<br>
Content-Length: 0<br>
Path:
<a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'"><sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'></a><br>
<br>
<br>
udp:172.16.1.2:5060 -> udp:172.16.1.103:5060<br>
BYE <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:sip:gw+opensips@172.16.1.103:5060;transport=udp;gw=opensips">sip:gw+opensips@172.16.1.103:5060;transport=udp;gw=opensips</a>
SIP/2.0<br>
Record-Route: <a class="moz-txt-link-rfc2396E" href="sip:172.16.1.2;lr;ftag=0r3t2jXaB8HrF"><sip:172.16.1.2;lr;ftag=0r3t2jXaB8HrF></a><br>
Via: SIP/2.0/UDP 172.16.1.2;branch=z9hG4bK3e65.9a0e87c.0<br>
Max-Forwards: 68<br>
From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
To: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504476 BYE<br>
Contact: <a class="moz-txt-link-rfc2396E" href="sip:172.16.1.2;did=2b1.52134a52"><sip:172.16.1.2;did=2b1.52134a52></a><br>
User-Agent: Masked<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Reason: Q.850;cause=16;text="NORMAL_CLEARING"<br>
Content-Length: 0<br>
Path:
<a class="moz-txt-link-rfc2396E" href="sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'"><sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'></a><br>
<br>
<br>
udp:172.16.1.103:5060 -> udp:172.16.1.2:5060<br>
SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP 172.16.1.2;branch=z9hG4bK3e65.9a0e87c.0<br>
From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
To: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504476 BYE<br>
User-Agent: FS<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Content-Length: 0<br>
<br>
<br>
udp:172.16.1.2:5060 -> udp:xxx.yyy.109.229:5060<br>
SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP xxx.yyy.109.229;branch=z9hG4bK3e65.b4b0e3a3.0<br>
Via: SIP/2.0/UDP
xxx.yyy.109.231:5080;rport=5080;branch=z9hG4bKUUyHF6Kp7Z1Xp<br>
From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:sip:XXXXXXX4764@172.16.1.2"><sip:XXXXXXX4764@172.16.1.2></a>;tag=0r3t2jXaB8HrF<br>
To: "Masked" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:sip:YYYYYY0575@172.16.1.2"><sip:YYYYYY0575@172.16.1.2></a>;tag=jFFeX0H5cmNDK<br>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4<br>
CSeq: 35504476 BYE<br>
User-Agent: FS<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
REGISTER, REFER, NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Content-Length: 0<br>
<br>
<br>
On 10/29/2012 7:44 AM, Bogdan-Andrei Iancu wrote:<br>
</div>
<blockquote cite="mid:508E6C2C.6050908@opensips.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hi Seth,<br>
<br>
The function can fail in several cases: parsing error for
reply, cannot contact rtpproxy, invalid reply from rtpproxy,
etc.<br>
<br>
Aside you script xlog, do you get any other err messages in
the script before the xlog (from the same process) - it might
give a hint on the internal failure of the function.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 10/26/2012 11:54 PM, Seth Schultz wrote:
<blockquote cite="mid:508AF890.5030909@scholarchip.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hello,<br>
<br>
I am having an issue where rtpproxy_answer is failing in my
onreply_route block when processing 183 or 200 packets
(snippet below). This only happens on about 1% of the total
call volume.<br>
<blockquote>if (!rtpproxy_answer("eior"))<br>
{<br>
xlog("L_ERR", "UNABLE TO NEGOTIATE MEDIA");<br>
}<br>
</blockquote>
<ol>
<li>How can I determine what is causing rtpproxy_answer to
fail?</li>
<li>In what circumstances should I expect rtpproxy_answer to
fail?</li>
<li>What action should I take if this happens?<br>
</li>
</ol>
<p>Thank you very much for your time,<br>
Seth<br>
</p>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</blockquote>
<br>
</blockquote>
</body>
</html>