<div dir="ltr">It seems no problem already. Everything works as expected.<div class="gmail_extra"><br clear="all"><div>--<br>Nick</div>
<br><br><div class="gmail_quote">2014-04-24 5:12 GMT+04:00 Nick Altmann <span dir="ltr"><<a href="mailto:nick.altmann@gmail.com" target="_blank">nick.altmann@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thank you. I'll try and report soon.<div class="gmail_extra"><br clear="all"><div>--<br>Nick</div>
<br><br><div class="gmail_quote">2014-04-23 18:49 GMT+04:00 Saúl Ibarra Corretgé <span dir="ltr"><<a href="mailto:saul@ag-projects.com" target="_blank">saul@ag-projects.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
Hi there,<br>
<div><br>
On Apr 19, 2014, at 8:18 PM, <a href="mailto:ag@ag-projects.com" target="_blank">ag@ag-projects.com</a> wrote:<br>
<br>
> 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.<br>
><br>
> We are hunting this bug now.<br>
><br>
> Adrian<br>
><br>
> On 19 Apr 2014, at 06:32, Hòa Nguyễn <<a href="mailto:hoanguyen2708@gmail.com" target="_blank">hoanguyen2708@gmail.com</a>> wrote:<br>
><br>
>> I suppose you've used engage_media_proxy() to allocate media session in OpenSIPS<br>
>> 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<br>
>> 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<br>
>><br>
<br>
</div>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.<br>
<br>
<br>
Cheers,<br>
<br><br></div></div><div class="">
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<br>
<br>
<br>
<br>
<br></div></blockquote></div><br></div></div>
</blockquote></div><br></div></div>