<div dir="ltr">Hello!<div>My opensips version is 3.1 with tm,dialog and rtpengine modules.</div><div>On incoming INVITE i'm creating an early dialog with 183 replies and i'm playing audio to caller with rtpengine, no t_relay() on this step, OS is acting as UAS endpoint.<br>If the caller cancels the invite with a CANCEL message - all works great.<br>But some users terminate dialog with BYE message.<br>1) on BYE with to-tag OS can't find dialog with match_dialog(), because to-tag presents.<br>2) if i use load_dialog_ctx($ci) -  it is possible to handle BYE.<br>3) in early dialog termination with BYE we also need to send final response to the INVITE transaction. <br><br>Maybe I did something wrong, but I can't handle the final response to INVITE in this case.<br></div></div>