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(a)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(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users