[Users] nathelper force_rtp_proxy onreply_route

OpenSer Users openser-users at list.coretech.ro
Fri Sep 23 13:18:45 CEST 2005


hello,

in SDP body sent out by the proxy the original media IP address is still 
present, the rtpproxy ip is added as a another line.
is this the correct behavior ? should I add some flags to remove the 
original media IP ?
for the invite this does not happen, the c= field is REWRITTEN with the 
ip received from the rtpproxy.

message received by openser:
============================================
v=0.
o=CiscoSystemsSIP-GW-UserAgent 4176 788 IN IP4 GW-IP-ADDRESS.
s=SIP Call.
c=IN IP4 GW-IP-ADDRESS.
t=0 0.
m=audio 17644 RTP/AVP 18.
c=IN IP4 GW-IP-ADDRESS.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=direction:passive.
============================================

message sent out by openser:
============================================
v=0.
o=CiscoSystemsSIP-GW-UserAgent 4176 788 IN IP4 GW-IP-ADDRESS.
s=SIP Call.
c=IN IP4 GW-IP-ADDRESS.
t=0 0.
m=audio 35784 RTP/AVP 18.
c=IN IP4 RTPPROXY-IP-ADDRESS.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=direction:passive.
a=nortpproxy:yes.
============================================

onreply_route block
============================================
        if(status =~ "(183)|2[0-9][0-9]") {
                if(!force_rtp_proxy()) {
                        log(3, "force_rtp_proxy FAILED");
                };
        };
============================================


thanks
Razvan Radu






More information about the Users mailing list