[SR-Users] Regarding ASYNC module in kamailio - handling SIP replies

Daniel-Constantin Mierla miconda at gmail.com
Mon Oct 2 10:02:31 CEST 2017


Hello,

likely you have to look at the implementation of the function, the cfg
export flags are not enough to be changed, the process of suspending
implies different things for requests and replies.

Maybe if you can explain with more details what exactly you want to
achieve, there could be some other option. Otherwise, again, looking at the
C implementation of the function is the way to go.

Cheers,
Daniel

On Sun, Oct 1, 2017 at 12:10 PM, Rajagopal Maddi <
rajagopal.maddi at plintron.com> wrote:

> Hi,
>
>
>
> We are checking the kamailio source code for the ASYNC module. The system
> is working for REQUEST_ROUTE, but not for REPLY_ROUTE.
>
>
>
> We added the ANY_ROUTE in the cmd_export_t, but still the async_route is
> not able to suspend for SIP Reply (For example, 401 – Unauthorized). Can we
> get some help on how to perform this. Some hints on how to perform would
> really help our development.
>
>
>
> 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}
>
> };
>
>
>
> Regards,
>
> RajaGopal Maddi
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171002/8708c394/attachment.html>


More information about the sr-users mailing list