Hi Miklos!

This sounds great. Can you make a sample function which uses the new 
feature?

Can this also be used for DNS lookups and TCP/TLS connection setup?

Further, also for Kamailio cooperation better documentation would be 
needed. Thus, instead of writing long CVS commit messages I think it 
would be better to write the text into the module documentation, and 
then copy/paste it into the CVS commit.

regards
Klaus

Miklos Tirpak wrote:
> tirpi       2008/11/10 13:47:03 CET
> 
>   SER CVS Repository
> 
>   Modified files:
>     modules/tm           t_cancel.c t_fwd.c t_reply.c t_reply.h 
>                          tm.c tm_load.c tm_load.h 
>   Added files:
>     modules/tm           t_suspend.c t_suspend.h 
>   Log:
>   t_suspend() and t_continue() functions are introduced.
>   
>   These fuctions can be used by other modules to implement
>   asynchronous actions: t_suspend() saves the transaction, returns its
>   identifiers, and t_continue() continues the SIP request processing.
>   (The transaction processing does not continue from the same point
>   in the script, a separate route block defined by the parameter of
>   t_continue() is executed instead. The reply lock is held during the
>   route block execution.) FR timer is ticking while the
>   transaction is suspended, and the transaction's failure route is
>   executed if t_continue() is not called in time.
>   
>   Missing: msg lumps are saved by t_suspend() and are not updated by
>   the subsequent t_relay(). This means that the modifications made
>   between them are lost.
>   
>   Revision  Changes    Path
>   1.32      +7 -2      sip_router/modules/tm/t_cancel.c
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/tm/t_cancel.c.diff?r1=1.31&r2=1.32
>   1.107     +8 -2      sip_router/modules/tm/t_fwd.c
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/tm/t_fwd.c.diff?r1=1.106&r2=1.107
>   1.162     +4 -4      sip_router/modules/tm/t_reply.c
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/tm/t_reply.c.diff?r1=1.161&r2=1.162
>   1.31      +7 -1      sip_router/modules/tm/t_reply.h
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/tm/t_reply.h.diff?r1=1.30&r2=1.31
>   1.1       +154 -0    sip_router/modules/tm/t_suspend.c (new)
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/tm/t_suspend.c?rev=1.1&content-type=text/plain
>   1.1       +42 -0     sip_router/modules/tm/t_suspend.h (new)
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/tm/t_suspend.h?rev=1.1&content-type=text/plain
>   1.177     +3 -1      sip_router/modules/tm/tm.c
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/tm/tm.c.diff?r1=1.176&r2=1.177
>   1.31      +11 -1     sip_router/modules/tm/tm_load.c
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/tm/tm_load.c.diff?r1=1.30&r2=1.31
>   1.31      +4 -1      sip_router/modules/tm/tm_load.h
> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/tm/tm_load.h.diff?r1=1.30&r2=1.31
> _______________________________________________
> Serdev mailing list
> [email protected]
> http://lists.iptel.org/mailman/listinfo/serdev

_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev

Reply via email to