//
you're reading...
Marketing, Softwares

[vTigerCRM] vtiger CRM 6.4 – the second connection with Elastix 2.5.

[vTigerCRM] vtiger CRM 6.4 – the second connection with Elastix 2.5.

1. target

Vtiger CRM goals in connection with Elastix is able to click-to-call from the web page.

Of vtiger CRM and a balloon pop-up on the page when vtiger CRM incoming call comes in.

The first step to see diagram before.

– IP of vtiger CRM is 192.168.1.240.

– IP of 192.168.1.100 is Elastix

– IP Phones numbers 201, 202, 203 register with Elastix.

– Elastix has named SIP trunk myvoip for connection to external organizations through. router / firewall / SBC

2. Configure vtiger CRM

Login to the web page vtiger CRM

Click the gear selected at the right CRM Settings → Integration → PBXManager.

Edit Asterisk Server Details below

Then click on the My Preferences

More Information on the topic, enter the CRM Phone Extension = 201 (or any other number of Elastix that we use).

3. Configure Elastix

3.1 installed java 1.7

#yum install java-1.7.0-openjdk.x86_64.

3.2 installed VtigerAsteriskConnector

#cd /

#wget https://www.vtiger.com/products/apps/VtigerAsteriskConnector/VtigerAsteriskConnector-1.4.zip

#unzip VtigerAsteriskConnector-1.4.zip

3.3 edit the file /VtigerAsteriskConnector/conf/VtigerAsteriskConnectors.properties

=======================================

// Location where the application server will be running.

ServerIP = 192.168.1.100

ServerPort = 8484

// Call Recordings storage path

StorageDir = / VtigerAsteriskConnector / recording

// Enable (true) or Disable (false) call recordings.

Recording = true

// Location where the applications database files will be stored.

AsteriskAppDBPath = / VtigerAsteriskConnector / recording

// Asterisk Server Details

AsteriskServerPublicIP = 192.168.1.100

AsteriskServerIP = 192.168.1.100

AsteriskServerPort = 5038

AsteriskUsername = admin

AsteriskPassword = myippbx

// Vtiger CRM URL

VtigerURL = http://192.168.1.240/vtigercrm

VtigerSecretKey = 465590920562139fd2f5c1

// Enable (true) or Disable (false) Asterisk Events and Database Logs in Connector.

AsteriskLog = true

DatabaseLog = true

================================================== ========

VtigerSecretKey taken from PBXManager of vtiger CRM in one.

3.4 edit /etc/rc.local file by adding this line into two.

# Start VtigerAsteriskConnector at boot time

/VtigerAsteriskConnector/bin/start.sh
3.5 edit the file /etc/asterisk/manager.conf

[General]

enabled = yes

port = 5038

bindaddr = 0.0.0.0

displayconnects = no; only effects 1.6+.

[Admin]

secret = myippbx

deny = 0.0.0.0 / 0.0.0.0

permit = 127.0.0.1 / 255.255.255.0

permit = 192.168.1.240 / 255.255.255.0

read = system, call, log, verbose, command, agent, user, config, command, dtmf, reporting, cdr, dialplan, originate.

write = system, call, log, verbose, command, agent, user, config, command, dtmf, reporting, cdr, dialplan, originate.

writetimeout = 5000

#include manager_additional.conf

#include manager_custom.conf
3.6 edit the file /etc/asterisk/cdr_manager.conf

[General]

enabled = yes
3.7 Create a directory for storing audio files.

#mkdir / VtigerAsteriskConnector / recording

#chown asterisk.asterisk / VtigerAsteriskConnector / recording

3.8 start connector

# / VtigerAsteriskConnector / bin / start.sh.
Add 3.9 vtiger_inbound, vtiger_outbound contexts file /etc/asterisk/extensions_custom.conf.

[Vtiger_outbound]

exten => _X., 1, Agi (agi: //192.168.1.100/incoming.agi).

[Vtiger_inbound]

exten => _X., 1, Agi (agi: //192.168.1.100/incoming.agi).

3:10 vtiger CRM add contacts and phone numbers in click-to-call and try it :).

Advertisements

About iambaprang

Bap Rang's house

Discussion

No comments yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: