Ah, OK.

Since in my case I think the goal is to terminate the call, then I think this answers the question. I could see how the original question was somewhat ambiguous though. Thanks for the pointer..

Paul Kyzivat wrote:



David Stuart wrote:

So, just to be more explicit: the case is where the following happens

A ---> B  (INVITE)
A <--- B (TRYING)
A <--- B (RINGING)
A <--- B (OK)
A ---> B (ACK)
A <--> B (RTP)
A ---> B (re-INVITE)
A <--- B (TRYING)
A ---> B (???) Cancel, or Bye?


If you want to terminate the entire call, then I think you can send a BYE. If you want to terminate the reinvite and thus reinstate the call as it was before the reinvite, then you must send a CANCEL.

AFAIK, you can send a BYE within the dialog any time after the initial ACK has been sent.

    Paul


[EMAIL PROTECTED] wrote:

Hi David,

If you want to do a re-invite for the case where You did not get the final response (2xx) but only provisional response
than you should send "CANCEL" .


Regards,
Sreeram.


-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Stuart Sent: Wednesday, June 16, 2004 8:31 PM To: [EMAIL PROTECTED] Subject: [Sip-implementors] BYE, or CANCEL?


Hi All,

What is the correct thing to do on a re-INVITE. If we want to terminate the call but we have not yet received the final 2xx response for the re-INVITE, do we send a BYE or a CANCEL?

I am thinking BYE (since the re-INVITE is within a dialog), but am not
sure.






-- David Stuart, SIPquest Email: dave (at) sipquest (dot) com Phone: 254-8886 x234 Web: http://www.sipquest.com/ Address: 106 - 350 Terry Fox Drive, Kanata Ontario, K2K 2P5



_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to