If the UAC continues to send the request will invalid credentials, after a few failures you could respond with 403 Forbidden and hopefully that will stop the UA from sending additional BYEs. I have seen this in some implementations. For example, a "three strikes and your out" approach.
UAC UAS | | | BYE (w/o credentials) | |----------------------->| | 401 w/challenge | |<-----------------------| | | | | |BYE (w/bad credentials) | |----------------------->| | 401 w/challenge | |<-----------------------| | | | | |BYE (w/bad credentials) | |----------------------->| | 403 Forbidden | |<-----------------------| | | cheers, (-:bob Robert F. Penfield Chief Software Architect Acme Packet, Inc. 71 Third Avenue Burlington, MA 01803 [EMAIL PROTECTED] ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, September 14, 2006 10:44 PM Subject: Re: [Sip-implementors] Repeat Bye Request with Wrong Credentials > From: Ravi Rupela <[EMAIL PROTECTED]> > > What Should I do now UA keeps sending Bye with Wrong Credentials? > > If you are the developer of the UA, you should fix the UA so that it > uses the information in the 401 response to compute correct > credentials for a new BYE. (Remember to increment CSeq!) > > If you are the developer of the proxy, then it should respond to each > BYE with 401, because each BYE has incorrect credentials. > > Dale > _______________________________________________ > 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
