<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hi, Wesley!<br>
<br>
How exactly have you used the E/I flags? Have you tried to
combine them rtpproxy("ie") or rtpproxy("ei")? Taking a look in
the Rtpproxy code, it's kind of awkward how these flags are
handled.<br>
<br>
Best regards,</tt>
<pre class="moz-signature" cols="72">Razvan Crainea
OpenSIPS Core Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
On 12/14/2012 01:59 PM, Wesley Volcov wrote:<br>
</div>
<blockquote
cite="mid:CACT9mjm0YmsX=M=tN5hggpQ=-yAsG2RcSyVWN0wX3vrTFZePZQ@mail.gmail.com"
type="cite">Hey Guys,
<div><br>
</div>
<div>Some ideas?</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Wesley Volcov<br>
<br>
<div class="gmail_quote">On 11 December 2012 11:35, Wesley
Volcov <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,
<div><br>
</div>
<div>I could fix the rtpproxy problem, it was a compilation
problem.</div>
<div><br>
</div>
<div>
But now, I'm having a audio problem.</div>
<div><br>
</div>
<div>Let me explain:</div>
<div><br>
</div>
<div>
I have a Opensips with 2 IP addres, a public one
(200.0.0.1) and a private one (10.0.0.1).</div>
<div><br>
</div>
<div>The orignation endppint is in the private network (IP
TEL), the PSTN gateway is in the public network.</div>
<div><br>
</div>
<div>I receive a call from the IP TEL and send it to the
gateway.</div>
<div><br>
</div>
<div>In the INVITE that the Opensips sends to the PSTN
gateway, I see the Public IP in the CIN parameter, but in
the 200 OK that the Opensips sends to the TEL IP I see the
public IP to, and call goes to one way audio.</div>
<div>The Opensips should send the private IP in the 200OK to
the IP TEL.</div>
<div><br>
</div>
<div>RTPPROXY run command: /usr/local/bin/rtpproxy -l
200.0.0.1 10.0.0.1 -s udp:<a moz-do-not-send="true"
href="tel:127.0.0.1%207890" value="+551270017890"
target="_blank">127.0.0.1 7890</a> -F -m 10000 -M 20000
-d DBUG</div>
<div><br>
</div>
<div>Opensips:</div>
<div>
<div>if (is_method("INVITE")){</div>
<div> rtpproxy_offer("","200.0.0.1");</div>
<div> }</div>
<div><br>
</div>
<div>
<div>onreply_route [ONREPLY] {</div>
<div><br>
</div>
<div> rtpproxy_answer("","10.0.0.1");</div>
</div>
<div>}</div>
<div><br>
</div>
<div>I've tried some parametes in the rtpproxy like FW, I,
E, but I had the same result.</div>
<div>
<br>
</div>
<div>I'am missing some thing?</div>
<div><br>
</div>
<div>Please, help me guys.</div>
<div><br>
</div>
<div>Thanks a lot</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>