Hi,
We are using latest a2billing and asterisk 11. It is not an issue actually , I just want to know how can configure multiple a2billing in a single server with realtime. I was able to configure it through without realtime But using realtime , only one database is accepting for sip registration.These were my below settings for realtime,
extconfig.conf
[settings]
iaxusers => mysql,test1,cc_iax_buddies
iaxpeers =>mysql,test1,cc_iax_buddies
sipusers =>mysql,test1,cc_sip_buddies
sippeers => mysql,test1,cc_sip_buddies
extensions => mysql,test1,cc_sip_buddies
iaxusers2 => mysql,test2,cc_iax_buddies
iaxpeers2 =>mysql,test2,cc_iax_buddies
sipusers2 =>mysql,test2,cc_sip_buddies
sippeers2 => mysql,test2,cc_sip_buddies
extensions2 => mysql,test2,cc_sip_buddies
res_config_mysql.conf
[test1]
dbhost = 127.0.0.1
dbname = first database name
dbuser = first database user
dbpass = password
dbport = 3306
[test2]
dbhost = 127.0.0.1
dbname = second database name
dbuser = second database user
dbpass = password
dbport = 3306
I can manually check the realtime status for all the extension on both database in the asterisk cli. But, the sip details in the second database is not able to registering through softphone. Seems like asterisk only accept and check the sip registration from the first database not the second one
I really think I need to edit some files to make it work both. Any small help would be appreciated.
Regards,
Sujith