Hi Radu,

the replacement if ok - to understand more please refer to the SDP RFC to see how the SDP is composed.

regards,
bogdan

OpenSer Users wrote:

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



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to