CWilio
Installation Instructions
- Download all files and place on a web server with PHP>=5.6 and cURL
- Change all values in cwilio-config.php
- Open your Twilio phone number console. https://www.twilio.com/console/phone-numbers/incoming
- Select the phone number you want to use.
- Set the "A call comes in" URL to https://domain.tld/cwilio.php
- Call your number and test it out!
VM-Only
You can use the vmonly file to just transcribe and create tickets for voice mails within ConnectWise.
Just configure the CW block of cwilio-config.php and place that and vmonly.php in a folder and point a twilio line to it.
Note that in order to use the robot text instead of greeting please see comment towards end of file.
This requires an mp3 called vm.mp3 to be in the same directory, assumed to be https://domain.tld/cwilio/vm.mp3
If you want to split off after hours VMs which will be tagged differently in ConnectWise, please use a second twilio line and set its call URL to cwilio-vmonly.php?ah=true instead of cwilio-vmonly.php
API Key Setup
- Login to ConnectWise
- In the top right, click on your name
- Go to "My Account"
- Select the "API Keys" tab
- Click the Plus icon to create a new key
- Provide a description and click the Save icon.
- Save this information, you cannot retrieve the private key ever again so if lost you will need to create new ones.