Instillation Guide


Prerequisite

  • JRE 1.7 or higher version should be installed on CTI  Server.
  • CDR_Event Should Be enable in Asterisk server.
  • Require port 9898 and 7979 should be enable for CTI Server and port 5038 for Asterisk Server.
  • Create mysql user which have username : 'techextension' with password 'techextension'

  • Support Soft phone or Sip based hard Phone.
  • There should be connectivity between CTI and Asterisk server.
  • Please make back up of data of  asterisk server.
  • Linux: This version works under any Linux flavor (i386, x86_64).

  • Asterisk: versions 1.2, 1.4, 1.6, 1.8, 10, 11 , 12 ,13,14,,15 and above with the manager interface enabled.

  • It also works on mobile platforms like IOS / Android.

  • Any modern browser with Javascript enabled. Internet Explorer 8 & up. Firefox 3. Safari. Opera. Chrome.

Required packages

Java (1.7 or above ) , PHP (5.6 or more )  , MySQL , Web server ( Apache  etc  ) 

  

yum install php-gd php-imap php-ldap php-odbc php-mbstring php-pear php-xml php-xmlrpc php-soap 
 curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel xml-rpc


Here are steps To enable cdr_manager in asterisk

Go to /etc/asterisk/ find this file cdr_manager.conf It  should  have following contents

;

; Asterisk Call Management CDR

;

[general]

enabled = yes

[mappings]

recordingfile=>recordingfile

Restart asterisk ( /etc/init.d/asterisk restart )

Then, to verify that it is loaded, please type in asterisk cli ( asterisk -r):

cdr show status

You should see something like this:

pbx*CLI> cdr show status

Call Detail Record (CDR) settings

----------------------------------

Logging: Enabled

Mode: Simple

Log unanswered calls: No

Log congestion: No

* Registered Backends

-------------------

cdr_manager

Adaptive ODBC

cdr-custom

Important : Create Account On Our Portal  Click Here

Now  login in to portal

 login




 




After successfully log in in portal download following packages

Download Aster CTI Module For Single Tenant Download 

Download Aster CTI Module For Multi Tenant Server ( Reseller ) Like Mirta PBX Download

Now extract this zip to your web server path  like    ( /var/www/html)

IMPORTANT : Now put this techextension folder to this path /var/www/html.

Create database 'techextension' for single Tenant and For Multi Tenant create database : "techextension_tenant"

Create mysql user  which have username : 'techextension' with  password 'techextension' and then upload techextension.sql.
NOTE : If you not create mysql configuration with above details registration on below page not work.

If your web server  have this address 192.168.1.100 . web URL Like ( http://192.168.1.100/techextension/te-admin/ ) than follow the steps  

Need to fill admin user registration page

Note : Please make sure that you must need to enter same email address as you registered on our portal


Registration















Now after registration admin can login into portal

 









Now Create Asterisk AMI Configuration

You will find Asterisk server Admin Manager User Name and password from /etc/asterisk/manager.conf

Asterisk AMI

After creating Asterisk AMI configuration you can see it's details here

Asterisk AMI

Now create New  CRM Configuration

CRM configuration

 

Some Guide About CRM Coniguration

Microsoft Dynamics CRM

Sales force

Bitrix24

ZOho

After Creating CRM configuration you can see it's details here


Now Email Configuration

Email configuration  

Now If you have  SMS API Configure It here


SMS configuration

Now Access server using Putty or other ssh client and Go to techextension Folder (cd /TechExtension_Service/services/ )

Now Run This Command in putty .

java -jar astercti.jar

If you get Following message. It is Successfully Integrated

 astercti

 

Here are some examples of error messages while running jar


If you get Following message. Check AMI ( Asterisk Manger interface ) User name and Password set on previous above steps 

astercti  


If you get Following message. Open AMI port on asterisk


astercti

    

License Expired Message 


astercti








User is not registered to our portal


astercti







Same Mac address and URL present on other instance


  astercti

 

IMPORTANT TO RUN JAR SERVICE IN BACKGROUND : 

Download Voip File

Download

Extract voip.zip file

 

Now Run This Command in putty to get path of astercti.jar file. ( pwd ) 

It will Give you path ( /var/www/html/techextension/TechExtension_Service/services )

TechExtension_Service



Put It in to voip File. As Mentioned Below. The Path should be correct.

astercti 
















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 astercti  defaults )

Techextension add-on command

check status: ( service voip   status )

Restart : ( service voip restart )

stop: ( service voip stop )

Start : ( service voip start )


Click To Call Plugin Download

Now If you want to integrate call logs to your crm or custom portal here are some module as per your crm

For SugarCRM


SugarCRM Version 6.X  SugarCRM Version 6.X Download

Download SuiteCRM module  SuiteCRM Download

For SugarCRM Version 7.X and above version  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




For SalesForce CRM


Open This URL In sales force

https://login.salesforce.com/packaging/installPackage.apexp?p0=04t900000002Zgi


Log In and install Module and install it

salesforcecrmmodule


For Odoo  ERP

Install TechExtension Odoo module

Download pbxmanager.zip File For Odoo ERP

PBXmanger Odoo 11 Download

PBXmanger Odoo 12 Download 

after download extract pbxmanager.zip so you will get pbxmanager folder


Now upload this pbxmanager  to odoo/addons/ folder


Example path on CentOS server

/usr/lib/python2.7/site-packages/odoo/addons/pbxmanager

After uploading this folder

Run this command 

service odoo restart

Now Go to odoo GUI

Click on setting and activate Developer mode 

Developer mode

Now Go to Apps and click on Update Apps List

odoo app

Than Search pbx from app search option you will find following pbxmanger app

pbxmanger

Click on install button and install app

After successfully installation you will find pbxmanger menu in odoo

odoo app