Hi,
can the db_cluster module be used to all DB connections? if today i set for example "modparam("dialplan", db_url", DBURL)" i will be able to use "modparam("dialplan", db_url", CLUSTER)" ?
still, on the #!define DBURL "mysql://.........." i can not use clustering right?
BR, Uri
Hello,
db_cluster can be used as a replacement to other db_* modules (like db_mysql, db_postgres). Effectively, db_cluster will be the module using the db connector modules. Any module that was working with db_mysql for example, should work just fine with db_cluster.
#!define DBURL "..." is just like an assignment -- the DBURL will be replaced further in config with what is "..."
So you can define DBURL to be a cluster URL, no problem.
To answer specifically to your example, db_cluster can be used for dialplan module.
Cheers, Daniel
On 5/16/12 9:53 AM, Uri Shacked wrote:
Hi, can the db_cluster module be used to all DB connections? if today i set for example "modparam("dialplan", db_url", DBURL)" i will be able to use "modparam("dialplan", db_url", CLUSTER)" ? still, on the #!define DBURL "mysql://.........." i can not use clustering right? BR, Uri
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users