Contact Details


 Website: techextension.com                     Store :store.techextension.com        

 Email: support@techextension.com          Skype: tech.extension 


Product Page: SugarCRM Digium SwitchVox  CTI Integration 



Supported CRM Version


SugarCRM Community Edition (CE) , SugarCRM Pro, SugarCRM Corporate, SugarCRM Ultimate, SugarCRM On Demand,  SugarCRM Open Cloud (European On Demand)


SugarCRM Versions:

6.1.x    6.4.x    6.5.x    6.6.x    6.7.x



Prerequisite


  • Cent OS  based Linux server with with php 5.6 or higher version 
  • JRE 1.7 or higher version should be installed on  Server.
  • Require port  tcp 9999 and 8082 open on  Server.
  • Support Soft phone or Sip based hard Phone.
  • There should be connectivity between this server and pbx server.
  • Please make back up of data of crm and pbx and also crm folder before Installation.



Install following packages

 

pear install XML_Serializer-0.19.2
pecl install pecl_http

yum install  php-pecl-apcu

sudo yum install php-raphf
sudo yum install php-propro
pecl install pecl_http-1.7.6

http://developers.digium.com/switchvox/?pageView=phpLibrary



Installation Steps




Create Account On Our Portal https://license.techextension.com/register.php


create-account

Log In after Creating account https://license.techextension.com/login.php



login_license


Add License


add_license


Generate License



genrate_license



Download module SugarCRM Version 6.X SugarCRM Version 6.X Download


Download SuiteCRM module SuiteCRM Download


For SugarCRM Version 7.X Admin need to create fields Manually From studio


User module


Data Type:TextField

phoneextension_c


user_field



user



Call Module


Data Type:TextField

Field Name:call_source_c


Data Type:TextField

Field Name:call_duration_minute_c


Data Type:TextField

Field Name:call_entrysource_c


Data Type:URL

Field Name:record_c


Data Type:TextField

Field Name:call_destination_c



call_module_field



call_module_layout



1. How to Install Using Module Loader




After receiving the file that you would like to install, you must first upload it to your Sugar instance. To upload a file, follow the following steps:


Step 1: Go to Admin Panel


installation-sugarcrm-asterisk-integration-1


Step 2: Navigate to Admin > Module Loader


installation-sugarcrm-asterisk-integration-2


Step 3: Click the "Choose File" button in the Module Upload panel to open a file selection window from your browser.

installation-sugarcrm-asterisk-integration-3


Step 4: Select the file from your local computer.


Step 5: After you select your file, click the "Upload" button to complete the process

installation-sugarcrm-asterisk-integration-4


Step 6: After it has been uploaded, the package will show in the Uploaded Packages panel

installation-sugarcrm-asterisk-integration-5


Step 7: You will be brought to the installation screen to confirm that the packages should be installed, and to read and accept any license or read me documentation as needed. Click "Commit" when ready to run the installation.

installation-sugarcrm-asterisk-integration-6


Step 8: The next page will show a progress bar and a completion notice. If there are any errors, they will be displayed with a verbose explanation of what went wrong. If not, click "Display Log" to show what happened during the installation process.


Step 9: Click Back to Module Loader when complete to return to Module Loader. If you do not need to install any further packages, you can navigate to any other section of Sugar as need be.


2. Admin User Configuration



Download techextension.zip File For SugarCRM 7 and Above Version

Download



Download techextension.zip File For SugarCRM 6.X, SugarCRM CE and SuiteCRM All Version

Download


Upload techextension.zip on public web folder on server and extract it ( Example : /var/www/html/techextension So web URL Like http://192.168.1.100/techextension ) than follow the steps



Now Access server using Putty or other ssh client and Go to techextension Folder .


(cd /techextension/AsteriskSupport/ )


Edit This File AsteriskProperties.xml


<Asterisk>192.168.1.100|< /Asterisk>


< url>http://techextensionurl|< /url>


Here http://techextensionurl is same as your add-on URL If you have URL like http://192.168.1.100/techextension than URL should be http://192.168.1.100



Note : Do not remove | from ends its is used for our purpose.


 



Now Do configuration in switchvox server


Go to Event Triggers


Put this as your system default Url


http://techextensionurl:8082/ip=192.168.1.100&DIALED_NUMBER=%DIALED_NUMBER%&CALLER_ID_NAME=%CALLER_ID_NAME%&CALLER_ID_NUMBER=%CALLER_ID_NUMBER%&EVENT_TYPE=%EVENT_TYPE%&EXTENSION=%EXTENSION%&EXTENSION_TYPE=%EXTENSION_TYPE%&FEATURE_DATA=%FEATURE_DATA%&INCOMING_DID=%INCOMING_DID%&JOB_ID=%JOB_ID%&QUEUES=%QUEUES%&VM_DATE=%VM_DATE%&VM_DUR=%VM_DUR%&VM_MSGNUM=%VM_MSGNUM%




Here http://techextensionurl is same as your add-on URL If you have URL like http://192.168.1.100/techextension than URL should be http://192.168.1.100






 



Now edit this clicktocall.php


this line about line number 18


$request = new SwitchvoxRequest($asterisk_ip, "admin", "password");


here admin is username of switchvox and password is password of switchvox server



Now Open configuration.php .


Enter same IP of your add-on  ( $asteriskip) entered in AsteriskProperties.xml

Enter same IP of  your add-on Server ($serverip) which is techextension folder server IP



configurationasterisk 


Now Open crmconfig.php .

Enter ( $crmurl, $username, $password) .

Here $crmurl is CRM URL

Here $username is admin Username of CRM

Here $password is admin password



sugarcrmconfig 






Now Run This Command in putty .


java -jar AsteriskSupport.jar



Asterisk 



If you get Following message. It is Successfully Integrated



Asterisk 


Download Voip File

Download


Extract voip.zip file

Now Run This Command in putty .

pwd

It will Give you path



Asterisk 



Put It in to voip file

Asterisk



Upload voip file in to /etc/init.d/

Give voip file permission to 755

Run This Command if you have CentOS ( chkconfig voip on && chkconfig --list )

Run This Command if you have Debain OS ( update-rc.d voip defaults )


Techextension add-on command


check status: ( service voip status )

Restart : ( service voip restart )

stop: ( service voip stop )

Start : ( service voip start )




3. End User CRM Configuration



After Successfully Admin User Configuration of Module, you need to End User setting Module. Following steps describe End User Configuration process.

Step 1 : Go to User Panel


Step 2 : Fill appropriate Details as shown here


sugarcrm Asterisk Integration Add-on User Configuration.

crm-user-techextension-configuration

Step: 3 Save the User profile


5. End User Chrome Extension Configuration

Go to chrome web store

Download Extension 


Configure Chrome Extension



chrome-webstoe 


Click on Phone Icon It will open following Set up window .



configuration-sugarcrm-extension 




Fill Informatin and Click on Set-up. It will open following window.



chrome-sugarcrm-configuration 




User need to fill following details and save configuration. .

chrome-sugarcrm-configuration-details