[OpenSIPS-Users] Mediaproxy configuration
Johan De Clercq
johan at democon.be
Thu Jan 21 10:21:05 EST 2021
I totally agree with the rtpengine suggestion
Outlook voor iOS<https://aka.ms/o0ukef> downloaden
________________________________
Van: Users <users-bounces at lists.opensips.org> namens John Quick <john.quick at smartvox.co.uk>
Verzonden: Thursday, January 21, 2021 10:40:18 AM
Aan: users at lists.opensips.org <users at lists.opensips.org>
Onderwerp: Re: [OpenSIPS-Users] Mediaproxy configuration
Mark,
I recommend using rtpproxy (or possibly rtpengine) rather than mediaproxy
for your situation.
You need the address in the SDP to be the public IP 4x.xxx.xxx.xxx when it
is sending packets to the UAC but you need it to use its LAN address when
sending to the Asterisk server.
This is what bridge mode (or bridging mode) is used for, although the last
time I built a solution like this I didn't use bridge mode and instead
passed the relevant IP address as an argument when calling the rtpproxy
activation functions. Unfortunately, the latter approach means your
opensips.cfg script will need to be much more complicated.
I suspect your problem when using mediaproxy and advertised_ip =
4x.xxx.xxx.xxx is that it will pass that address to Asterisk in the SDP. In
which case, you might be able to get audio if you look at the network route
Asterisk would use to reach/connect to 4x.xxx.xxx.xxx and make sure the
mediaproxy relay is reachable. However, that does not sound like a good
solution to me - much better if Asterisk talks to the relay directly over
the LAN.
John Quick
Smartvox Limited
Web: www.smartvox.co.uk<http://www.smartvox.co.uk>
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210121/d62edfb4/attachment-0001.html>
More information about the Users
mailing list