asterisk2billing.org
http://forum.asterisk2billing.org/

a2billing realtime
http://forum.asterisk2billing.org/viewtopic.php?f=33&t=11026
Page 1 of 1

Author:  alaa2003 [ Tue Dec 02, 2014 4:16 pm ]
Post subject:  a2billing realtime

Hello
i cannot find clear steps to config A2billing realtime

i have a2b 1.9.4
Ubuntu 12.10 -32bit
Asterisk 1.8.13.1

i made these changes
1- enabled realtime in A2billing admin

2-add the following to /etc/asterisk/extconfig.conf
[settings]
iaxusers => mysql,general,cc_iax_buddies
iaxpeers => mysql,general,cc_iax_buddies
sipusers => mysql,general,cc_sip_buddies
sippeers => mysql,general,cc_sip_buddies
extensions => mysql,general,cc_sip_buddies

3-Then add the following to /etc/asterisk/res_config_mysql.conf

[general]
dbhost = 127.0.0.1
dbname = mya2billing
dbuser = a2billinguser
dbpass = YOURPASS
dbport = 3306
dbsock = /var/run/mysqld/mysqld.sock

4-vps*CLI> core show config mappings
Config Engine: curl
Config Engine: sqlite

when add sip user then check if written in /etc/asterisk/additional_a2billing_sip.conf , i got nothing
what is the wrong in easy steps ??

Author:  jroper [ Thu Dec 04, 2014 9:35 am ]
Post subject:  Re: a2billing realtime

Hi

Quote:
when add sip user then check if written in /etc/asterisk/additional_a2billing_sip.conf


You don't expect to see anything in additional_a2billing_sip.conf, Asterisk refers directly to the database instead of a text file for SIP registrations

Also, ensure you have no ;;;comments;;; in the /etc/asterisk/res_config_mysql.conf file, they are not parsed correctly.

Finally, and this is IMPORTANT, UPGRADE A2BILLING to the latest version, currently 2.0.16. THIS IS IMPORTANT for security.

Joe

Author:  boltonpece [ Mon Apr 13, 2015 11:55 am ]
Post subject:  Re: a2billing realtime

then if not enough balance to call, then answer the call and play a message, or put them through to you.
_________________
solitaire card game free

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/