User manual POLYCOM UC SOFTWARE 3.3.1 DEVELOPER GUIDE REV A

Lastmanuals offers a socially driven service of sharing, storing and searching manuals related to use of hardware and software : user guide, owner's manual, quick start guide, technical datasheets... DON'T FORGET : ALWAYS READ THE USER GUIDE BEFORE BUYING !!!

If this document matches the user guide, instructions manual or user manual, feature sets, schematics you are looking for, download it now. Lastmanuals provides you a fast and easy access to the user manual POLYCOM UC SOFTWARE 3.3.1. We hope that this POLYCOM UC SOFTWARE 3.3.1 user guide will be useful to you.

Lastmanuals help download the user guide POLYCOM UC SOFTWARE 3.3.1.


Mode d'emploi POLYCOM UC SOFTWARE 3.3.1
Download
Manual abstract: user guide POLYCOM UC SOFTWARE 3.3.1DEVELOPER GUIDE REV A

Detailed instructions for use are in the User's Guide.

[. . . ] Web Application Developer's Guide Polycom Phones Running Polycom UC Software UC Software 3. 1. 1 | October 2010 | 1725-17693-331 Rev. A Trademark Information POLYCOM®, the Polycom "Triangles" logo and the names and marks associated with Polycom's products are trademarks and/or service marks of Polycom, Inc. and are registered and/or common law marks in the United States and various other countries. All other trademarks are property of their respective owners. [. . . ] 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). Note Care should be taken as the lines of code shown below may have wrapped. If you cut and paste these lines, they may contain new-lines where there should not be. Check for valid code before executing. <?xml version="1. 0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1. 0 Strict//EN" "http://www. w3. org/TR/xhtml1/DTD/xhtml1-strict. dtd"> <%@page import="java. io. File, java. io. IOException, java. net. URL, java. awt. image. B ufferedImage, javax. imageio. ImageIO"%> <html> <head> <title>Stock Quote</title> </head> <body> <% // GETTING THE PATH WHERE BMP FILE HAS TO BE SAVED String bmpFilePath = application. getRealPath(File. separator) + "quote. bmp"; // DEFINE URL FROM WHERE CONTENT TO BE RETRIEVED String stockUrl = "http://ichart. yahoo. com/t?s="; // RETRIEVE THE STOCK SYMBOL FROM REQUEST String stockSymbol = "PLCM"; // DEFAULT TO PLCM if ( request. getParameter("stockname") != null ) { stockSymbol = request. getParameter("stockname"); } readAndConvertContentToBmp(stockUrl + stockSymbol, bmpFilePath, stockSymbol); %> <%!// READ THE CONTENT FROM GIVEN URL AND THEN CONVERT THE CONTENT TO A BMP FILE private void readAndConvertContentToBmp(String a_stockUrl, String a_filePath, String a_name) throws IOException { try { BufferedImage stockImage = ImageIO. read(new URL(a_stockUrl)); ImageIO. write(stockImage, "bmp", new File(a_filePath)); } 3 - 22 Application Development for the Microbrowser catch (IOException ex) { throw ex;} } %> <!-- START DISPLAY BMP FILE --> <img src="quote. bmp"/> <!-- END DISPLAY BMP FILE --> </body> </html> 4. Configure the Web server to deploy the above JSP file. For example, if you are using Apache Tomcat to try this example, put this file into the webapps\PLCM folder of Tomcat. 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/AddStock. xhtml . On a SoundPoint IP phone, press the Applications (or Services) key. The AddStock. xhtml appears on the graphic display. Enter a stock symbol, then select the Get Quote soft key. The stock quote for the entered stock symbol appears on the graphic display. Note Dynamic XHTML applications can be developed using any Web server. Even though Tomcat is used in the example, the developer is free to use any Web server. Dynamic XHTML applications can be developed using any Web technologies--for example, ASP. net, Java Servlets, Java Server Pages, CGI-PERL, and PHP. SoundPoint IP/SoundStation IP/VVX XML API Application Refer to SoundPoint IP/SoundStation IP/VVX XML API Application Interface on page 2-1. This example uses a Telephone Integration URI: · This is an ASP. NET sample for an IIS Server. 3 - 23 Web Application Developer's Guide for the SoundPoint IP/SoundStation IP/VVX Family · A customer is browsing a company's web site on the internet. They come upon this web page (http://A_Web_Site/WebCallback. aspx), and enter their name and phone number as shown below. · After the customer clicks Send Request, the page shown below is pushed to the customer support agent's phone. The customer support agent can call the customer by just pressing the Select key, because the highlighted link contains a Tel URI with the customer's phone number. Using an integrated development environment (IDE) of your choice, create a file called webcallback. aspx . <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WebCallback. aspx. cs" Inherits="WebCallback" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1. 0 Transitional//EN" "http://www. w3. org/TR/xhtml1/DTD/xhtml1-transitional. dtd"> 3 - 24 Application Development for the Microbrowser <html xmlns="http://www. w3. org/1999/xhtml" > <head runat="server"> <title>Web Call Back Request</title> </head> <body> <form id="form1" runat="server"> <div> Please Enter Your Name and Phone # &nbsp;to Ask an Agent to Call Back Immediately:<br /> <br /> Name:<br /> <asp:TextBox ID="BoxName" runat="server" Height="23px" Width="192px"></asp:TextBox><br /> <br /> Phone #<br /> <asp:TextBox ID="BoxNumber" runat="server" Height="22px" Width="192px"></asp:TextBox><br /> <br /> <asp:Button ID="Button1" runat="server" Height="30px" OnClick="Button1_Click" Text="Send Request" Width="162px" /></div> </form> </body> </html> 2. Using the IDE of your choice, create a file called webcallback. aspx. cs. using using using using using using using using using using using using using System; System. IO; System. Text; System. Data; System. Configuration; System. Net; System. Web; System. Web. Security; System. Web. UI; System. Web. UI. WebControls; System. Web. UI. WebControls. WebParts; System. Web. UI. HtmlControls; System. Threading; public partial class WebCallback : System. Web. UI. Page { public static ManualResetEvent allDone = new ManualResetEvent(false); protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) 3 - 25 Web Application Developer's Guide for the SoundPoint IP/SoundStation IP/VVX Family { String phoneNum = BoxNumber. Text ; String name = BoxName. Text; //send a push request to the phone with the IP address //NOTE: Change this hardcoded IP address callbackReq("172. 18. 103. 32", phoneNum, name); } private void callbackReq(String phoneIP, String phoneNum, String name) { String strLoc = "http://" + phoneIP + "/push"; String[] cred = { "Polycom", "456" }; NetworkCredential myCred = new NetworkCredential(cred[0], cred[1]); CredentialCache myCache = new CredentialCache(); myCache. Add(new Uri(strLoc), "Digest", myCred); string result = ""; // Create the web request HttpWebRequest request = (HttpWebRequest)WebRequest. Create(strLoc); WebRequestState myRequestState = new WebRequestState(); myRequestState. request = request; request. Method = "POST"; request. Credentials = myCache; myRequestState. createPostData(phoneNum, name); IAsyncResult r = (IAsyncResult)request. BeginGetRequestStream( new AsyncCallback(ReadCallback), myRequestState); allDone. WaitOne(); // Get response HttpWebResponse response = (HttpWebResponse)request. GetResponse(); // Get the response stream StreamReader reader = new StreamReader(response. GetResponseStream()); 3 - 26 Application Development for the Microbrowser // Read the whole contents and return as a string result = reader. ReadToEnd(); reader. Close(); response. Close(); } private static void ReadCallback(IAsyncResult asynchronousResult) { WebRequestState myRequestState = (WebRequestState)asynchronousResult. AsyncState; WebRequest myWebRequest = myRequestState. request; // End the Asynchronus request. Stream streamResponse = myWebRequest. EndGetRequestStream(asynchronousResult); byte[] byteArray = Encoding. UTF8. GetBytes(myRequestState. getPostData()); // Write the data to the stream. [. . . ] WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE, EVEN IF POLYCOM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN ANY CASE, POLYCOM'S ENTIRE LIABILITY SHALL BE LIMITED TO THE GREATER OF THE AMOUNT ACTUALLY PAID BY YOU FOR THE SOFTWARE OR U. S. Some countries, states, or provinces do not allow the exclusion or limitation of implied warranties or the limitation of incidental or consequential damages for certain products supplied to consumers or the limitation of liability for personal injury, so the above limitations and exclusions may be limited in their application to you. The Software may not be downloaded or otherwise exported or reexported (i) into (or to a national or resident of) Cuba, Iraq, Libya, North Korea, Yugoslavia, Iran, Syria, Republic of Serbia, or any other country to which the U. S. [. . . ]

DISCLAIMER TO DOWNLOAD THE USER GUIDE POLYCOM UC SOFTWARE 3.3.1

Lastmanuals offers a socially driven service of sharing, storing and searching manuals related to use of hardware and software : user guide, owner's manual, quick start guide, technical datasheets...
In any way can't Lastmanuals be held responsible if the document you are looking for is not available, incomplete, in a different language than yours, or if the model or language do not match the description. Lastmanuals, for instance, does not offer a translation service.

Click on "Download the user manual" at the end of this Contract if you accept its terms, the downloading of the manual POLYCOM UC SOFTWARE 3.3.1 will begin.

Search for a user manual

 

Copyright © 2015 - LastManuals - All Rights Reserved.
Designated trademarks and brands are the property of their respective owners.

flag