> 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.
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