[OpenSIPS-Users] RTP Proxy problem
Wesley Volcov
wesleyvolcov at gmail.com
Thu Dec 20 21:12:44 CET 2012
Dear all,
I had to use both flags IE and EI in rtpproxy_offer and rtpproxy_anwser.
Now it's working fine.
Thanks a lot
On 18 December 2012 13:39, Patrick Wakano <pwakano at gmail.com> wrote:
> 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().
> 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".
> If that doesn't work try to change the 'e' and 'i' order.
>
>
>
>
> On Fri, Dec 14, 2012 at 12:54 PM, Răzvan Crainea <razvan at opensips.org>wrote:
>
>> Hi, Wesley!
>>
>> 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.
>>
>> Best regards,
>>
>> Razvan Crainea
>> OpenSIPS Core Developerhttp://www.opensips-solutions.com
>>
>> On 12/14/2012 01:59 PM, Wesley Volcov wrote:
>>
>> Hey Guys,
>>
>> Some ideas?
>>
>> Regards,
>>
>> Wesley Volcov
>>
>> On 11 December 2012 11:35, Wesley Volcov <wesleyvolcov at gmail.com> wrote:
>>
>>> Dear all,
>>>
>>> I could fix the rtpproxy problem, it was a compilation problem.
>>>
>>> But now, I'm having a audio problem.
>>>
>>> Let me explain:
>>>
>>> I have a Opensips with 2 IP addres, a public one (200.0.0.1) and a
>>> private one (10.0.0.1).
>>>
>>> The orignation endppint is in the private network (IP TEL), the PSTN
>>> gateway is in the public network.
>>>
>>> I receive a call from the IP TEL and send it to the gateway.
>>>
>>> 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.
>>> The Opensips should send the private IP in the 200OK to the IP TEL.
>>>
>>> RTPPROXY run command: /usr/local/bin/rtpproxy -l 200.0.0.1 10.0.0.1 -s
>>> udp:127.0.0.1 7890 -F -m 10000 -M 20000 -d DBUG
>>>
>>> Opensips:
>>> if (is_method("INVITE")){
>>> rtpproxy_offer("","200.0.0.1");
>>> }
>>>
>>> onreply_route [ONREPLY] {
>>>
>>> rtpproxy_answer("","10.0.0.1");
>>> }
>>>
>>> I've tried some parametes in the rtpproxy like FW, I, E, but I had the
>>> same result.
>>>
>>> I'am missing some thing?
>>>
>>> Please, help me guys.
>>>
>>> Thanks a lot
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
Wesley Volcov
Email: wesleyvolcov at gmail.com
Messenger: volcov at live.com
Skype: wesley.volcov
Mobile: +55 11 7999-7444
Website: http://volcov.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121220/4a9cd007/attachment.htm>
More information about the Users
mailing list