Guys, Have a quick question here.
A Sends a INVITE to B & C. A recieves a 180 Ringing from both B & C. Now B declines & C also declines. In this scenario A should not be getting a 200 OK (INVITE) So what shall A be getting? There is a SIP Server in between A & B/C. SIP Server is sending NOTIFY for each action B & C performed to A. Now after Server realizes that all participants have declined, should it send a SIP BYE to A? So that A can terminte the session? -Mayank -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Paul Kyzivat Sent: Wednesday, June 16, 2004 8:35 AM To: David Stuart Cc: [EMAIL PROTECTED] Subject: Re: [Sip-implementors] BYE, or CANCEL? 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. >> >> >> > _______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
