Module: sip-router
Branch: master
Commit: dcea57fb83b480a8d55e466a26e677a639bda6bb
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=dcea57f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Dec 11 00:05:46 2011 +0100
async: readme file was regenerated
---
modules/async/README | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/modules/async/README b/modules/async/README
index 45d0971..21b2cc2 100644
--- a/modules/async/README
+++ b/modules/async/README
@@ -10,7 +10,7 @@ Daniel-Constantin Mierla
<miconda(a)gmail.com>
- Copyright © 2011
asipto.com
+ Copyright � 2011
asipto.com
__________________________________________________________________
Table of Contents
@@ -107,7 +107,7 @@ modparam("async", "workers", 2)
4.1. async_route(routename, seconds)
4.2. async_sleep(seconds)
-4.1. async_route(routename, seconds)
+4.1. async_route(routename, seconds)
Simulate a sleep of 'seconds' and then continue the processing of SIP
request with the route[routename]. In case of internal errors, the
@@ -126,6 +126,8 @@ modparam("async", "workers", 2)
that the execution of config after resume will end once the
route[routename] is finished.
+ This function can be used from REQUEST_ROUTE.
+
Example 1.2. async_sleep usage
...
async_route("RESUME", "4");
@@ -136,7 +138,7 @@ route[RESUME] {
}
...
-4.2. async_sleep(seconds)
+4.2. async_sleep(seconds)
Simulate a sleep of 'seconds' and then continue the processing of SIP
request with the next action. In case of internal errors, the function
@@ -152,6 +154,8 @@ route[RESUME] {
that the execution of config after resume will end once the route block
where async_sleep() is called is finished.
+ This function can be used from REQUEST_ROUTE.
+
Example 1.3. async_sleep usage
...
async_sleep("4");