According to your call-flow UA is sending BYE with authentication
credentials corresponding to the 401 for INVITE. Now Server/SIP-Proxy
usually uses a nonce value with a timestamp portion in it so as to protect
from replay or stale responses. So probably your response credential in BYE
is using a stale nonce (from 401 for Invite). I think solution is to send
the BYE first without credential and when a 401 is received generate the new
credentials accordingly and resend BYE with that.



Nittin Dutt
Newport Networks


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ravi Rupela
Sent: 14 September 2006 12:21
To: [email protected];
[EMAIL PROTECTED]
Subject: [Sip-implementors] Repeat Bye Request with Wrong Credentials

hi,
  I have doubt regarding repeated Bye request with wrong Authentication 
credential ....


                                              
UA                                                    SIP Proxy/B2BUA
 
                                                        Invite
                                                
----------------------------->
                                                         401 (Unauthorised)
                                                 
<----------------------------
                                                          Ack
                                                 
------------------------------>
                                                          Invite with 
Credential
                                                 
--------------------------------->
                                                              200 OK
                                                 
<---------------------------------
                                                                     Bye
                                                    
-------------------------------->
                                                                 
401(Unauthorised)
                                                    
<--------------------------------
                                                                    
Bye(Wrong Credential)
                                                   
----------------------------------->
                                                                
401(Unauthorised)
                                                    
<------------------------------------
                                                                      
Bye(Wrong Credential)
                                                  
-------------------------------------->           What Should I do now 
UA keeps sending Bye with Wrong Credentials?                       
Thanking you,
                          



    
                                       

-- 
Confidence comes not from always being right but from not fearing to be
wrong.....

Ravi Rupela
Software Engineer
EliteCore Technologies



-- 
Confidence comes not from always being right but from not fearing to be
wrong.....

Ravi Rupela
Software Engineer
EliteCore Technologies




_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors




---------------
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
---------------

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to