hi ,
thanks for your answers.Blove is I plus associated dependencies between the asterisk and a2billing.php,you look whether
it can work. thanks
Quote:
1.Edit the a2billing.conf configuration file
cp /usr/local/src/a2billing/a2billing.conf /etc/
vi /etc/a2billing.conf
[database] hostname =romote port = 3306 user = a2billinguser
password = a2billing dbname = mya2billing dbtype = mysql
2.SIP and IAX
touch /etc/asterisk/additional_a2billing_sip.conf
touch /etc/asterisk/additional_a2billing_iax.conf
echo #include additional_a2billing_sip.conf >> /etc/asterisk/sip.conf
echo #include additional_a2billing_iax.conf >> /etc/asterisk/iax.conf
3.Sound files
/usr/local/src/a2billing/addons/install_a2b_sounds_deb.sh
chown -R asterisk:asterisk /usr/share/asterisk/sounds/
4.Configure Asterisk Manager
vi /etc/asterisk/manager.conf
[general]
enabled = yes port = 5038 bindaddr = 0.0.0.0
[myasterisk]
secret=mycode
read=system,call,log,verbose,command,agent,user
write=system,call,log,verbose,command,agent,user
5.Install The AGI components
cd /usr/local/src/a2billing/AGI
cp a2billing.php /usr/share/asterisk/agi-bin/
cp a2billing-monitoring.php /usr/share/asterisk/agi-bin/
cp -Rf lib /usr/share/asterisk/agi-bin/