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
correct.
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
<rtpproxy_offer>

some config related:


version: opensips 3.1.0
mhomed=1
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] {
        rtpproxy_offer(ei);

}

route[rtpproxy_answer] {
        rtpproxy_answer(ei);

}

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:
127.0.0.1:2123 -F


Thank you in advance
-- 
Mario San Vicente
Cheers!
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to