Notice that BYE is part of INVITE usages; it is not part of SUBSCRIBE usages.
"4.1. Invite Usages Created by: non-100 provisional responses to INVITE; 200 response to INVITE Destroyed by: 200 responses to BYE; certain failure responses to INVITE, UPDATE, PRACK, INFO, or BYE; anything that destroys a dialog and all its usages 4.2. Subscribe usages Created by: 200 class responses to SUBSCRIBE; 200 class responses to REFER; NOTIFY requests Destroyed by: 200 class responses to NOTIFY-terminated; NOTIFY or refresh-SUBSCRIBE request timeout; certain failure responses to NOTIFY or SUBSCRIBE; expiration without refresh if network issues prevent the terminal NOTIFY from arriving; anything that destroys a dialog and all its usages" > -----Original Message----- > From: shamik.s...@wipro.com [mailto:shamik.s...@wipro.com] > Sent: Thursday, April 16, 2009 9:45 AM > To: Brett Tate; attila.si...@vegastream.com > Cc: sip-implementors@lists.cs.columbia.edu > Subject: RE: [Sip-implementors] BYE after SUBSCRIBE? > > Hi Brett, > > In section 4 it is said that > > " Dialogs come into existence along with their first usage. Dialogs > terminate when their last usage is destroyed. The messages that > create and destroy usages vary per usage. This section provides a > high-level categorization of those messages. The section does not > attempt to explore the REGISTER pseudo-dialog." > > So since the invite transaction creates this dialog so this will be the > first and the founding usage of this dialogue. > > When we send the subscription request and gets back the 200OK the > subscribe usage is created which is the second usage within the initial > invite dialogue. > > > > So when we get a 481 in response to a BYE it will only terminate the > usage associated with that BYE transaction. > Which in our case will be the subscription usage. > > > However if the INVITE usage is destroyed after the esatblishment of the > subscription usage then the subscription usage will be the last usage > and its termination will terminate the dialog. > > > Otherwise,the initial INVITE transaction will be unaffected. > > It is said that 481 terminate the usage > > "Destroys Usage The error destroys the usage, but not the dialog. > Any other usages sharing this dialog are not affected." > > So I think since INVITE usage is the dialog creating usage,which is not > related to the BYE message it will be un-affected. > > Please let me know if my thoughts are wrong. > > > > Thanks and regards, > > Shamik Saha > Project Engineer > Voice Protocols > Cell : +91-9886704155 > > -----Original Message----- > From: Brett Tate [mailto:br...@broadsoft.com] > Sent: Thursday, April 16, 2009 6:56 PM > To: Shamik Saha (WT01 - Telecom Equipment) > Cc: sip-implementors@lists.cs.columbia.edu > Subject: RE: [Sip-implementors] BYE after SUBSCRIBE? > > Shamik, > > Please reread section 4 concerning the distinction between INVITE usage > and SUBSCRIBE usage. > > Per tables 1 and 2, BYE 481 applies to the INVITE usage. > > -brett > > > -----Original Message----- > > From: sip-implementors-boun...@lists.cs.columbia.edu [mailto:sip- > > implementors-boun...@lists.cs.columbia.edu] On Behalf Of > > shamik.s...@wipro.com > > Sent: Thursday, April 16, 2009 9:12 AM > > To: attila.si...@vegastream.com > > Cc: sip-implementors@lists.cs.columbia.edu > > Subject: Re: [Sip-implementors] BYE after SUBSCRIBE? > > > > But in RFC 5057 page 9,it is said that a 481 will terminate the > > SUBSCRIPTION usage but the INVITE usage dialogue within which the > > subscription is established will be un-affected. > > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you > are not the intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and destroy all > copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors