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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users