Web Application for Polycom Phones UC Software 5.0.0
Polycom, Inc. 72
}
}
public class WebRequestState
{
public String postData = null;
public WebRequest request;
public WebRequestState()
{
request = null;
}
public String getPostData()
{
return postData;
}
public void createPostData(String phoneNum, String name)
{
postData =
"<PolycomIPPhone><Data Priority=\"Critical\">" +
"<title>Customer Web Call Back Request</title>" +
" <h1>Customer Name : " + name + " </h1> <br></br>" +
"<a href=\"tel://" + phoneNum + ";Line1\">Callback to Customer</a>" +
"</Data></PolycomIPPhone>";
}
}
3 Configure the Web server to deploy the preceding files.
4 Change the below configuration parameters to the following:
Set apps.push.username to Polycom.
Set apps.push.password to 456.
The phone’s IP address is hardcoded in webcallback.aspx.cs to 172.18.103.32 for this
example. You must change this to another value, noted in the code.
5 Reboot the phone.
After a customer enters their name and phone number on the Web page, the Customer Web Call
Back Request page appears on the phone with IP address hardcoded in the
webcallback.aspx.cs file.