Appendix A Push XML API
Push XML Reference
ServerRegistration
ServerRegistration is sent from the Application Gateway to the application URL specified in the Operation > Voice Office > IP Phone page of the Application Gateway Administration Tool. The ServerRegistration element provides your application with the Application Gateway IP address and port to which it should send XML strings.
Sample XML for ServerRegistration follows:
<ServerRegistration>http://AG_IPAddr:port</ServerRegistration>
Subscribers
Subscribers, sent from the Application Gateway to your application, provides the application with the subscribers which you can specify as individual alert recipients and/or members of a distribution list.
Sample XML for Subscribers and its child elements follows:
<Subscribers>
<Device name="user" dept="maintenance" action="add“ device_id="000E8349D6ED" extn="2027" class="model"/> device_id="000821381711" extn="2029" class="model"/>
<Device name="user" dept="marketing" action="update“ device_id="0009B7F3FA1D" extn="3015" class="model"/>
</Subscribers>
Element | Parent Element | Attributes | Enumeration | Description |
|
|
|
|
|
Subscribers | none |
|
| Parent element of one or more |
|
|
|
| Device elements. |
|
|
|
|
|
Device | Subscribers |
|
| The IP phones that have |
|
|
|
| registered with the Application |
|
|
|
| Gateway and can be named as |
|
|
|
| alert recipients or distribution |
|
|
|
| list members. |
|
|
|
|
|
|
| name |
| Either the user name |
|
|
|
| associated (in an LDAP |
|
|
|
| directory) with the device or |
|
|
|
| the phone model. |
|
|
|
|
|
Broadcast Server User Guide | 69 |