beautypg.com

Polycom IP Phone 1725-17693-210 Rev. A User Manual

Page 24

background image

Developer’s Guide SoundPoint IP / SoundStation IP

2 - 14

2.

Configure the Web server to serve the above XHTML file.
For example, if you are using Apache Tomcat to try this example, then put

this file into the webapps\PLCM folder of Tomcat.

3.

Configure SoundPoint IP and SoundStation IP phones to point to the

XHTML file in the sip.cfg configuration file.
For this example, change mb.main.home to
http://<WEBSERVER_ADDRESS:PORT>/PLCM/Sample.xhtml

.

4.

Reboot the phones.

5.

On a SoundPoint IP phone, press the Services (or Applications) key.
The text “Hello World!” appears on the graphic display.

To develop a dynamic XHTML application:

1.

Create a AddStock.xhtml page.
This XHTML page is designed for getting a stock symbol as input from the

SoundPoint IP or SoundStation IP phone, then retrieve the information for

this stock symbol.

Stocks

Symbol

2.

Configure the Web server to serve the above XHTML file.
For example, if you are using Apache Tomcat to try this example, put this

file into the webapps\PLCM folder of Tomcat.

3.

Write an application that is going to retrieve the stock information from a

data service provider.
For this example, this application will be retrieving stock information from

Yahoo and will send it to the Microbrowser. This application is written

using a Java Server Page (JSP).