|
@@ -10,7 +10,7 @@ Daniel-Constantin Mierla
|
|
|
|
|
|
<[email protected]>
|
|
|
|
|
|
- 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");
|