Sample Asp Pages; Distribution_List.asp; Schedule_Message.asp - Avaya 16-300272 User Manual

Broadcast server user guide release 2.1 (service pack)
Table of Contents

Advertisement

Sample ASP Pages

distribution_list.asp

<%@ Language=VBScript %>
<HTML>
<HEAD>
</HEAD>
<%
'Put together some XML to post off
xmlString = "<?xml version=""1.0""?>" & vbcrlf
xmlString = xmlString & "<BCSDistributionList id='123' name='Jon Test'>" & vbcrlf
xmlString = xmlString & " <Member device_id='000E8349D6ED'/>" & vbcrlf
xmlString = xmlString & " <Member device_id='0009B7F3FA1D'/>" & vbcrlf
xmlString = xmlString & " <Member device_id='000821381711'/>" & vbcrlf
xmlString = xmlString & "</BCSDistributionList>"
You can use the script language of your choice to generate XML code. We
have provided sample Microsoft Active Server Pages (ASP) scripts to help
you get started. Your application will need to generate two ASP files: One
file to create a distribution list and one file to create an alert.
The following topics include sample script for writing, sending, and
receiving a response to a distribution list or scheduled alert:
distribution_list.asp, page 71
schedule_message.asp, page 73
The following sample code shows how to write the XML required to create
and add members to a distribution list, send the list to the Application
Gateway, and then send report status to the application from the
Application Gateway. You must send a distribution list to the Application
Gateway before you can begin sending alerts.
The IP addresses and device IDs in distribution_list.asp are examples.
Device IDs are listed in the Application Gateway License Monitor.
Note
To open the License Monitor, go to the Administration Tool
Operation > Advanced page.
Appendix A
Sample ASP Pages
Broadcast Server User Guide
Push XML API
71

Advertisement

Table of Contents
loading

Table of Contents