Sugar CRM click to dial plugin

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Sugar CRM click to dial plugin

Postby dspaan » Thu Apr 21, 2011 7:17 am

I'm thinking of installing this:

http://www.sugarforge.org/projects/yaai/


But i'm not sure if it will impact the functionality of ViciDial. Can someone take a quick look at this and give me an opinion:

http://dl.sugarforge.org/yaai/yaai/1.1. ... ration.pdf
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Postby williamconley » Thu Apr 21, 2011 5:31 pm

doesn't look like it'll break anything.

but if you get a list of files that will be CHANGED on the vicidial server ... that would be helpful.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby dspaan » Fri Apr 22, 2011 9:12 am

No idea how to get a list of changed files. But in the manual it talks about these scripts:

pre_install.php
This script is called during installation of the YAAI module. The tasks performed during
installation are:
• creation of table asterisk_log in database
• installation of AsteriskJS.php as an „after_ui_frame“ hook in SugarCRM.
This causes AsteriskJS.php (and in turn, dialin.js resp dialout.js) to be included on all pages
rendered by SugarCRM's GUI.

AsteriskJS.php
This script is installed as „logic hook“ and provides the magic® to enhance all pages in the GUIwith YAAI's functionality. Depending on users settings, it conditionally includes dialin.js and/or
dialout.js.
dialin.js
This script is responsible for monitoring calls. When included, it uses AJAX calls (Whoa! Did I already mention we use AJAX?) to callListener.php (which in turn peeks into asterisk_log) to poll (and display) the current state of Asterisk's call activity. Note this script is responsible for both
incoming and outgoing calls.

dialout.js
This script – when included – uses jQuery to dynamically modify the delivered HTML pages to
include an dialout button for phone number fields. callCreate.php is invoked to eventually make a call.

callListener.php
This is the AJAX listener for dialin.js/dialout.js. It retrieves the current call state from YAAI's table
asterisk_log and returns the result as JSON encoded data.

callCreate.php
This script is invoked to initiate an outgoing call. It simply opens a socket connection to Asterisk Manager and sends an „Originate“ action to place an outgoing call.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Postby williamconley » Fri Apr 22, 2011 9:19 am

My point exactly. LOL

If it never changes any files ... the odds on breaking any functionality are fairly low. 8)

But that's the "quick directions", when you do a real install ... you'll see if it requires changing any files for it to actually Work. they did mention it was designed for THEM and you may need to modify the installation to make it happen
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 71 guests