< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[sipxtapi-dev] Connection hangs on authenticated BYE


I'm using a recent sipXtapi version and get the following problem:

  1. I successfully establish a connection.
  2. I terminate the connection and the stack sends a BYE with a CSEQ
     of e.g. 4711
  3. The PBX sends back a status with 401 and indicates that the
     request must be authenticated
  4. The stack send an authenticated BYE with a new CSEQ of 4712 (using
     incremet function of the SipMessage). This seems to complete the
     transaction startet in point 2 and starts a new one.
  5. The PBX sends back an OK but the stack does not accept it because
     the mCSeqMgr of the SipConnection object is still at 4711. It
     waits for ever for the response to the BYE.

I don't how and where I should update the current transaction. Can anybody help?

Regards,
Andreas