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

[reSIProcate] timeout question


Hi,

I am writing an UAS application and want it to know
when the ACK has been received or the SIP stack has
timed out on receving the ACK in the following case:

UAS                  Client
 | <----- INVITE -------|
 | ------ 200 OK ------>|
 | <----- ACK    -------|
 
 
Looks like the resip::SipStack::receive() only delivers
the INVITE to the application:

-- When it receives the ACK, it associates the ACK with
   the on-going transaction, cancels the timer, and
   deletes the transaction. It doesn't dispatch the ACK
   to the applicaion.
-- When it times out on ACK, it deletes the transaction
   internally.
   
Is there any way for the SIP stack to notify the application
on receving the ACK or timeout, something like a callback?
Or maybe I am not doing it in a correct way? Thanks a lot!

Zhiheng Mao
zmao@xxxxxxxxxxxx