[OpenSIPS-Users] rtpproxy_answer issue

Seth Schultz sschultz at scholarchip.com
Wed Oct 31 18:40:10 CET 2012


Bogdan,

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.

You can clearly see that on the 183 and 200, rtpproxy_answer isn't doing 
it's job (I just wish I knew why).

Any and all help is greatly appreciated.

Thanks,
Seth

Outbound SIP Routing:
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)

Outbound RTP Routing:
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)

Inbound SIP Routing:
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)

Inbound RTP Routing:
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)

Here are snippets of my onreply_route blocks:

...
onreply_route[INBOUND]
{
     #Handle rewriting critical IP addresses
     route(REWRITE);

     xlog("L_WARN", "\nCR -----> PR -----> CE $dlg_val(called) $ci $cs 
$rm $rs $rr onreply_route[INBOUND]");

     if (!t_was_cancelled() && has_body("application/sdp"))
     {
         #Enable RTPProxy with internal->external flags
         if (!rtpproxy_answer("ieor"))
         {
             xlog("L_ERR", "\nieor UNABLE TO NEGOTIATE MEDIA 
$dlg_val(called) $ci $cs $rm $rs $rr $rd route[INBOUND]");
         }
     }

     exit;
}
...
onreply_route[OUTBOUND]
{
     #Handle rewriting critical IP addresses
     route(REWRITE);

     xlog("L_WARN", "\nCR <----- PR <----- CE $dlg_val(called) $ci $cs 
$rm $rs $rr onreply_route[OUTBOUND]");

     if (!t_was_cancelled() && has_body("application/sdp"))
     {
         #Enable RTPProxy with external->internal flags
         if (!rtpproxy_answer("eior"))
         {
             xlog("L_ERR", "\nieor UNABLE TO NEGOTIATE MEDIA 
$dlg_val(called) $ci $cs $rm $rs $rr $rd route[OUTBOUND]");
         }
     }

     exit;
}
...

CALL SIP TRACE (with masking and notes):

udp:172.16.1.103:5060 -> udp:172.16.1.2:5060
INVITE sip:XXXXXXX4764 at 172.16.1.2 SIP/2.0
Via: SIP/2.0/UDP 172.16.1.103;rport;branch=z9hG4bKK5g6rgKDm91rF
Max-Forwards: 69
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 INVITE
Contact: <sip:gw+opensips at 172.16.1.103:5060;transport=udp;gw=opensips>
User-Agent: FS
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, 
REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 229
X-FS-Support: update_display,send_info
Remote-Party-ID: "Masked" 
<sip:YYYYYY0575 at 172.16.1.2>;party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1351653721 1351653722 IN IP4 172.16.1.103
s=FreeSWITCH
c=IN IP4 172.16.1.103
t=0 0
m=audio 27340 RTP/AVP 0 8 3 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20


udp:172.16.1.2:5060 -> udp:xxx.yyy.109.229:5060
INVITE sip:999150XXXXXXX4764 at gw.arctele.com SIP/2.0
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.0
Max-Forwards: 69
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 INVITE
Contact: <sip:xxx.yyy.115.19;did=2b1.52134a52>
User-Agent: FS
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, 
REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 249
X-FS-Support: update_display,send_info
Remote-Party-ID: "Masked" 
<sip:YYYYYY0575 at 172.16.1.2>;party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1351653721 1351653722 IN IP4 xxx.yyy.115.20 *rtpproxy_offer 
correctly rewrote 172.16.1.103 with RTPProxy external IP*
s=FreeSWITCH
c=IN IP4 xxx.yyy.115.20 *rtpproxy_offer correctly rewrote 172.16.1.103 
with RTPProxy external IP*
t=0 0
m=audio 36802 RTP/AVP 0 8 3 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=nortpproxy:yes


udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060
SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.0
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 INVITE
Content-Length: 0


udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.0
Record-Route: <sip:xxx.yyy.109.229;lr=on>
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 INVITE
Contact: <sip:XXXXXXX4764 at xxx.yyy.109.231:5080;transport=udp>
User-Agent: Masked
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Length: 0
X-FS-Support: update_display,send_info


udp:172.16.1.2:5060 -> udp:172.16.1.103:5060
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 172.16.1.103;rport;branch=z9hG4bKK5g6rgKDm91rF
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 INVITE
Contact: <sip:172.16.1.2;did=2b1.52134a52>
User-Agent: Masked
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Length: 0
X-FS-Support: update_display,send_info


udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.0
Record-Route: <sip:xxx.yyy.109.229;lr=on>
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 INVITE
Contact: <sip:XXXXXXX4764 at xxx.yyy.109.231:5080;transport=udp>
User-Agent: Masked
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 300
X-FS-Support: update_display,send_info

v=0
o=MASKED 2040649249 2040649250 IN IP4 xxx.yyy.109.231
s=MASKED
c=IN IP4 xxx.yyy.109.231
t=0 0
m=audio 18176 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=nortpproxy:yes
a=mptime:20 -
a=ptime:20


udp:172.16.1.2:5060 -> udp:172.16.1.103:5060
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 172.16.1.103;rport;branch=z9hG4bKK5g6rgKDm91rF
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 INVITE
Contact: <sip:172.16.1.2;did=2b1.52134a52>
User-Agent: Masked
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 300
X-FS-Support: update_display,send_info

v=0
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*
s=MASKED
c=IN IP4 xxx.yyy.109.231 *rtpproxy_answer failed and didn't correctly 
rewrite xxx.yyy.109.231 with 172.16.1.111*
t=0 0
m=audio 18176 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=nortpproxy:yes
a=mptime:20 -
a=ptime:20


udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.0
Record-Route: <sip:xxx.yyy.109.229;lr=on>
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 INVITE
Contact: <sip:XXXXXXX4764 at xxx.yyy.109.231:5080;transport=udp>
User-Agent: Masked
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 300
X-FS-Support: update_display,send_info

v=0
o=MASKED 2040649249 2040649250 IN IP4 xxx.yyy.109.231
s=MASKED
c=IN IP4 xxx.yyy.109.231
t=0 0
m=audio 18176 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=nortpproxy:yes
a=mptime:20 -
a=ptime:20


udp:172.16.1.2:5060 -> udp:172.16.1.103:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.16.1.103;rport;branch=z9hG4bKK5g6rgKDm91rF
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 INVITE
Contact: <sip:172.16.1.2;did=2b1.52134a52>
User-Agent: Masked
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 300
X-FS-Support: update_display,send_info

v=0
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*
s=MASKED
c=IN IP4 xxx.yyy.109.231 *rtpproxy_answer failed and didn't correctly 
rewrite xxx.yyy.109.231 with 172.16.1.111*
t=0 0
m=audio 18176 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=nortpproxy:yes
a=mptime:20 -
a=ptime:20


udp:172.16.1.103:5060 -> udp:172.16.1.2:5060
ACK sip:172.16.1.2;did=2b1.52134a52 SIP/2.0
Via: SIP/2.0/UDP 172.16.1.103;rport;branch=z9hG4bKp59etaDcXNH0F
Max-Forwards: 69
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 ACK
Contact: <sip:gw+opensips at 172.16.1.103:5060;transport=udp;gw=opensips>
Content-Length: 0


udp:172.16.1.2:5060 -> udp:xxx.yyy.109.229:5060
ACK sip:XXXXXXX4764 at xxx.yyy.109.231:5080;transport=udp SIP/2.0
Record-Route: <sip:xxx.yyy.115.19;lr;ftag=jFFeX0H5cmNDK>
Route: <sip:xxx.yyy.109.229;lr=on>
Via: SIP/2.0/UDP xxx.yyy.115.19;branch=z9hG4bK3065.5c632bf5.2
Max-Forwards: 69
From: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
To: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504466 ACK
Contact: <sip:xxx.yyy.115.19;did=2b1.52134a52>
Content-Length: 0


udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060
INFO sip:xxx.yyy.115.19;did=2b1.52134a52 SIP/2.0
Via: SIP/2.0/UDP xxx.yyy.109.229;branch=z9hG4bK6e65.6f3e25d3.0
Via: SIP/2.0/UDP xxx.yyy.109.231:5080;rport=5080;branch=z9hG4bKgr80UvtF7XcgQ
Max-Forwards: 68
From: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
To: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504475 INFO
Contact: <sip:XXXXXXX4764 at xxx.yyy.109.231:5080;transport=udp>
User-Agent: Masked
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: timer, precondition, path, replaces
Content-Type: message/update_display
Content-Length: 0
X-FS-Display-Name: Outbound Call
X-FS-Display-Number: 999900016XXXXXXX4764
Path: <sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'>


udp:172.16.1.2:5060 -> udp:172.16.1.103:5060
INFO sip:gw+opensips at 172.16.1.103:5060;transport=udp;gw=opensips SIP/2.0
Record-Route: <sip:172.16.1.2;lr;ftag=0r3t2jXaB8HrF>
Via: SIP/2.0/UDP 172.16.1.2;branch=z9hG4bK6e65.921d9907.0
Max-Forwards: 68
From: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
To: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504475 INFO
Contact: <sip:172.16.1.2;did=2b1.52134a52>
User-Agent: Masked
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: timer, precondition, path, replaces
Content-Type: message/update_display
Content-Length: 0
X-FS-Display-Name: Outbound Call
X-FS-Display-Number: 999900016XXXXXXX4764
Path: <sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'>


udp:172.16.1.103:5060 -> udp:172.16.1.2:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.16.1.2;branch=z9hG4bK6e65.921d9907.0
From: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
To: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504475 INFO
User-Agent: FS
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, 
REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Content-Length: 0


udp:172.16.1.2:5060 -> udp:xxx.yyy.109.229:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP xxx.yyy.109.229;branch=z9hG4bK6e65.6f3e25d3.0
Via: SIP/2.0/UDP xxx.yyy.109.231:5080;rport=5080;branch=z9hG4bKgr80UvtF7XcgQ
From: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
To: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504475 INFO
User-Agent: FS
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, 
REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Content-Length: 0


udp:xxx.yyy.109.229 -> udp:172.16.1.2:5060
BYE sip:xxx.yyy.115.19;did=2b1.52134a52 SIP/2.0
Via: SIP/2.0/UDP xxx.yyy.109.229;branch=z9hG4bK3e65.b4b0e3a3.0
Via: SIP/2.0/UDP xxx.yyy.109.231:5080;rport=5080;branch=z9hG4bKUUyHF6Kp7Z1Xp
Max-Forwards: 68
From: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
To: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504476 BYE
Contact: <sip:XXXXXXX4764 at xxx.yyy.109.231:5080;transport=udp>
User-Agent: Masked
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: timer, precondition, path, replaces
Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0
Path: <sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'>


udp:172.16.1.2:5060 -> udp:172.16.1.103:5060
BYE sip:gw+opensips at 172.16.1.103:5060;transport=udp;gw=opensips SIP/2.0
Record-Route: <sip:172.16.1.2;lr;ftag=0r3t2jXaB8HrF>
Via: SIP/2.0/UDP 172.16.1.2;branch=z9hG4bK3e65.9a0e87c.0
Max-Forwards: 68
From: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
To: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504476 BYE
Contact: <sip:172.16.1.2;did=2b1.52134a52>
User-Agent: Masked
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, NOTIFY
Supported: timer, precondition, path, replaces
Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0
Path: <sip:xxx.yyy.109.229;lr;received='sip:xxx.yyy.109.231:5080'>


udp:172.16.1.103:5060 -> udp:172.16.1.2:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.16.1.2;branch=z9hG4bK3e65.9a0e87c.0
From: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
To: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504476 BYE
User-Agent: FS
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, 
REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Content-Length: 0


udp:172.16.1.2:5060 -> udp:xxx.yyy.109.229:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP xxx.yyy.109.229;branch=z9hG4bK3e65.b4b0e3a3.0
Via: SIP/2.0/UDP xxx.yyy.109.231:5080;rport=5080;branch=z9hG4bKUUyHF6Kp7Z1Xp
From: <sip:XXXXXXX4764 at 172.16.1.2>;tag=0r3t2jXaB8HrF
To: "Masked" <sip:YYYYYY0575 at 172.16.1.2>;tag=jFFeX0H5cmNDK
Call-ID: a1d3a859-9dec-1230-51a9-85d0a5d992c4
CSeq: 35504476 BYE
User-Agent: FS
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, 
REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Content-Length: 0


On 10/29/2012 7:44 AM, Bogdan-Andrei Iancu wrote:
> Hi Seth,
>
> The function can fail in several cases: parsing error for reply, 
> cannot contact rtpproxy, invalid reply from rtpproxy, etc.
>
> 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.
>
> Regards,
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 10/26/2012 11:54 PM, Seth Schultz wrote:
>> Hello,
>>
>> 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.
>>
>>     if (!rtpproxy_answer("eior"))
>>             {
>>                 xlog("L_ERR", "UNABLE TO NEGOTIATE MEDIA");
>>             }
>>
>>  1. How can I determine what is causing rtpproxy_answer to fail?
>>  2. In what circumstances should I expect rtpproxy_answer to fail?
>>  3. What action should I take if this happens?
>>
>> Thank you very much for your time,
>> Seth
>>
>>
>> _______________________________________________
>> 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/20121031/ff9f844e/attachment-0001.htm>


More information about the Users mailing list