Hi<br>I need to let the UAs speak directly to each other without force rtpproxy, Is there any solution for this issue?<br><br>rafael<br><br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">
Rafael J. Risco G.V.</b> <<a href="mailto:rafael.risco@gmail.com">rafael.risco@gmail.com</a>><br>Date: Apr 22, 2005 2:17 PM<br>Subject: UA´s behind same NAT using na thelper/rtpproxy, No Audio...<br>To: <a href="mailto:serusers@lists.iptel.org">
serusers@lists.iptel.org</a><br><br></span>I am using avpops to enable SER to see if the UAs are located behind<br>the same address and now I need to let the UAs speak directly to each<br>other (without force rtpproxy), please someone see my configuration
<br>below and send some advice.<br><br>rafael<br><br>----.<br> if (!lookup("location")) {<br> log(1,"unable to locate user \n");<br> # handle user which was not found
<br> route(4);<br> break;<br> };<br><br> ### Test if UAS are in the same NAT:<br> # get the host part of the final uri (IP part)<br> # and store it in AVP ID 13
<br><br> avp_write("$ruri/domain", "i:13");<br> if (avp_check("i:13","eq/$src_ip/i")) {<br> log(1, "source IP is the same as destination IP\n");
<br> route(3);<br> break;<br> };<br> avp_delete("i:13/g");<br>.<br>.<br># -------------- Same NAT Call Routing (no force rtpproxy) ----<br>
<br>route[3]{<br> log(1," route[3]: UAs are in the same nat, NO force_rtp_proxy ");<br><br>### Do something!!!!<br><br> if(!t_relay()){<br> sl_reply_error();<br> };<br>}<br>