Module: kamailio Branch: master Commit: 42610691aa3b19fe47caed0b186a10253e6aaabd URL: https://github.com/kamailio/kamailio/commit/42610691aa3b19fe47caed0b186a10253e6aaabd
Author: Kamailio Dev <[email protected]> Committer: Kamailio Dev <[email protected]> Date: 2018-03-07T22:31:26+01:00 modules: readme files regenerated - async ... [skip ci] --- Modified: src/modules/async/README --- Diff: https://github.com/kamailio/kamailio/commit/42610691aa3b19fe47caed0b186a10253e6aaabd.diff Patch: https://github.com/kamailio/kamailio/commit/42610691aa3b19fe47caed0b186a10253e6aaabd.patch --- diff --git a/src/modules/async/README b/src/modules/async/README index 26db487939..2e8357b52d 100644 --- a/src/modules/async/README +++ b/src/modules/async/README @@ -136,8 +136,11 @@ modparam("async", "workers", 2) Example 1.2. async_route usage ... -async_route("RESUME", "4"); -... +request_route { + ... + async_route("RESUME", "4"); + ... +} route[RESUME] { send_reply("404", "Not found"); exit; @@ -177,7 +180,7 @@ exit; Example 1.4. async_workers usage ... -; Enable 8 worker processes used by async and other modules +# Enable 8 worker processes used by async and other modules async_workers=8 ... @@ -197,8 +200,11 @@ async_workers=8 Example 1.5. async_task_route usage ... -async_task_route("RESUME"); -... +request_route { + ... + async_task_route("RESUME"); + ... +} route[RESUME] { t_relay(); exit; _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
