[sr-dev] git:master: async: fixed typo in docs and adjusted example

Daniel-Constantin Mierla miconda at gmail.com
Thu Oct 23 00:55:34 CEST 2014


Module: sip-router
Branch: master
Commit: 46f3342428cd52fb01756c696e4e0f44199109da
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=46f3342428cd52fb01756c696e4e0f44199109da

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Oct 23 00:54:59 2014 +0200

async: fixed typo in docs and adjusted example

---

 modules/async/README              |    4 ++--
 modules/async/doc/async_admin.xml |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/async/README b/modules/async/README
index deb5748..327dc68 100644
--- a/modules/async/README
+++ b/modules/async/README
@@ -186,10 +186,10 @@ exit;
 
    Example 1.4. async_task_route usage
 ...
-async_task_rroute("RESUME");
+async_task_route("RESUME");
 ...
 route[RESUME] {
-   send_reply("404", "Not found");
+   t_relay();
    exit;
 }
 ...
diff --git a/modules/async/doc/async_admin.xml b/modules/async/doc/async_admin.xml
index 6ca0f20..18d9388 100644
--- a/modules/async/doc/async_admin.xml
+++ b/modules/async/doc/async_admin.xml
@@ -196,10 +196,10 @@ exit;
 		<title><function>async_task_route</function> usage</title>
 		<programlisting format="linespecific">
 ...
-async_task_rroute("RESUME");
+async_task_route("RESUME");
 ...
 route[RESUME] {
-   send_reply("404", "Not found");
+   t_relay();
    exit;
 }
 ...




More information about the sr-dev mailing list