<div dir="ltr"><div><div>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>
</div>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>
</div></div>