[OpenSIPS-Users] rtp proxy issue

Jan D. j-doedel at zonnet.nl
Wed Sep 30 10:57:27 CEST 2009


I'm having problems with force_rtp_proxy(). My final goal is to use rtp_proxy
for user to user calls (not outbound).

I compiled opensips 1.5.3 on a Debian Unstable system. Als used apt-get to
install rtpproxy. It runs under user opensips.

If I use force_rtp_proxy() the new IP address (77.20.20.1) (in the body) is
placed behind the old IP address (89.10.10.1):
Connection Address: 89.10.10.177.20.20.1

Here the nathelper config:

loadmodule "nathelper.so"
modparam("nathelper", "natping_interval", 60)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "sipping_from", "sip:natping at sip3.sollie.nl")
modparam("nathelper", "received_avp", "$avp(i:801)")
modparam("nathelper", "sipping_bflag", 6)
modparam("nathelper", "rtpproxy_sock",
"unix:/var/run/rtpproxy/rtpproxy.sock")

This is how I use rtpproxy:

# rtp proxy for local to local
if(has_body("application/sdp"))
{
xlog("L_INFO"," INFO: force_rtp_proxy\n");
force_rtp_proxy();
t_on_reply("2");
}

t_relay("0x05");

I also tried to set options but without any success.

Can anyone help or give a hint?

Jan

-- 
View this message in context: http://n2.nabble.com/rtp-proxy-issue-tp3741507p3741507.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list