A2Billing 的回撥功能依據使用方法不同,大致區分為:
回撥電話的流程說明:
對於要使用 Callback 的 A2B, 必須完成以下設置:
Python 套件
yum install python-setuptools MySQL-python
Python 模組 - sqlalchemy
easy_install sqlalchemy
開始設定
cd /usr/src/a2billing cd CallBack/callback-daemon-py cp build/lib/callback_daemon/a2b-callback-daemon.rc /etc/init.d/a2b-callback-daemon chmod +x /etc/init.d/a2b-callback-daemon easy_install dist/callback_daemon-1.0.prod_r1527-py2.5.egg chkconfig --add a2b-callback-daemon service a2b-callback-daemon start chkconfig a2b-callback-daemon on
No local packages or download links found for callback-daemon==1.0.prod-r1527
error: Could not find suitable distribution for Requirement.parse('callback-daemon==1.0.prod-r1527')
Ans: 如果 /usr/bin/a2b_callback_daemon 檔案存在,可忽略這訊息。