Code Monkey home page Code Monkey logo

sugarasterisk's Introduction

Asterisk module for SugarCRM 6

This is a modified version of SugarAsterisk module originally made by KINAMU/abcona, which can be found at http://www.sugarforge.org/projects/yaai

Features

  • Adds buttons to make calls via Asterisk from SugarCRM in Contacts, Employees, Accounts, Contacts and Users modules.
  • Opens a popup with caller info when inbound call is received at Asterisk.
  • Registers Asterisk call details in SugarCRM calls module.
  • Provides downloads of recorded calls in a browser.

Requirements

  • Asterisk 1.8 with Asterisk Manager enabled
  • SugarCRM 6.2
  • PHP 5.2+
  • MySQL 5.0+

If you need Asterisk 1.6 or SugarCRM 6.4+ support, have a look at https://github.com/blak3r/yaai

Installation

  1. Download or clone this repository.
  2. Put its contents in a Zip archive so that this file (README.md) is in the root of the .zip.
  3. Install the zipped module via SugarCRM Administration / Module Wizard.
  4. Copy init.d/asterisk_logger to /etc/init.d on your webserver. Edit this file, find DAEMON path and replace /var/www/crm/AsteriskManager/ with your path to asteriskLogger.php.
  5. Make sure asterisk_logger starts on system boot and run it at once: /etc/init.d/asterisk_logger start
  6. Go to SugarCRM Administration / ASTERISK Configuration and put your parameters there.

Important notes

  • Make sure Asterisk Manager is enabled on asterisk server and is accessible from your webserver, otherwise asteriskLogger.php won't be able to listen to Asterisk events.
  • If you want call records (.wav) to be available for download, then make sure Asterisk Monitor is enabled. Then you should mount /var/spool/asterisk/monitor to a directory on your webserver running SugarCRM (by default it is /mnt/asterisk).

Changelog

v1.2 for v6.2 (by Vladimir Sibirov):

  • Updated asteriskLogger for Asterisk 1.8 protocol.
  • Some fixes to work with SugarCRM 6.2 (tested on 6.2.1 and 6.2.4)
  • Improved asteriskLogger persistence (automatically reconnects when MySQL or SOAP connection is lost).
  • More fancy popups on inbound calls using jQuery.
  • Finetuned details in Calls module.
  • Added Listen and Download options for calls.
  • Tweaks to work with Russian telephony network.
  • Added missing call buttons in Employees module.
  • Probably some more which are not mentioned here.

sugarasterisk's People

Contributors

trustmaster avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.