Re: The stack sets dialog state to TERMINATED on sending aBYE request!

"Jeroen van Bemmel" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <012101c6f2d3$c4540620$0601a8c0@BEMBUSTER>
Hi Duy,

You are right, this is wrong behavior. Fix in CVS, now a flag is set 
instead, which disallows sending of new requests (except BYE to answer a 
challenge)

Regards,
Jeroen
  ----- Original Message ----- 
  From: Pham Nguyen, Quang Duy
  To: [email protected]
  Sent: Wednesday, October 18, 2006 5:23 PM
  Subject: [nist-sip] The stack sets dialog state to TERMINATED on sending 
aBYE request!


  Hi,

  I've just found a problem within the SIP stack. It sets the dialog state 
to TERMINATED as soon as I send out a BYE request without waiting for the 
response. This behavior is not standard conform (please see chapter 15.1 
"Terminating a Session with a BYE Request" of RFC 3261)!

  This behavior causes serious problem in enviroment where security is 
enabled (authentication is required). When a user sends a BYE to drop a 
call, the belonging dialog will be set to TERMINATED. The BYE request will 
not be accepted immediately by the PBX, that responds with '401 
Unauthorized' including a challenge. The user then try to resend the BYE 
request (this time including the response to the challenge) using a new 
client transaction. By creating the new client transaction the dialog in 
state TERMINATED will be removed from the dialog table. For some reasons 
(under heavy load) the PBX again responds with '401 Unauthorized' and this 
time the call to clientTransaction.getDialog() will return NULL and the user 
can not send BYE to drop the call any more! Please find attached the debug 
logs of the described scenario.

  The stack should wait for the response for the BYE request before setting 
the state of the dialog to TERMINATED.

  regards,
  Duy



------------------------------------------------------------------------------


  _______________________________________________
  nist-sip mailing list
  [email protected]
  http://www-x.antd.nist.gov/mailman/listinfo/nist-sip

_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.