
Creating Push Messages
36 4600 Series IP Telephones Application Programmer Interface (API) Guide
Push Content (PC)
The Display push type’s Push Content has to be a WML file. This WML file can contain any of
the Web browser elements and features. See Chapter 7: Web Browser for 4610SW, 4620/
4620SW, 4621SW, and 4622SW IP Telephones and Chapter 8: Web Applications for more
details on elements and tags the Avaya IP Telephones support.
The outline of the “lunch_menu.wml” file (PC) from the Hotel example is as follows:
<!– Server Sends Response – Push Content (PC) - File in the <Push…<go href Url> -->
<?xml version="1.0"?>
<wml>
<card id=”lunch” title=”Lunch Menu”>
<p>
<select name=”selection” multiple=”true”>
<option value=”cheeseburger”>Cheeseburger w/fries</option>
<option value=”pizza”>Pizza</option>
<option value=”sub”>Sub</option>
<option value=”salad”>Chicken Caesar Salad</option>
</select>
<a href=”wtai://wp/mc;5551212”>Call Concierge</a>
</p>
<do type=”accept” name=”submit” label=”Submit”>
<go href=”submit_form.php” method=”get”/>
</do>
<do type=”prev” label=”Back”>
<prev/>
</do>
<do type=”accept” name=”home” label=”Home”>
<go href=”home.wml”/>
</do>
<do type=”accept” name=”help” label=”Help”>
<go href=”help.wml”/>
</do>
</card>
</wml>
Kommentare zu diesen Handbüchern