Hi all, excuse the basic nature of my question, I'm just starting out.
I've read in a tutorial that it is possible to connect from asterisk to Kamailio and for asterisk to use the Kamailio db for authentication. However, I also read that it is possible to connect to astereisk from Kamailio for retrieving auth data.
My question is this... If Kamailio uses the db on a remote asterisk server to retrieve usernames and password info how do you set Kamailio to use multiple databases as you may ultimately have multiple asterisk servers? As far as I could see there is only 1 db typically in the config file.
Also, which is the most common configuration and why would one choose one over the other?
Thanks in advance.
Hello Jason,
I would rather use a single database to keep consistensy. In my setup I have setup a MySQL cluster that has single virtual IP and all asterisk and kamailio boxes connect to it.
This way multiple asterisk servers have the same users and might be used only for load balancing. Same applies for Kamailio. Say that you want to have a spare Kamailio box in case something happens with the first one.
All you need is to connect it to the database and everything is read from there.
Now back to your question it is possible to define multiple databases in the config file, however I am not sure if you can make the authentication module read from multiple databases.
Best regards, Rumen
On 31 January 2013 02:36, Jason jasonajf@btinternet.com wrote:
Hi all, excuse the basic nature of my question, I'm just starting out.
I've read in a tutorial that it is possible to connect from asterisk to Kamailio and for asterisk to use the Kamailio db for authentication. However, I also read that it is possible to connect to astereisk from Kamailio for retrieving auth data.
My question is this... If Kamailio uses the db on a remote asterisk server to retrieve usernames and password info how do you set Kamailio to use multiple databases as you may ultimately have multiple asterisk servers? As far as I could see there is only 1 db typically in the config file.
Also, which is the most common configuration and why would one choose one over the other?
Thanks in advance. _______________________________________________ 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