VtigerCRM 点击拨号和来电弹屏 PBX Manager Module
1.点击拨号;
Make calls by clicking on phone numbers (links) within vtiger.
2.来电弹屏
Provides notification within vtiger giving details of the caller when a call comes to the user. (Notification appears on the bottom right-corner of the screen.)
3.PBX模块管理
View all past calls under PBX Manager module.
4.电话历史记录
Associates the call with the Contact/Organization/Lead record in Activity History section (In the More Information tab).
5.用户分机设置
Setup user extensions through My Preferences (Per user basis).
安装需求:
1,vtigercrm
vtigerCRM should be installed on your system
2,Asterisk
You should have a Asterisk system running
3,vtiger和Asterisk
The servers running vtiger and Asterisk should be visible to each other
4,分机和软电话
You have a valid asterisk user extension and a softphone configured to that extension.
Asterisk 配置:
修改Asterisk的manager.conf配置,增加一个管理员账号
[]
secret=
deny=0.0.0.0/0.0.0.0
permit=/255.255.255.0
read=system,call,log,verbose,command,agent,user write=system,call,log,verbose,command,agent,user
where
is the user extension (say 201)
is the password for that extension (say abcdef)
is the IP that you want to be able to access asterisk (for e.g. 192.168.0.57/255.255.255.0)
If you have multiple IP's, put them on separate lines like:
permit=192.168.0.57/255.255.255.0
permit=192.168.0.58/255.255.255.0
vtiger CRM 配置:
打开模块设置菜单->PBX Manager module
Asterisk server IP
Asterisk server port
Asterisk username
Asterisk password
Asterisk Version
用户分机设置:Setting User Extensions
进入Vtigercrm的用户管理模块,设置“Asterisk Extension”,"Receive Incoming Calls"这两个选项
Setting User Extensionsvtiger CRM allows you to create extensions for each user.
These are the asterisk extensions that when configured in vtiger let you call or receive call for that user.
Once the asterisk configurations are up and ready to go, all users will need to set up their respective Asterisk extensions in the User Preferences.
Steps to Set User Extensions in vtiger CRM.
Login as any user and click on the My Preferences link on the top right of the page. On this page you will find a block labeled Asterisk Configuration. You will find two fields here
Asterisk Extension
The Asterisk Extension is the extension of the user
Receive Incoming Calls
Receive Incoming Calls field is where you specify if you want to enable incoming calls or not.
Fill up the asterisk extension for your user here and click Save to update changes.
启动来电弹屏程序:
进入vtigercrm目录Cron/Modules/PBXManager ,运行 AsteriskClient.php
Connecting to asterisk server.....
Connected successfully
Trying to login to asterisk
Logged in successfully to asterisk server