[OpenSIPS-Users] async(wait_for_event()) statement in a branch_route[]

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Nov 1 14:16:30 EDT 2018


Hi Vitalii,

The async() statement can be used only in REQUEST route. Still, whatever 
you need to do in terms of async query from branch route can also be 
done from request route.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
   http://opensips.org/training/OpenSIPS_Bootcamp_2018/

On 11/01/2018 01:46 PM, Vitalii Aleksandrov wrote:
> Hi,
>
> I'm a bit new to opensips, while have some experience with kamailio.
>
> Trying to figure out whether it's possible to use async() statement 
> from branch_route[].
>
> From the documentation I understood that async() functionality is 
> tightly connected to the TM module and creates some context attached 
> to a transaction, suspends it and resumes a transaction on an event. 
> If said above is correct I suppose calling async() from a 
> branch_route[] to suspend only one branch and expect that other 
> branches will continue their normal execution is not what it was 
> designed for..
>
> Is there any way to forward a branch while other branches wait for an 
> async event or i/o?
>
> Would appreciate any ideas.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list