Newfies-Dialer 是由 Start2Billing 所開發的電話群撥系統,系統主要元件由 Ubuntu, Freeswitch 組成。
官方網址:http://www.newfies-dialer.org/
應用項目
(http://www.newfies-dialer.org/docume...ginners-guide/)
系統環境:Ubuntu 10.04 + Newfies Dialer v1.0 stable
註:使用 root 執行以下指令
sudo apt-get update
wget https://raw.github.com/Star2Billing/newfies-dialer/master/install/install-all.sh
sh install-all.sh
It will install Freeswitch, Plivo & Newfies on your server
Press Enter to continue or CTRL-C to exit<按 Enter>
FreeSWITCH will be installed in /usr/local/freeswitch
Press Enter to continue or CTRL-C to exit<按Enter>
Plivo Framework will be installed at "/usr/share/plivo"
Press any key to continue or CTRL-C to exit<按Enter>
> Newfies Installation Menu (DEBIAN)
=====================================
1) All
2) Newfies Web Frontend
3) Newfies Backend / Newfies-Celery
0) Quit
(0-3) :<輸入 1>This will install Web Newfies on your server
Press Enter to continue or CTRL-C to exit<按Enter>
Do you want to install Newfies with SQLite or MySQL? [SQLite/MySQL] (default:MySQL)
<按Enter>
過程中會要求設定 MySQL 的管理密碼。
Enter Mysql hostname (default:localhost)
<按Enter>
Enter Mysql port (default:3306)
<按Enter>
Enter Mysql Username (default:root)
<按Enetr>
Enter Mysql Password (default:password)
<輸入剛剛設定的密碼>
Enter Database name (default:newfies)
<按Enter>
Username (Leave blank to use 'root'):
<輸入 admin>
E-mail address: <輸入 admin@local.net>
Password: <輸入密碼>
This will install Newfies Backend, Celery & Redis on your server
Press Enter to continue or CTRL-C to exit<按Enter>
> Newfies Installation Menu (DEBIAN)
=====================================
1) All
2) Newfies Web Frontend
3) Newfies Backend / Newfies-Celery
0) Quit
(0-3) : <輸入 0 離開>
瀏覽器輸入:
http://this.server.ip.address:8008 ,登入用 admin/密碼。
新增 /usr/local/freeswitch/conf/sip_profiles/external/sip_provider_name.xml
sip_provider_name.xml:
<include> <gateway name="ip address or hostname of carrier"> <param name="username" value="your username provided by carrier"/> <param name="from-user" value="your username provided by carrier"/> <param name="password" value="your password supplied by carrier"/> <param name="register" value="true"/> </gateway> </include>
ln -s /usr/local/freeswitch/bin/fs_cli /usr/local/bin/
啟動 FreeSwitch
service freeswitch start
進入 FS CLI 模式,執行 sofia status:
fs_cli -H localhost freeswitch@localhost@internal> sofia status Name Type Data State ================================================================================================= ... external::sip2sip.info gateway sip:2233441831@sip2sip.info REGED ... ================================================================================================= 3 profiles 1 alias /exit
新增 Dialer Gateway
登入 Newfies-Dialer 管理介面 > Add Dialer Gateway
Name = sip2sip
Gateways = sofia/gateway/sip2sip.info/
Gateway Status = ACTIVE
新增 Dialer Settings
每一個帳號 Customer 都必須關連到 Trunk 及 Dialer Settings,且對撥號做了些限制。
登入 Newfies-Dialer 管理介面 > Add Dialer Settings
Name = DS1
其他欄位保持預設值。