Coder Social home page Coder Social logo

jaimey / patch-vtiger-7.2-asterisk-connector Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 4.0 54.5 MB

This patch makes Vtiger 7.2 compatible with Asterisk / Freepbx via SPAsteriskConnector

License: Other

PHP 68.59% HTML 2.77% Shell 0.09% Batchfile 0.04% JavaScript 14.45% CSS 4.30% Hack 0.01% SCSS 0.01% Smarty 7.76% Less 0.62% XSLT 0.04% Makefile 0.02% Python 0.01% Java 0.37% Classic ASP 0.05% Ruby 0.01% CoffeeScript 0.01% C 0.76% C++ 0.03% Perl 0.08%

patch-vtiger-7.2-asterisk-connector's Introduction

Patch to make vtiger 7.2 compatible with Asterisk / Freepbx via SPAsteriskConnector

This patch makes Vtiger 7.2 compatible with SPAsteriskConnector

Installation

  1. Open your Vtiger CRM folder (e.g., /var/www/vtigercrm/)

  2. Download the patch:

wget https://raw.githubusercontent.com/jaimey/patch-vtiger-7.2-asterisk-connector/main/patch/0001-feat-make-Vtiger-7.2-compatible-with-SPAsteriskConne.patch
  1. Check the patch compatibility:
patch --dry-run -p 1 < 0001-feat-make-SPAsteriskConnector-compatible-with-Vtiger.patch

You should see output like:

    checking file file1
    checking file file2

Warning! If you see something like: “Hunk #1 FAILED”, then do not proceed with the update!

  1. Apply the patch:
patch -p 1 < 0001-feat-make-Vtiger-7.2-compatible-with-SPAsteriskConne.patch

Continue with the Vtiger integration with Asterisk tutorial. https://salesplatform24.com/?page_id=2831

Based on this patch

patch-vtiger-7.2-asterisk-connector's People

Contributors

jaimey avatar

Watchers

James Cloos avatar  avatar

patch-vtiger-7.2-asterisk-connector's Issues

Owner record in popup

Dear,
I woud to thank you for your great work , all work fine but the owner record is not showing in the call popup like before is important

can you give help plz

Vtiger Outbound Call

Hi,
I have setup as per the documentations of Sales Platform and can make up to the stage that customer can call agent vtiger can see the flash but when I call from vtiger to customer it is calling myself. What could be the issue?
SPVtigerAsteriskConnector.properties
ServerIP = 0.0.0.0
ServerPort = 8282
AsteriskAppDBPath = /home/asterisk/spaconnector/db

AsteriskServerIP = 0.0.0.0
AsteriskServerPort = 5038
AsteriskUsername = admin
AsteriskPassword = adminPassword1@
VtigerURL = http://crm.domain.com
VtigerSecretKey = testkehy

CheckKeyOnListenRequest=true
LookUpVariablesNames=
DefaultOriginateChannelProtocol = SIP

extensions.conf
[from-internal]
include => from-internal-noxfer
include => from-internal-xfer
include => bad-number ; auto-generated
exten => h,1,Macro(hangupcall)
exten => X.,1,Agi(agi://127.0.0.1/incoming.agi) ; for vtiger inbound [vtiger_outbound]
exten => X.,1,Agi(agi://127.0.0.1/incoming.agi)
exten = X.,1,Set(CALLFILENAME=${STRFTIME(${EPOCH},,OUT%d%m%Y
%H-%M)}
${CALLERID(num)}_${EXTEN})
exten = _X.,2,MixMonitor(/var/spool/asterisk/monitor/${CALLFILENAME}.wav,b)
exten = _X.,3,Set(CDR(recordingpath)=/var/spool/asterisk/monitor/${CALLFILENAME}.wav)
exten = _X.,4,Dial(SIP/${EXTEN})

manager.conf
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+

[mappings]
recordingpath => recordingpath

[admin]
secret = admiPassword
deny=0.0.0.0/0.0.0.0
permit=163.172.202.59/255.255.255.0
permit=163.172.202.218/255.255.255.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
writetimeout = 5000

Negative points

$siteurl/index.php?module=PBXManager&view=Detail&record=63583&app=MARKETING

give err "Record you are trying to access is not found"

i cant delete record
i cant view detail record
workflow update record not working

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.