[asterisk-users] Re: Realtime - one database driver,
multiple databases
kjcsb
kjcsb at orcon.net.nz
Thu Jan 25 23:37:10 MST 2007
> Is it possible to have different families refer to different databases for
> the same database driver? The examples I have seen specify the same host,
> database etc. For example is this possible:
> extconfig.conf
> sipusers => mysql,asterisk,asterisk_sip
> voicemail => mysql,mail,voicemail
>
> If it is possible, what is the correct way to specify the details in
> res_mysql.conf?
> Something like this?
> [general]
> dbhost = asterisk.domain.com
> dbname = asterisk
> dbuser = asteriskuser
> dbpass = test
> dbport = 3306
> dbhost = mail.domain.com
> dbname = mail
> dbuser = mailuser
> dbpass = test
> dbport = 3306
>
> Regards
>
> Cameron
More information about the asterisk-users
mailing list