[OpenSIPS-Users] rtpengine media-address
razvan at opensips.org
Thu Dec 14 09:31:05 EST 2017
It would be nice if you could tell us your opensips version.
Did you try to add two interfaces to the rtpengine daemon like:
And when using the rtpengine_* functions, call them using "in-iface=priv
out-iface=pub", or the other way around.
On 12/14/2017 01:40 PM, Ziv Gabel wrote:
> I have an rtpengine instance with one interface behind nat
> I’m trying to achieve the following
> If the INVITE/200 message arrives from an internal ip (10.x.x.x)
> change the media address to the internal ip
> If the INVITE/200 message arrives from external ip (any other) change
> the media address to the public ip of the server.
> I’m using rtpengine_offer and rtpengine_answer
> But it looks like no matter what I put in the media-address flag, it
> will always use the internal ip address.
> What am I doing wrong ?
> Rtp engine runs with --interface=10.108.132.110 flag, and this ip is
> always on the c= parameter in sdp
> I tried to use replace-session-connection and replace-origin flags but
> still not working.
> *Ziv Gabel *l**Professional services**l**CommuniTake Technologies Ltd.
> *M*: +972535265553 l***Skype*: ziv_gabel l*E*: ziv at communitake.com
> <mailto:ziv at communitake.com>
> *T*: +972.4.696.8908 l*F*: +972.4.959.1654 lwww.communitake.com
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users