If avp_db_query is used exclusively in async mode, during init, the
avp_db_query function is not found in script and opensips is failing to start
with the following error being reported:
```
ERROR:avpops:__fixup_db_query_avp: no db url defined to be used by this function
```
Workaround: define a dummy route where avp_db_query is used in sync mode
The debug logs will show:
```
DBG:core:is_mod_func_used: function avp_db_query found to be used in script
DBG:core:find_mod_export: found <db_bind_api> in module db_mysql
[/usr/local/lib64/opensips/modules/]
```
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/757
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel