
Creating Push Messages
44 4600 Series IP Telephones Application Programmer Interface (API) Guide
Push Agent
Once a Push Message is received from the Push Initiator, the Push Agent first parses the XML
file for validation and tag mismatch errors. Then the Push Agent verifies that the URL in the
<go> tag is part of the Trusted Push Servers.
Note: For more information on Trusted Push Servers, see Chapter 4: Push
Administration.
Then the Push Agent requests the Push Content from the Trusted Push Server using the URL.
Topline Push Content (PC)
The Topline push type’s Push Content has to be an XML file.
The following is the code excerpt associated with the Stock Alert Topline Push Example 2:
to be
sent as part of the Push Content:
Using the <Response> tag
The <Response> tag for the Topline push type must be the root element in the (PC) XML file.
<!– Server Sends Response – Push Content (PC) - File in the <Push…<go href Url> -->
<?xml version="1.0"?>
<Response>
<Topline>
Stock Alert: AV @ $15
</Topline>
</Response>
Kommentare zu diesen Handbüchern