> -----Original Message-----
> From: Barry Desborough [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 22, 2001 6:41 AM
> To: [EMAIL PROTECTED] (E-mail)
> Subject: [Sip-implementors] Receiving BYE for an incompete INVITE
>
>
> I know that CANCEL/BYE questions have been discussed before,
> but I'm still
> not clear about this..
>
> I'm a UA. I receive an INVITE and I send provisional
> responses including
> ringing, but nobody's answering. I then receive a BYE (same
> leg, new CSeq).
> I send an OK to the BYE to stop retransmissions then, well
> nothing else
> happens. The INVITE transaction is left incomplete.
You should respond with a 487. bis-03 says:
A UAS receiving a BYE request MUST respond to any pending requests
received for that
call, including INVITE. It is RECOMMENDED that a 487 response is
generated.
This is on page 31 of the PDF.
> This
> complicates the implementaion in that I need to remember two
> CSeqs at some
> point.
This is required in any case. From bis-03:
A UA MUST NOT initiate a new
INVITE transaction within a call leg while one is in progress. A UA MUST NOT
initiate a new regular
transaction while a regular transaction is in progress. However, a UA MAY
initiate a regular transaction
while an INVITE transaction on the same call leg is in progress.
Is there a better way, or is the caller's behaviour
> incorrect in the
> first place?
Well, the UAC is supposed to send a CANCEL instead of a BYE:
>From 15.1 of bis-03:
If the UAC desires to end the call before a response is received to the
INVITE,itSHOULD send a
CANCEL.ThisCANCEL will normally result in a 487 response to be returned to
the INVITE, indicating
successful cancellation. However, it is possible that the CANCEL and a 200
class response to the INVITE
"pass on the wire". In this case, the UAC will receive a 2xx to the INVITE.
It then terminates the call by
following the procedures described in Section 15.4.
-Jonathan R.
---
Jonathan D. Rosenberg, Ph.D. 72 Eagle Rock Ave.
Chief Scientist First Floor
dynamicsoft East Hanover, NJ 07936
[EMAIL PROTECTED] FAX: (973) 952-5050
http://www.jdrosen.net PHONE: (973) 952-5000
http://www.dynamicsoft.com
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors