Hi, This makes no sense to me:
Wrong. BYE can be used to terminate a *specific* dialog (answered or not answered yet). Because... RFC 3261 From section 9.1: If the original request has generated a final response, the CANCEL SHOULD NOT be sent, as it is an effective no-op, since CANCEL has no effect on requests that have already generated a final response. From section 15: However, the callee’s UA MUST NOT send a BYE on a confirmed dialog until it has received an ACK for its 2xx response or until the server transaction times out. (...) The impact of a non-2xx final response to INVITE on dialogs and sessions makes the use of CANCEL attractive. (...) The UAC MAY continue with the sessions established by any 2xx responses, or MAY terminate them with BYE. (...) Typically, when the user hangs up, it indicates a desire to terminate the attempt to establish a session, and to terminate any sessions already created. For the caller’s UA, this would imply a CANCEL request if the initial INVITE has not generated a final response, and a BYE to all confirmed dialogs after a final response. :) If UAS wants to finish some dialog not established, it must send an non-2XX final response or send an 2XX response followed by an BYE. Leonardo ________________________________ De: Iñaki Baz Castillo <[email protected]> Para: "Pavesi, Valdemar (NSN - US/Irving)" <[email protected]> Cc: [email protected] Enviadas: Terça-feira, 26 de Julho de 2011 7:36 Assunto: Re: [Sip-implementors] BYE before call answer 2011/7/25 Pavesi, Valdemar (NSN - US/Irving) <[email protected]>: > BYE must be used to terminated the calls after answer. Wrong. BYE can be used to terminate a *specific* dialog (answered or not answered yet). -- Iñaki Baz Castillo <[email protected]> _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
