Install Asterisk Listener
Asterisk Listener
Asterisk Listener is a application which connect to Asterisk through AMI, Listen to events and send to CRM.
How to Install
Asterisk Listener is in CRM_ROOT/addons/asterisk-listener
you cand install it with command :
make install
It will be install in /usr/local/asterisk_listener
How to Configure
Default config file is /usr/local/asterisk_listener/conf/asterisk_listener.conf.default, you should copy it to /usr/local/asterisk_listener/conf/asterisk_listener.conf
IP Address of Asterisk
ASTERISK_IP=127.0.0.1
Asterisk Authentication Parameter
ASTERISK_AMI_USER=admin
ASTERISK_AMI_PASS=admin
HTTP Address to Sugar CRM
SUGAR_HTTP=http://127.0.0.1/pcrm/call_post.php
Log File
EVENT_LOG_PATH=/var/log/asterisk_listener.log
Max Size Of Queue to handel event
MAX_EVENT_QUEUE=40
the time period for delay in second
DELAY_TIME=4
0 do not log (just logs major events)
1 log more ( data , loop event , ... )
DEBUG=1