Hi,
I have a question. Suppose the situation that two
users (A, B) are connected.
Then user A sends re-INVITE to user B, but before
it receives a response it decides to hang-up.
My question is: can user A send BYE just
after the re-INVITE or it should wait for a response on the re-INVITE (and
send ACK before)?
Actually, you should send a CANCEL, not a
BYE.
After sending the CANCEL, you will receive a 200 OK
for that and then a 487 for the INVITE, and that's when you send the
ACK.
My understanding is that according to draft
(bis09) it is possible to send INVITE and BYE, since BYE is a regular
transaction and as that it can be send while INVITE is in progress. Is that
right? If so, how would user B behave in this situation?
You should be prepared to receive BYE after an INVITE to
accommodate those old RFC2543 compliant
implementations.
Regards,
Hisham
Regards, Jirka