> Firstly what is the purpose of clearing an early dialog.
> In which cases this is suppose to happen.

If you are asking what is purpose of sending BYE over an early dialog, it is
to release the specific early dialog without cancelling the INVITE.  For
instance if the caller notices simultaneous ringing is occurring (such as
ringing husband/wife phones or home/office phones), the caller may desire to
send BYE over early dialog to avoid the call being answered at the
non-desired location.

<snip>


> Also It’s absolutely crucial that Peer side 487 be sent.

RFC 3261 requires sending a final response.


> Otherwise, any stateful proxies will not properly release
> the session.

RFC 3261 section 9.1 describes the potential of not receiving a final
response.  However, section 16 might describe the behavior better from a
proxy perspective.

RFC 3261 section 9.1:

"Note that both the transaction corresponding to the original request
and the CANCEL transaction will complete independently.  However, a
UAC canceling a request cannot rely on receiving a 487 (Request
Terminated) response for the original request, as an RFC 2543-
compliant UAS will not generate such a response.  If there is no
final response for the original request in 64*T1 seconds (T1 is
defined in Section 17.1.1.1), the client SHOULD then consider the
original transaction cancelled and SHOULD destroy the client
transaction handling the original request."
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to