Call Popup into Salesforce CRM with SCD
Your PBX must be set up for https before anything else. Salesforce requires use of an https address for callbacks.
See the instructions for https setup
You must setup the salesforce connected app prior to setting up the module
See the instructions for Salesforce configuration
You must setup the SCD module and have an user registered with SCD.
Configuration of Salesforce call popup functionality with SCD
After successfully logging into the SCD (Sangoma Connect Desktop) application, go to settings by clicking on the profile icon located in the top right corner, followed by selecting the "Settings" option, as shown in the screenshot below.
Now, enable the call pop-up settings and enter the PBX URL for call pop-up, along with the required parameters, as illustrated below.
The URL format should match the below format.
<http://PBXIP:Port>/admin/ajax.php?module=sangomacrm&command=redirect&token=a01c28b9-6aff-4822-b3a2-1e4ae1b68a0c&src=%CALLER_ID_NUMBER%&%CALLER_ID_NAME%&%INCOMING_DID%
Replace your FPBXIP and token in the above mentioned URL format.
To obtain the token, please log in to your PBX CLI, connect to the Asterisk database, and execute the following query.
SELECT val FROM kvstore_FreePBX_modules_Sangomacrm WHERE `key` = 'redirectToken';
If no token is found in the database, then hit the mentioned URL by replacing your PBX IP along with a dummy token in any of the web browsers. This action will generate a new token in the database, allowing you to retrieve it using the same query.
After successfully configuring the call pop-up URL in your Sangoma phone application, you will observe the redirection to Salesforce CRM with a popup upon receiving an inbound call to a registered extension or user in SCD.