[SR-Users] [sr-dev] new module: async - asynchronous SIP request processing in cfg
Olle E. Johansson
oej at edvina.net
Mon Jun 27 16:11:25 CEST 2011
27 jun 2011 kl. 10.31 skrev Daniel-Constantin Mierla:
> Hello,
>
> a new module is now in GIT master branch, named async.
>
> Its purpose is to provide asynchronous SIP request processing using t_suspend()/t_continue() mechanism from tm module. While the tm module had it for quite some time, it was not available for usage in configuration file.
>
> There are two functions implemented by now:
>
> - async_route(routename, interval) - execute asynchronously a route block after a time interval
> - aync_sleep(interval) - sleep asynchronously for a time interval and then resume SIP request processing
>
> See the readme for more details:
> http://kamailio.org/docs/modules/devel/modules/async.html
>
Seems kind of sexy.
Do you have a good example of usage?
Greetings from Madrid
/O
More information about the sr-users
mailing list