[OpenSIPS-Users] Change SDP when re-directed

Mark Farmer farmorg at gmail.com
Fri Aug 16 06:35:33 EDT 2019


Good morning

I'm having a problem with SDP info when a call results in 486, 603 etc.
OpenSIPS is running in mhomed mode with 2 interfaces, the phones are behind
NAT & working nicely but when the call is routed to Asterisk, the SDP needs
to change such that the internal IP's are used.

rtpproxy_offer etc is used for the initial call so I tried using 2 calls to
fix_nated_sdp to change the c & o parameters but that seems to append the
new IP to the existing one followed by rewritehostport & force_send_socket

How should I correctly handle this?

Many thanks
Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190816/cb0ae113/attachment.html>


More information about the Users mailing list