On 22/02/2011 10:09, Iñaki Baz Castillo wrote:
> 2011/2/22 Iñaki Baz Castillo <[email protected]>:
>> 2011/2/22 Hank <[email protected]>:
>>> Since final response hasn't been sent by callee, BYE shouldn't even
be sent
>>> out by caller. The request should be canceled by sending out CANCEL.
>>
>> No, you are wrong. BYE is *valid*.
>
> 15 Terminating a Session
> [...]
> A UA MUST NOT send a
> BYE outside of a dialog. The caller's UA MAY send a BYE for either
> confirmed or early dialogs, and the callee's UA MAY send a BYE on
> confirmed dialogs, but MUST NOT send a BYE on early dialogs.
12.1 Creation of a Dialog
Dialogs are created through the generation of non-failure responses
to requests with specific methods. Within this specification, only
2xx and 101-199 responses with a To tag, where the request was
INVITE, will establish a dialog.
Therefore 100 Trying does not establish a dialog (which makes sense, as
it is not end-to-end, but hop-by-hop). BYE is therefore illegal until a
different provisional or final response is received.
--
Balint Menyhart
[email protected]
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors