I want to integrate Asterisk with Salesforce for VoIP functionality and would like to understand what components or configurations are required for this integration.
Is it possible to create a custom VoIP-related module or integration in Salesforce to connect it with Asterisk?
Also, can this be done without purchasing the Salesforce VoIP/CTI module? If anyone has experience with this setup.
please suggest the best approach to achieve this integration.
The “old simple way” (around 6 years ago) to achieve this was to use Salesforce Open CTI.
It allows you to embed a custom iframe directly inside the Salesforce UI, where you can implement whatever you need, and interact with Salesforce using the Open CTI JavaScript API (for example: screen pop or click-to-dial). A good reference point i used was the Twilio sample integration available on GitHub.
(care it is now really old)
This approach is still perfectly valid in 2026: it’s free, relatively simple, and gives you full control.
That said, Salesforce has introduced many new modules and integration patterns since 2020, some of which may be better suited depending on your use case—so it’s worth reviewing those options first.
If you do go with Open CTI, the real challenge will be building (or embedding) a WebRTC softphone inside that iframe. You’ll then need to connect this frontend to Asterisk.
I’d strongly recommend using a Node.js backend as a relay between the browser and Asterisk (via ARI/REST), rather than trying to connect things directly.
NB: This is not exactly how I implemented it 6 years ago—my softphone was running outside the Salesforce iframe. I mainly used Open CTI for CRM interactions and had a simpler CTI-bridge layer instead of a full Node.js relay.