[OpenSIPS-Users] Multiple database backends in one script

Mickael Marrache mickaelmarrache at gmail.com
Sun Oct 5 10:35:51 CEST 2014


Sorry, ignore my question, I just seen the db_bind_api command is searched
in the module defined by the specific URL.

On Sun, Oct 5, 2014 at 11:32 AM, Mickael Marrache <mickaelmarrache at gmail.com
> wrote:

> Hi,
>
> Does OpenSIPS support use of multiple database backends?
>
> For example, using db_mysql for loading information to be used in script
> and db_text for dialog persistence.
>
> A module that would like to access a database use the db_bind_mod function
> to bind to a db backend. This function looks for the first module that
> exports a command named db_bind_api. If multiple backends are used, such
> command would be exported by multiple module.
>
> Regards,
> Mickael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141005/d4ea350f/attachment.htm>


More information about the Users mailing list