Regards,
-------------------------------------------
Nataraju A.B.
Huawei Technologies India Pvt. Ltd.,
Tel : +91-80-5217152 / 4 Xtn 142
-------------------------------------------
----- Original Message -----
From: "Rajeev Singh Nikkumbh" <[EMAIL PROTECTED]>
To: "sindhur" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, August 08, 2003 9:04 AM
Subject: Re: [Sip-implementors] Bye Vs Cancel


> > Bye. I was on the impression that Bye is used to cancel requests that
> > have already established a session;
>
> [RSN] Absolutely true. BYE  indicates that the user wishes to terminate
> an established session or dialog.
>
>
> > for instance in Invite after
> > receiving an Ack for a 200OK; but the RFC clearly says: section 15
> > paragraph 1
> > " The BYE request is used to terminate a specific session or attempted
> > session"  and
> > "The caller's UA MAY send a BYE for either confirmed or early
dialogs....."
>
> [RSN]Definetely you can send a BYE instead of CANCEL , but remember BYE is
> used to  terminate the establised session so, until the  "phone" is
> physically picked up , it will continue to ring.
>
> for example : let us suppose 'A' establishes a parallel connection to
> phones 'B' & 'C'.
>
> Now, let us take few  simple cases:
>
> case 1:
>
> Both phone 'B' & 'C' will continue to ring! until unless it is picked up,
> so that the BYE can be ACKED.
>
> In that case, CANCEL is send to cancel INVITE to terminate the session,
> else it will continue to ring.
>
> case 2:
>
> If both the phones are ringing and 'A' wants to hang up !.
> Hanging up the ringing call should CANCEL the INVITE and not send
> a BYE.
>
> [ABN] to add on... The CANCEL could be used by the caller to cancel the
INVITE while calle can only use the BYE to terminate the session... (here
assume the caller or callee is assumed to be the one who initiates this Txn
because CANCEL could be used for any request cancellation....)

> I hope this helps.
>
>
> Regards,
> Raj.
>
> >
> >  If we can do all this with a Bye why Cancel?
> >
> >  Thanks,
> >  Sindhur.
> >
> >
> >
> > _______________________________________________
> > 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

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

Reply via email to