This integration guide provides detailed step-by-step instructions for setting up the integration used for uploading call recordings from Wildix PBX to the Voyc platform. Following these instructions will ensure a successful and efficient setup.
Prerequisites
Go to the PBX’s
terminal
📝Take Note: Pressing enter is a default for CLI
Log in as the super user using the
Su
command, then enterpassword
Wildix
when prompted.
To initiate the integration setup, please follow the steps outlined below:
Step 1: Upload the Archive
First you have to download the archive from the provided link: voyc_upload
Upload the archive to the
/home/admin
directory using admin credentials and either SCP or an FTP client like Filezilla/WinSCP (if it’s a cloud hosted PBX useport 2222
; you may also need to enable SSH access in the Wildix portal first).
Step 2: Unzip the Archive
Navigate to the directory where the archive is stored by running the following command:
cd /home/admin/
Extract the contents of the archive to the desired location by executing the following command:
tar -xzvf voyc_upload.tar.gz -C /mnt/backups
Step 3: Create a Cron job
Edit the Crontab:
In the CLI, execute:
crontab -e
If it's your first time using crontab, you'll be prompted to select an editor. Choose Nano-tiny.
Add the following line to schedule the processing and uploading scripts to run every minute:
* * * * /mnt/backups/voyc_upload/process_files.sh > /dev/null 2>&1
Save and exit the editor by pressing Ctrl + X, then confirm with Y, and hit Enter.
Step 4: Configure the Dialplan
In this step you have to configure the Dialplan, you can do this by:
Importing the Dialplan configuration from this
link
: Dialplan configurationForward calls directly from users or other outbound dialplan to Voyc using a jump to application.
Fill out the mandatory
channel_id
,org_id
andapi_key
variables (obtained in the Voyc admin portal) in the Voyc dialplan:TAGS & direction can be used to provide additional information about the call, feel free to change them according to your setup.
📝Take note: Don’t forget to fill out the dial the trunk application at the bottom of the Voyc dialplan:
Frequently Asked Questions
How do I upload the Voyc archive to the PBX?
How do I upload the Voyc archive to the PBX?
Use SCP or an FTP client like Filezilla/WinSCP to upload the archive to the /home/admin directory. If it's a cloud-hosted PBX, use port 2222
and ensure SSH
is enabled in the Wildix portal.
How do I unzip the Voyc archive?
How do I unzip the Voyc archive?
Run the following commands:
cd /home/admin/
tar -xzvf voyc_upload.tar.gz -C /mnt/backups
This extracts the archive to the /mnt/backups
directory.