Click-to-Call Module
From ExtractValue Wiki
Click-to-call relates to the function of initiating a phone call from a web click.
Contents |
Objectives
- Enable a User to click to call another User or Group using a phone registered in the Centricity Database
- Verify User or Group identity via a phone survey
Pre-requisites
The IfbyPhone API can be found here: https://secure.ifbyphone.com/click_to_xyz.php?app=CTC&type=1&id=phone_num_1&phone_to_call=phone_num_2&key=your_api_key&acct=your_account_id&pwd=your_4_digit_pin
- In php you could either initiate this using cURL or file_get_contents and trigger that URL.
- If type is set to 1, then we call phone_num_2 first, and then call phone_num_1 . If its 2, we do the opposite.
- You can find your API key by logging into your account and go under the tools menu -> Building Block ID's.
Technical Specs v1.0
Centricity will use the IfbyPhone Click-to-call and API system.
User to Originator Call
For Version 1.0, the User will only be able to call the phone number listed under the Originator
- Check the database for a phone number
- If a phone number does not exist, then request a phone number.
- Post this phone number to the Centricity Database
- If a phone number does exist, then use the IfbyPhone API to initiate a call.
- Store this action in the Database
Error Prompt
- If the User initiating the call does not have a phone number listed, then prompt the User to input a phone number.
Technical Specs v2.0
User to User/Group Call
A call will take place between a User and the phone number of a Group or another User.
Examples
How Does a Phone Mashup Work
Ifbyphone Mashups replace traditional HTML forms with telephone-delivered voice dialogs. The following steps demonstrate the execution of a typical phone mashup application:
- A user initiates a phone call via a click on a web site or by calling an Ifbyphone toll free number.
- A SurVo voice form that has been previously configured on the Ifbyphone web site is triggered. The voice form delivers instructions to the caller and collects information via speech recognition or DTMF.
- At the completion of the user dialog (which has been configured in the voice form), the Ifbyphone service transmits collected information to your Ifbyphone Glue via the HTTP Methods "GET" or "PUT." Your Glue is, in fact, just a web application (coded like a web page) that has been structured to accept data as if it came from an HTML form. This web application can be secure or unsecured, hosted on any server and implemented in any programming language.
- The web application processes the information that is available in the form request. Results for numeric, multiple choice, yes/no, date, time, and question-option lists are available as text. Open-ended question results are available as recorded audio.
- When your application has finished processing the data from the SurVo voice form, it formats a reply to the SurVo as an XML file. The XML file specifies the next Ifbyphone building block to execute and any parameters required by this building block. For example, you can execute another SurVo voice form which reads the caller or clicker, information retrieved by your application via text-to-speech and then executes another series of prompts. It could be a voicemail account, a Find Me that is used to tranfer the call, or just a hang-up.
A Phone Mashup Example
An order status hot line is a typical Ifbyphone Glue API application. In this application, a SurVo voice dialog plays when your customer calls an Ifbyphone-provided toll free number. The customer's information is then posted to your web application, which looks up the customer's order and returns an XML-formated message to Ifbyphone's servers. The message then directs our system to either read a response to your customer or run another SurVo dialog.
The Ifbyphone API supports applications with any number of SurVo voice dialogs and multiple transactions between a web application and Ifbyphone servers. All SurVo voice dialogs are created via an intuitive web interface.
For more information on Ifbyphone's Glue API, as well as our custom development services, please call 1-877-295-5100 and ask for "Business Accounts."
Related Links
Category Tree
Categories: Marketing | API | Modules
