[OpenSIPS-Users] Rtpproxy with mhomed option

Mario San Vicente mrsanvicente at gmail.com
Sat Feb 20 02:30:07 EST 2021

Hi Everyone,

I have been testing opensips with rtpproxy and it works really well on a
single interface server and its correct nating. But now that i want to run
a configuration with a wan and lan interface the ips at the SDP are not
I have seen in some blogs, that they use the flags (ie) to indicate if the
flow goes from internal to external,  but i am getting the following error:

opensips: CRITICAL:core:yyerror: parse error in
/usr/local/etc/opensips/opensips.cfg:520:22-23: bad arguments for command

some config related:

version: opensips 3.1.0
socket=udp:x.x.x.x:5060   # external
socket=udp:y.y.y.y:5060  # internal

loadmodule "rtpproxy.so"
modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:2123")
modparam("rtpproxy", "rtpproxy_autobridge", 1)

route[ rtpproxy _offer] {


route[rtpproxy_answer] {


NOTE: if a remove the flags (ei) , the dialog works, but with wrong media ip

For running rtpproxy

rtpproxy -l y.y.y.y -A x.x.x.x -m 10000 -M 20000 -d DBUG:LOG_LOCAL0 -s udp: -F

Thank you in advance
Mario San Vicente
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210219/7891c5e9/attachment.html>

More information about the Users mailing list