[OpenSIPS-Users] Hide local IPs from SDP
Ahmed Shabana
a.shabana at cequens.com
Wed Mar 13 15:32:07 EDT 2019
Dears, First sorry it you received the below content of this email with wrong subject
The issue we face with some of our sip peers complaint that we sent in our SDP contains two 'c='
v=0.
o=- 1552491282093 1 IN IP4 192.168.104.200.
s=Our Local Private Media Server.
c=IN IP4 **192.168.104.200.**
t=0 0.
m=audio 36356 RTP/AVP 8 0 101.
c=IN IP4 **Public.Interface.RTPPRoxy.**
a=sendrecv.
a=rtcp:36357 IN IP4 Public.Interface.RTPPRoxy.
a=ptime:20.
a=rtpmap:0 pcmu/8000.
a=rtpmap:101 telephone-event/8000.
a=rtpmap:8 pcma/8000.
I am using RTPProxy inside the script just like below
rtpproxy_offer("nt60T60", "$avp(advertised_address)", "$avp(mediaSet)",)
rtpproxy_answer("ocnt50T50", "{{ ips.opensips }}","$avp(mediaSet)" , ) ;
how could I hide private IPs in above SDP that reach our trunk side ?
Best regards ,
Shabana
More information about the Users
mailing list