Skip to content

sboily/xivo-sugarcrm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xivo-sugarcrm

This is a demonstration to connecting xivo and sugarcrm with a customer sheet.

The version used for test is XiVO 13.25 and sugarCRM 6.5.16 CE.

You need to add a sub routine on xivo, this agi and you need to configure your xivo.

More information about customer sheet : http://documentation.xivo.fr/production/administration/customerinfo/sheetconfiguration.html#variables

Installation on XiVO

  1. apt-get install git
  2. mkdir /usr/share/asterisk/agi-bin
  3. cd /usr/share/asterisk/agi-bin
  4. git config --global http.sslverify false
  5. git clone https://github.com/sboily/xivo-sugarcrm.git
  6. cd xivo-sugarcrm
  7. cp sugarcrm.conf /etc/asterisk/extensions_extra.d
  8. chown www-data.www-data /etc/asterisk/extensions_extra.d/sugarcrm.conf

Edit the sugarcrm.conf to set the good information via vim or webi.

  1. asterisk -r
  • xivo*CLI> dialplan reload
  • xivo*CLI> dialplan show sub-sugarcrm

You need to add this subroutine in your DID for exemple on the webi.

CTI config

Adding on your sheet model the variables :

  • {dp-sugarcrm-lastname}
  • {dp-sugarcrm-firstname}

Adding on sheet model action the value :

And authorize the popup url in xivo client.

Library

Taken from : https://github.com/luisbarrueco/python_webservices_library/

Debug

To debugging the AGI edit the script for_xivo and change the debug value to 1. Change the default value with your value.

To launching the script :

  • echo | ./for_xivo

About

xivo and sugarcrm connection for sheets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages