You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/]
The text was updated successfully, but these errors were encountered:
Are you using the async query in a switch statement? If so, this bug was already fixed in the master branch and I have just backported it to 2.1. A bit too late though :(.
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:
Workaround: define a dummy route where avp_db_query is used in sync mode.
The debug logs will show:
The text was updated successfully, but these errors were encountered: