Dear all,<div><br></div><div>I had to use both flags IE and EI in rtpproxy_offer and rtpproxy_anwser.</div><div><br></div><div>Now it's working fine.</div><div><br></div><div>Thanks a lot<br><br><div class="gmail_quote">
On 18 December 2012 13:39, Patrick Wakano <span dir="ltr"><<a href="mailto:pwakano@gmail.com" target="_blank">pwakano@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have configured a scenario very similar to yours and I had to use both the flags 'e' and 'i' accordingly to indicate the direction of the message when calling rtpproxy_offer() or rtpproxy_answer().<div>
<div>
I think, in your case, for INVITEs going to PSTN GW, you have to use the flags "ei", and for 200OK of this dialog use flags "ie". For INVITEs coming from the PSTN GW, you have to use flags "ie" and for 200Ok of this dialog use flags "ei".</div>
<div>If that doesn't work try to change the 'e' and 'i' order.</div></div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote"><div><div class="h5">On Fri, Dec 14, 2012 at 12:54 PM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div bgcolor="#FFFFFF" text="#000000">
<div><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><div>
<pre cols="72">Razvan Crainea
OpenSIPS Core Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a>
</pre></div><div><div>
On 12/14/2012 01:59 PM, Wesley Volcov wrote:<br>
</div></div></div><div><div>
<blockquote 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 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 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>
</div></div></div>
<br></div></div><div class="im">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
<br></div></blockquote></div><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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Wesley Volcov<br>Email: <a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a><br>Messenger: <a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a><br>
Skype: wesley.volcov<br>Mobile: +55 11 7999-7444<br>Website: <a href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a>
</div>