[OpenSIPS-Users] Mediaproxy and ICE

Nick Altmann nick.altmann at gmail.com
Fri May 2 07:50:35 CEST 2014


It seems no problem already. Everything works as expected.

--
Nick


2014-04-24 5:12 GMT+04:00 Nick Altmann <nick.altmann at gmail.com>:

> Thank you. I'll try and report soon.
>
> --
> Nick
>
>
> 2014-04-23 18:49 GMT+04:00 Saúl Ibarra Corretgé <saul at ag-projects.com>:
>
>> Hi there,
>>
>> On Apr 19, 2014, at 8:18 PM, ag at ag-projects.com wrote:
>>
>> > I acknowledge that there is is a bug in MediaProxy when engaging ICE.
>> The timeout after 3 minutes is kicking in sometimes when it should not be.
>> >
>> > We are hunting this bug now.
>> >
>> > Adrian
>> >
>> > On 19 Apr 2014, at 06:32, Hòa Nguyễn <hoanguyen2708 at gmail.com> wrote:
>> >
>> >> I suppose you've used engage_media_proxy() to allocate media session
>> in OpenSIPS
>> >> You might want to know that if mediaproxy-relay receive a little
>> traffic from phone then don't receive anything anymore in the next 180s, it
>> will assume that your phone has been crash or something and close the
>> session, then if you use engage_media_proxy(), the relay will send the
>> signal to the dispatcher to close the dialog, hence make OpenSIPS send BYE
>> to both of phones
>> >> I think in your situation, it can be that your phone first will send
>> RTP to mediaproxy-relay first, then it decides to make a P2P connection and
>> success, then it will uses the P2P and don't send anything to relay
>> anymore, that make relay release the session and close your call. The
>> solution is not using engage_media_proxy, instead using
>> use_media_proxy/end_media_session
>> >>
>>
>> I managed to catch (and hopefully fix!) the bug. We tested it and it
>> works, but some extra testing would be nice. You can find the patch
>> attached, which can be applied against the 2.6.0 release.
>>
>>
>> Cheers,
>>
>>
>> --
>> Saúl Ibarra Corretgé
>> AG Projects
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140502/aa19d01f/attachment.htm>


More information about the Users mailing list