Map Accessing telephony services with REST APIs

You can integrate Web telephony into new and existing applications using a Representational State Transfer (REST) API. Telephony features include making phone calls, receiving phone calls, and receiving call notifications within the Web application.

Before you begin

Avoid trouble Avoid trouble: For a list of restrictions that are changed based on various service levels of the product, see the topic What is new in the Feature Pack for CEA.gotcha

The Communications Enabled Applications (CEA) capability requires an IP private branch exchange (PBX) as part of your infrastructure. An IP PBX is a business telephone system designed to deliver voice over a data network and interoperate with the Public Switched Telephone Network (PSTN). A sample IP PBX application is included in the application server installation. The sample IP PBX is in the form of an application enterprise archive (EAR) file and is for test purposes only. It can be used to test out the REST interface in the absence of an actual IP PBX that would be used in production. Installation of the sample IP PBX application only requires installing the sample EAR on a dedicated application server. The details of installing and configuring the vendor-specific IP PBX are not provided. Along with the sample IP PBX, two soft phones are needed to test the application.

An understanding of the REST interface requests and responses is needed to perform this task. See the information on REST APIs in CEA for a complete reference to the REST API.

About this task

This task uses JavaScript within an application, which calls the REST interface to manage phone calls over an IP network. Formerly, this capability required building SIP servlets and a detailed understanding of the SIP specification.

For another way to accomplish this task using time-saving widgets, see the information center topics on making phone calls and call notifications in Web applications.

This task lists the steps needed to develop and deploy an application that can manage phone calls, including how to configure the application server.

Procedure

  1. Enable the system application.
  2. Install and configure the IP PBX.
  3. Configure the IP PBX location.
  4. Restart the application server.
  5. Develop a new application that calls the REST interface.
  6. Install and start the new application.
  7. Test the new application.

Results

An application has been developed and deployed leveraging the REST interface to make and receive phone calls and call notifications.

Avoid trouble Avoid trouble: If problems are encountered, troubleshooting can be done to find the source. Here is a checklist. gotcha



In this information ...


Related information

(Index)

IBM Redbooks, demos, education, and more


Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.



Terms and conditions for information centers | Feedback

Last updated: Jun 11, 2013 12:22:08 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v700cea&product=was-nd-mp&topic=tcea_manage_calls_rest
File name: tcea_manage_calls_rest.html