[SR-Users] Keeping transactions in standby till future events

Henning Westerholt henning.westerholt at 1und1.de
Mon Jun 20 11:06:14 CEST 2011


On Monday 20 June 2011, Gustavo Garcia Bernardo wrote:
> Is it possible to configure sip-router to keep a transaction for an
> incoming message (f.e. an INVITE) without sending a response and without
> forwarding it, and then reference and complete it in the future?
> 
> Using pseudocode this is the logic I would like to implement:
> [..]

Hi Gustavo,

as Alex already wrote, its probably not the best or correct thing to do - but 
have you already looked to the tm module? It provides some asynchronous 
support. From the module README:

"[t_supend] This function together with t_continue() can be used to implement 
asynchronous actions: t_suspend() saves the transaction, returns its 
identifiers, and t_continue() continues the SIP request processing."

Maybe this is helpful,

Henning



More information about the sr-users mailing list