[sr-dev] [kamailio/kamailio] How to enhance the "ASYNC Module" to support for SIP replies (#1247)

rgmaddi notifications at github.com
Wed Sep 27 11:36:19 CEST 2017


Hi,

I am a newbie to kamailio, trying to understand how async module works.
It is working for request_route. 
I added ANY_ROUTE so as to allow for reply_route block as shown in the snippet below.
But the async_route function is not working for reply_route block. How can I achieve this.

static cmd_export_t cmds[]={
        {"async_route", (cmd_function)w_async_route, 2, fixup_async_route,
                0, REQUEST_ROUTE|FAILURE_ROUTE|ANY_ROUTE},
        {"async_sleep", (cmd_function)w_async_sleep, 1, fixup_async_sleep,
                0, REQUEST_ROUTE|FAILURE_ROUTE|ANY_ROUTE},
        {"async_task_route", (cmd_function)w_async_task_route, 1, fixup_async_task_route,
                0, REQUEST_ROUTE|FAILURE_ROUTE|ANY_ROUTE},
        {0, 0, 0, 0, 0, 0}
};




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1247
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170927/5a93f299/attachment.html>


More information about the sr-dev mailing list