Polycom SIP 3.1 manual To develop an XML API application

Models: SIP 3.1

1 71
Download 71 pages 23.55 Kb
Page 54
Image 54

Developer’s Guide SoundPoint IP / SoundStation IP

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.

To develop an XML API application:

1.Using Microsoft Visual Studio, 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">

<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 #  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>

2 - 42

Page 54
Image 54
Polycom SIP 3.1 manual To develop an XML API application