I totally agree with the rtpengine suggestion Outlook voor iOS<https://aka.ms/o0ukef> downloaden ________________________________ Van: Users <users-boun...@lists.opensips.org> namens John Quick <john.qu...@smartvox.co.uk> Verzonden: Thursday, January 21, 2021 10:40:18 AM Aan: users@lists.opensips.org <users@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@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users