[OpenSIPS-Users] Are alias_db_.. blocking functions?

Bogdan-Andrei Iancu bogdan at opensips.org
Mon May 18 12:03:03 EST 2020


Hi John,

Yes, these functions are performing DB queries in runtime and these 
queries are potentially blocking.

The db_aliases module does not offer async support, but the queries it 
is doing are trivial and you can do them via avp_db_query() + async() 
support.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com

On 5/18/20 11:56 AM, John Quick wrote:
> Please can someone confirm if alias_db_lookup() and alias_db_find() are
> blocking functions.
> If they are, can they be used in the async function?
> I'm using v2.4.6 and 2.4.7 of OpenSIPS.
> Thanks.
>
> John Quick
> Smartvox Limited
> Web: www.smartvox.co.uk
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list