Click To Dial
From Pbxnsip Wiki
There are several ways to initiate a call from the PBX. In any case the PBX will call the extension and ask for a confirmation of the call. This ensures that there is no abuse of this feature.
Contents |
Using the TAPI Service Provider
If you use the TAPI Service Provider (TSP) then you can use any application sitting on top of the TSP to initiate calls. For example, Microsoft Outlooks provides access to the TSP, so that you can start calls from the address book.
Using web links
If you want to initiate calls from the PBX through the web interface, you can use web links. There are three types of links: Links that use a session, links that are not linked to a session and have a password and links that are not linked to a session and have no password.
Links within a session
When you log into your personal PBX portal, the PBX generates links that are clickable. For example, the list of missed calls contains such links. These links are authenticated by the session object inside the PBX. This is convenient if the user really interacts with the PBX and a log in is acceptable.
Links without session and password
When the PBX sends out emails, it includes links that contain the number to dial and the account to use, but not the authentication information. These links have the following form:
http://pbx/remote_call.htm?user=123&dest=123456789
The parameter "user" identifies the extension that should initiate the call. The parameter "dest" indicates which number should be dialed. The PBX will challenge the user, and the user must answer the challenge with the username and the password. The username must contain the domain (e.g. "123@domain1.com") if there are several domains on the system.
Links without session but with password
In some situations, you cannot answer the challenge from the PBX. For example, if you have a script that makes the PBX start a call, you want to include the credentials in the link already. These links have the following form:
http://pbx/remote_call.htm?user=123%40domain1.com&dest=123456789&auth=123%40domain1.com%3Asecret
The parameter "user" identifies the extension that should initiate the call. The parameter "dest" indicates which number should be dialed (like above). The parameter "auth" use used for authentication purposes. It must have the form "username:password" and it must be URL-encoded.
Links without 'press 1' prompt
In some situations, you want to be connected to the destination without having to listen the message 'press 1 to continue' and pressing the digit '1'. You can use 'connect=true' parameter as shown below to achieve this.
http://pbx/remote_call.htm?user=123%40domain1.com&connect=true&dest=5678912&auth=511%40domain.com%3Asecret
CRM Integration
Many CRM systems support logging of telephone calls with clients. This has the benefit that keeping CDR is combined with the sales team activities and callers can take notes as they are speaking.
For Netsuite we have prepared a special description on how to set this CRM tool up.
