What's the problem? Maybe I didn't read closely enough, but I see your configuration stated, but no specific mention of what isn't working properly.<div><br></div><div><br><br><div class="gmail_quote">On Wed, Sep 30, 2009 at 3:57 AM, Jan D. <span dir="ltr"><<a href="mailto:j-doedel@zonnet.nl">j-doedel@zonnet.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
I'm having problems with force_rtp_proxy(). My final goal is to use rtp_proxy<br>
for user to user calls (not outbound).<br>
<br>
I compiled opensips 1.5.3 on a Debian Unstable system. Als used apt-get to<br>
install rtpproxy. It runs under user opensips.<br>
<br>
If I use force_rtp_proxy() the new IP address (77.20.20.1) (in the body) is<br>
placed behind the old IP address (89.10.10.1):<br>
Connection Address: 89.10.10.177.20.20.1<br>
<br>
Here the nathelper config:<br>
<br>
loadmodule "nathelper.so"<br>
modparam("nathelper", "natping_interval", 60)<br>
modparam("nathelper", "ping_nated_only", 1)<br>
modparam("nathelper", "sipping_from", "<a href="mailto:sip%3Anatping@sip3.sollie.nl">sip:natping@sip3.sollie.nl</a>")<br>
modparam("nathelper", "received_avp", "$avp(i:801)")<br>
modparam("nathelper", "sipping_bflag", 6)<br>
modparam("nathelper", "rtpproxy_sock",<br>
"unix:/var/run/rtpproxy/rtpproxy.sock")<br>
<br>
This is how I use rtpproxy:<br>
<br>
# rtp proxy for local to local<br>
if(has_body("application/sdp"))<br>
{<br>
xlog("L_INFO"," INFO: force_rtp_proxy\n");<br>
force_rtp_proxy();<br>
t_on_reply("2");<br>
}<br>
<br>
t_relay("0x05");<br>
<br>
I also tried to set options but without any success.<br>
<br>
Can anyone help or give a hint?<br>
<br>
Jan<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://n2.nabble.com/rtp-proxy-issue-tp3741507p3741507.html" target="_blank">http://n2.nabble.com/rtp-proxy-issue-tp3741507p3741507.html</a><br>
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</font></blockquote></div><br></div>