Call phone number, Answer call, Transfer and Hangup call, Play a pre-recorded message in web application

Should you need to transform the number before dialing (for example, remove plus or somehow else) please read the article about the dialing rules.

1. Open Integration - Protocol Handlers on Settings window:

Protocol hander settings

2. Enable protocol prefixes that Softphone.Pro must handle:

Enable  SoftphonePro.Call,  SoftphonePro.Transfer, SoftphonePro.Hangup protocol handlers

3. To make a new call use the following link in your web application:

<a href="SoftphonePro.Call:+19001234567">+1.900.123.45.67</a>

You can also pass additional parameter extid to identify call in your CRM:

<a href="tel:+19001234567;extid=123456">+1 (900) 123-45-67</a>
Softphone.Pro automatically replaces %ExtID% placeholder with a extid value for all call related event handlers:

extid parameter to indentify call

4. To transfer an active call to specific extension use the following link in your web application:

<a href="SoftphonePro.Transfer:100">Transfer to 100 extension</a>

Note, that your cloud\on-site PBX must support the call transfer feature. You also need to properly set up the call transfer in Softphone.Pro.

5. To hangup an active call use the following link in your web application:

<a href="SoftphonePro.Hangup:anything">Hangup</a>

Note, that you should define any string in href attribute value after SoftphonePro.Hangup: protocol prefix.

6. To answer an incoming call use the following link in your web application:

<a href="SoftphonePro.Answer:anything">Answer</a>

Note, that you should define any string in href attribute value after SoftphonePro.Answer: protocol prefix.

7. To play a pre-recorded message during the conversation use the following link in your web application:

<a href="SoftphonePro.PlayPrerecordedAudio:1">Play message 1</a>

Note, that you should define the ordinal number of a pre-recorded message in href attribute value after SoftphonePro.PlayPrerecordedAudio:: protocol prefix.