MS VTP Commands

User Authorization

U - Username

Command

Argument

U

Username

Provide the Username as a string of ASCII characters. The Username is case sensitive. VTP User names are limited to a maximum of 16 characters and cannot contain spaces.

P - Password

Command

Argument

P

Password

Provide the password as a string of ASCII characters. The password is case sensitive. VTP User passwords are limited to a maximum of 16 characters and cannot contain spaces.

A – Authorization

Command

Argument

A

Authorize

Request authorization using the username/password pair previously provided.  If the pair is valid the VTP service responds with “SUCCESS” otherwise it will respond with “FAILURE”.

Example Sequence with XML Responses

Connection Accepted

U admin

P admin

A

<?xml version="1.0"?><Status Command="A"><State>AUTH_SUCCESS</State></Status>

 

Internal Function

. - Terminate Session

A full-stop will terminate the VTP session and close the socket.

Command

Argument

.

n

 

K - Reboot Device

The K Command is used to perform a remote reboot of a device.

Command

Argument

Argument

K

DeviceType

DeviceID

Use the Q D Command to query devices in a World.

The reboot device responses will be as follows:

<?xml version="1.0"?><Status Command=K><Device type="DeviceType" id="DeviceID">DeviceName:DeviceID</Device><State> Reboot device state </State></Status>

DeviceName is a string representation of the device type.

Reboot device state can be :

Note:

  • EWS-4 and EWS-10 paging stations are reported as WS-4 and WS10 respectively.

  • The Valid ID range is a hex value based on the MSB and LSB Device ID

 

Device Type

Device Name

Valid ID Range

1

DS-4

01 - FF

2

WS-4

01 - FF

3

DS-10

01 - FF

4

WS-10

01 - FF

5

ANC-1

01 - FF

6

VI-6

01 - FF

7

VO-4

01 - FF

8

LSI-16

01 - FF

9

MS-1

01 - FF

10

VO-4e

01 - FF

11

WR-1

01 - FF

12

VA-8600

01 - FF

14

GPIO-1

01 - FF

16

TTS-1

01 - FF

17

VA-4030(e)

01 - FF

18

VA-2060(e)

01 - FF

32

VI-8

01 - FF

33

VOIP-1

01 - FF

34

POTS-1

01 - FF

35

VA-8150CV

01 - FF

36

VA-4300CV

01 - FF

 

Example including connection to socket

Connection Accepted

U admin

P 1234

A

<?xml version="1.0"?><Status Command="A"><State>AUTH_SUCCESS</State></Status>

 

Q D

<?xml version="1.0"?><Query Command="D"><Devices count="8">

<Device type="3" id="04">DS-10:04</Device>

<Device type="17" id="44">VA-4030:44</Device>

<Device type="12" id="04">VA-8600:04</Device>

<Device type="7" id="03">VO-4:03</Device>

<Device type="7" id="0F">VO-4:0F</Device>

<Device type="6" id="01">VI-6:01</Device>

<Device type="9" id="50">MS-1:50</Device>

<Device type="9" id="51">MS-1:51</Device>

</Devices></Query>

 

K 7 03

<?xml version="1.0"?><Status Command="K">

<Device type="7" id="03">VO-4:03</Device><State>REBOOT_SUCCESS</State></Status>

 

I ON

Interactive now on

 

K 3 04

Sent reset device command for DS-10:04

Reset Device command succeeded for DS-10:04

<?xml version="1.0"?><Status Command="K">

<Device type="3" id="04">DS-10:04</Device><State>REBOOT_SUCCESS</State></Status>

 

In this example the Device Query (Q D) command was used to discover hardware on the network. A VO-4 with Device ID 07 was reset. Then Interactive Mode was enabled and a DS-10 with a Device ID of 04 was reset.

Zone Definition

The system will store a list of Zones to be used with subsequent Page requests. This list of Zones remains current for all future Page requests until overridden by a future Zone list definition. All accessible Zones correspond to the Zone ID numbers shown in Vocia software for the connected Vocia system. Remote Zones in a Multi-World system cannot be accessed via this method – access to remote systems must be made through the MS-1 residing in those systems directly.

Z n1 n2 …

Where n1 n2 … is a list of Zones as decimal numbers each separated by a space.

Command

Example

Z

1 2 3

 

? - Glossary of VTP Commands

Reports all valid VTP commands in English. (Interactive Mode must be enabled for reporting to work)

Command

Argument

?

Not Needed

 

# ==========================================================================

#  Vocia VTP Help

# ==========================================================================

#

# -------------------------------------

#  Login and Authentication:

# -------------------------------------

#   U username          - Supply the username

#   P password          - Supply the password

#   A                       - Request authorization of the username/password pair

#

#   C h s                  - Set control handle state

#                         h - control handle id

#                         s - control handle state

#

#   Z n1 n2 ...          - Make this the list of active zones. Overrides previous setting

#

#   E n e/z filename data - Message element definition

#                         n - sequence number

#                         e - existing wavefilename

#                         z - end of sequence marker

#

#   K devtype devid  - Reset a device

# -------------------------------------

#  Query Commands:

# -------------------------------------

#   Query system configuration via VTP

#   Q A                   - List available audio files

#   Q B zone            - List available background sources

#   Q C                   - Display the configuration version

#   Q D                   - List the devices in this world

#   Q E                   - Query the emergency paging priority threshold

#   Q H                   - List available control handles

#   Q I                    - List available user inputs

#   Q L                   - List available page codes

#   Q M                  - Query the state of System Mute

#   Q N index           - Query the network link state of a network interface

#   Q P pagecode     - Display page code details

#   Q S zone           - Display zone configuration details

#   Q T Z zone        - Query the page inhibit threshold for a zone

#   Q U                  - Currently active user input events

#   Q X                  - List active and queued announcements

#   Q Z                  - List available zones

#

# -------------------------------------

#  Background Execution Commands:

# -------------------------------------

#   B I ON/OFF            - Set zone page inhibit on or off

#   B L A value            - Set zone background level (value = 0 - 255)

#   B L P value            - Set zone background level (value = 0 - 100)

#   B M ON/OFF           - Set zone background mute on or off

#   B P ON/OFF            - Set allow zone page inhibit on or off

#   B Q zone               - Query the state of the specified zone

#   B S bundle channel  - Set zone background source

#   B Z ON/OFF           - Set zone mute on or off

#

# -------------------------------------

#  Page Execution Commands:

# -------------------------------------

#   X A                        - Cancel all the active, queued and auto repeating announcements

#   X C id                     - Cancel the active, queued or auto repeating announcement #id

#   X D id                     - Delete user input page #id

#   X P pagecode id       - Execute a recorded announcement page code as page #id

#   X U devtype devid chan duration priority mode id - Execute user input page #id, to preselected zones

#   X S Y/N priority id queue - Execute sequence page #id to preselected zones

#

# -------------------------------------

#  Auto Repeat Commands:

# -------------------------------------

#   R N count           - Set the number of repetitions for subsequent announcements

#   R T interval         - Set the time interval in seconds between repeats

#   R I                     - Repeat until cancelled (overrides repeat count)

#   R L                    - List all auto repeating announcements

#   R C id                - Cancel the auto repeating announcement #id

#   R A                   - Cancel all auto repeating announcements

#

# -------------------------------------

#  Session Commands:

# -------------------------------------

#   D ON/OFF            - Enables/disables encapsulating VTP responses with delimeters

#   I ON/OFF            - Toggles interactive mode (enables verbose responses)

#   L ON/OFF            - Enables/disables logging of VTP activity

#   J ON/OFF            - Enables/disables zone states updates

#   J POLL                - Poll the current state of all zones in the local world

#   M ON/OFF           - Enables/disables system mute states updates

#   S ON/OFF           - Enables/disables page status updates

#

#   ?                   - Display this help information

#   .                   - Terminates session

#   # text            - Provide a comment to be ignored. Possibly an error message

# ==========================================================================

 

Enable Logging and Prompts

D - Enable/Disable VTP Response Encapsulation

The D command is used to enable or disable encapsulation of the responses transmitted by the MS-1 VTP Processor. 

Command Argument
D

On / Off

State shall be:

When encapsulation is turned on, VTP responses will be encapsulated with the ASCII control characters STX (0x02) and ETX (0x03). An example of an encapsulated response is shown below with [STX] and [ETX] used to denote where the STX and ETX characters will be:

 

Example of encapsulated response

[STX]<?xml version="1.0"?><Status Command="X"><Id>2</Id><State>PAGE_NEW_REQ</State></Status>[ETX]

 

 

Example in hexadecimal binary format

02 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 3f 3e 3c 53 74 61 74 75 73 20 43 6f 6d 6d 61 6e 64 3d 22 58 22 3e 0d 0a 3c 49 64 3e 32 3c 2f 49 64 3e 3c 53 74 61 74 65 3e 50 41 47 45 5f 4e 45 57 5f 52 45 51 3c 2f 53 74 61 74 65 3e 3c 2f 53 74 61 74 75 73 3e 03

 

L - Activity Logging

The VTP service on the MS-1e can be made to log VTP command activity to the MS-1e’s system log.  This can be useful for debugging a third party application or for keeping a record of system activity.

Command

Argument

L

On / Off

I - Interactive Mode

Interactive mode defines whether informative responses are sent back to the consol. It is offered to make the system more human readable. When interactive mode is ON, feedback confirms commands have been successfully accepted and processed by the system. These responses may confuse a computer-based controller, and so are disabled by default. The ? command can be used once interactive mode is turned on to receive a list of valid VTP commands from the VTP service.

Command

Argument

I

On / Off

S - Show Page Progress

The MS-VTP service will provide progress status for the currently active paging announcement via MS-VTP. Only pages triggered via MS-VTP are reported.  This information can be used to provide the MS-VTP client with feedback as to the progress of the announcement in the paging system. This facility can be turned on and off using the ‘S’ command and is turned off by default.

 

Command

Argument

S

On / Off / ALL

The page progress responses will be as follows:

<?xml version="1.0"?>

<Status Command=X>

<Id> Page event id </Id>

<State> Page progress state </State>

</Status>

Where

 

J - Zone Status Updates

Command

Argument

J

state

Zone number must be specified before sending this command using the Z n1 n2 n3 command . Where n1 n2 n3 are zone numbers

State shall be

Example

<?xml version="1.0”?>

<Status Command="J">

<Zone id=”1” state=”IDLE”/>

<Zone id=”2” state=”IDLE”/>

<Zone id=”3” state=”IDLE”/>

<Zone id=”4” state=”IDLE”/>

<Zone id=”6” state=”5”/>

<Zone id=”12” state=”5”/>

</Status>

The state of a zone can either be IDLE or it will be the numeric priority that is active in that zone in the range 1 to the Emergency Paging Threshold – 1.  For example if the Emergency Paging Threshold is 101, the numeric priority will be in the range 1 to 100.

The response for a Zone Status POLL command will be in the same format as a zone status update above, however it will contain all of the zones configured in a World.

It should be noted that Emergency Paging and/or Emergency Message playback can cause an audio output channel that has been assigned to both a Zone and an Emergency Zone to become unavailable for custom page code playback.  As the relationship between Zone and Emergency Zone assignment is complex (Zone and Emergency Zones can overlap) any emergency activity will not be reflected in the zone status information provided (the emergency system operation is intended to occur at the highest level of priority).

 

M - Enable System Mute Status Updates

The 'M' command supports turning on/off system mute status updates. System mute status updates will be sent anytime the state of system mute changes.

Command

Argument

M

state

State shall be

Example

<?xml version="1.0"?>

<Status Command=M>

<SystemMute>N</SystemMute>

</Status>

 

Background Control Commands

B I - Sets Page Inhibit State for a zone

Command

Argument

B I

state

Zone number must be specified before sending this command using the Z n1 n2 n3 command . Where n1 n2 n3 are zone numbers

State shall be

Example including connection to socket

U Admin

P Password

A

Z 2

B I ON

This example shows Paging Inhibit being set to ON in Zone 2

 

B L P - Sets Background level using a percentage level

Command

Argument

B L P

level

Zone number must be specified before sending this command using the Z n1 n2 n3 command . Where n1 n2 n3 are zone numbers

Where level determines the Background Audio Level specified as a percentage value from 0 to 100.

Example including connection to socket

U Admin

P Password

A

Z 2

B L P 50

This example shows the level set in Zone 2 to 50%.

 

B L A  – Set Background level using an absolute value

Command

Argument

B L A

level

Zone number must be specified before sending this command using the Z n1 n2 n3 command . Where n1 n2 n3 are zone numbers

Sets the Background Audio Level to the level specified as an absolute value from 0 to 255.

Example including connection to socket

U Admin

P Password

A

Z 2

B L A 127

This example shows the absolute level being set to 127 in Zone 2.

 

B M - Background Music Mute

Command

Argument

B M

state

Zone number must be specified before sending this command using the Z n1 n2 n3 command . Where n1 n2 n3 are zone numbers

State shall be

Example including connection to socket

U Admin

P Password

A

Z 2

B M ON

This example shows the Background source mute being activated in Zone 2.

 

B Q zone– Queries current state of specified Zone

Command

Argument

B Q

zone

This command is only used on a per-zone basis. Therefore it requires the zone to be specified as part of the command. If no zone is specified no response will be given.

Command will respond with the current state of the specified Zone. This includes background level (specified as a percentage value), background source, page inhibit, and mute.

Use of the Q Z command will allow details of the current zone configuration to be confirmed

Example including connection to socket

U Admin

P Password

A

<?xml version="1.0"?><Status Command="A">

<State>AUTH_SUCCESS</State></Status>

 

Q Z

<?xml version="1.0"?><Status Command="Z"><Zones Count="4">

<Zone id="1">Zone 1</Zone><Zone id="2">Zone 2</Zone>

<Zone id="3">Zone 3</Zone><Zone id="4">Zone 4</Zone></Query>

 

B Q 1

<?xml version="1.0"?><Zone Status id="1">

<AllowPageInhibit>Y</AllowPageInhibit><Bundle>3008</Bundle>

<Channel>2</Channel>

<ZoneLevel>45</ZoneLevel><ZoneMute>N</ZoneMute>

<ZonePageInhibit>N</ZonePageInhibit>

<ZoneBackgroundMute>N</ZoneBackgroundMute></ZoneStatus>

 

B P - Controls WR-1 Page Inhibit access

Command Argument

B P

state

Zone number must be specified before sending this command using the Z n1 n2 n3 command . Where n1 n2 n3 are zone numbers

Controls the access to Page Inhibit for all the WR-1 panels configured for the specified zone.

State shall be

Example including connection to socket

U Admin

P Password

A

Z 2 4 5

B P ON

This example shows the Paging Inhibit access being activated in Zones 2,4 & 5.

 

B S – Background Audio source selection

Command

Argument

Argument

B S

bundle

channel

Request a change to the background audio source for the list of Zones specified. The background source is specified using the CobraNet bundle “bundle” and bundle “channel” carrying the desired audio source. The bundle numbers and channels available for background selection in a given zone can be queried using the Q B zone command (see VTP Query Commands).

Example sequence

    1. Connection to the socket

    2. Request client seat (Enter VTP User Name and Password information, which is set in Vocia software under VTP Users). U n=User Name P n1=Password

    3. Authorize the user (Use the A command)

    4. Set Interactive mode to ON (i on). Interactive mode will generally not be used. It has been turned on in this example to show the commands being processed.

    5. Enter the zone required for the background change using the Z command (e.g. to change to Zone 1 enter command Z 1).  Once a zone command has been entered that zone/s will remain selected until a new zone command is issued. This means that multiple changes to the same zone or zones are possible without re-entering the zone information.

    6. Query the list of assignable background channels for the zone. As is shown in the example screenshot below for Zone 1 enter Q B 1 (for more information on the Q B command, see VTP Query Commands). The list of available background channels for Zone 1 will be shown.

    7. Enter and execute the background source change (To change to input channel four, enter the bundle number, and then the input channel number as shown in the example below B S 3008 3)

Example including connection to socket

U Admin

P Password

A

I ON

Z 2

B S 3008 3

 

 B Z - Zone Mute

Command

Argument

B Z

state

Zone number must be specified before sending this command using the Z n1 n2 n3 command . Where n1 n2 n3 are zone numbers

Will mute all audio into a specified zone.

State shall be

Example including connection to socket

U Admin

P Password

A

Z 2

B Z ON

This example shows the Zone Mute being activated in Zone 2.

 

MS VTP Query Commands

A third party application using VTP may need to access certain aspects of the MS-1s configuration. For example it may be necessary to render a list of destination zones or Page Codes on a user interface. The VTP Configuration Query commands can be used for this purpose. All responses are made in XML format and are detailed after the relevant command.

Q A - Query Audio File List

List the recorded announcement .WAV files available for playback by the MS-1e.

Command

Argument

Q A

Not needed

The response to an audio file list query command will be as follows:

<?xml version="1.0"?>

<Query Command=”A”> <AudioFiles count=”FileCount”>

<AudioFile id=”FileID”> AudioFileName </ AudioFile >

...

<AudioFile id=”FileID”> AudioFileName </ AudioFile >

</AudioFiles> </Query>

 

Example with XML response included

   

Q A

<?xml version="1.0"?><Query Command="A"><AudioFiles count="1">

<AudioFile id="1">/vociawavs/6 Code Gray-15.0dB.wav</AudioFile></AudioFiles></Query>

Note: Audio files uploaded by the FTP service to the MS-1e will not be displayed as part of this list. As FTP is the primary mechanism supported for providing dynamic (ie. post configuration) audio files from a third party system, FTP is the mechanism that will need to be used to determine if a custom audio file is present. This can be done by listing the contents of the FTP folder locations. See the MS-1e FTP Interface section for more information on viewing the files uploaded via FTP.

 

Q B zone - Query Background Source List

Return a list of the available background sources for the specified destination zone number zone. The response includes a background source label, and the CobraNet bundle and bundle channel carrying the desired background audio.

Command

Argument

Q B

Zone number

The response to a background source list query command will be as follows:

<?xml version="1.0"?><Query Command=”B”> <Backgrounds count=”BackgroundCount”>

<Background id=”BackgroundIndex”>

<Bundle>BundleNumber</Bundle>

<Channel>BundleChannel</Channel>

<Name>BackgroundSourceName</Name>

 </ Background >

<Background id=”BackgroundIndex”>

<Bundle>BundleNumber</Bundle>

<Channel>BundleChannel</Channel>

<Name>BackgroundSourceName</Name>

 </ Background >

</AudioFiles> </Query>

 

Example with XML response included - no background Channels configured

Q B 1

<?xml version="1.0"?><Query Command="B"><Backgrounds count="0">

</Backgrounds></Query> 

 

Example with XML response included - with six background Channels configured

Q B 1

<?xml version="1.0"?><Query Command="B"><Backgrounds count="6">

<Background id="1"><Bundle>3028</Bundle><Channel>1</Channel>

<Name>Input Channel 1</Name></Background>

<Background id="2"><Bundle>3028</Bundle><Channel>2</Channel>

<Name>Input Channel 2</Name></Background>

<Background id="3"><Bundle>3028</Bundle><Channel>3</Channel>

<Name>Input Channel 3</Name></Background>

<Background id="4"><Bundle>3028</Bundle><Channel>4</Channel>

<Name>Input Channel 4</Name></Background>

<Background id="5"><Bundle>3028</Bundle><Channel>5</Channel>

<Name>Input Channel 5</Name></Background>

<Background id="6"><Bundle>3028</Bundle><Channel>6</Channel>

<Name>Input Channel 6</Name></Background>

</Backgrounds></Query>

 

Q C - Query Configuration Version

Query the current configuration ID for the MS-1e and its World. This command can be used to poll for changes to the configuration and to ensure the configuration used by the third party application is synchronized to the MS-1e.

  Command

Argument

Q C

Not needed

 

The response to a configuration query command will be as follows:

<?xml version="1.0"?>

<Query Command=”C”>

<ConfigID> WorldID  ConfigurationVersion  CreationTime  BuildSequence </ ConfigID >

</Query>

Example

Connection Accepted

U admin

P admin

A

<?xml version="1.0"?><Status Command="A"><State>AUTH_SUCCESS</State></Status>

I on

Interactive now on

QC

<?xml version="1.0"?><Query Command="C"><ConfigID>01 F61ED107 4DCBA831 4DD154D9</ConfigID></Query>

  

Q D - Query Device List

This command queries the devices that are included in the current configuration for the MS-1 and its world.  

The Q D command can be used to list the devices that the system has been configured for, for use in commands such as Reset Device.

Command

Argument

Q D

Not needed

The response to a device query command will be as follows:

<?xml version="1.0"?><Query Command="D"><Devices count="DeviceCount">

<Device type="DeviceType" id="DeviceID">DeviceName:DeviceID</Device>

<Device type="DeviceType" id="DeviceID">DeviceName:DeviceID</Device>

</Devices></Query>

Where:

Note:

  • EWS-4 and EWS-10 paging stations are reported as WS-4 and WS10 respectively.

  • The Valid ID range is a hex value based on the MSB and LSB Device ID

 

Device Type

Device Name

Valid ID Range

1

DS-4

01 - FF

2

WS-4

01 - FF

3

DS-10

01 - FF

4

WS-10

01 - FF

5

ANC-1

01 - FF

6

VI-6

01 - FF

7

VO-4

01 - FF

8

LSI-16

01 - FF

9

MS-1

01 - FF

10

VO-4e

01 - FF

11

WR-1

01 - FF

12

VA-8600

01 - FF

14

GPIO-1

01 - FF

16

TTS-1

01 - FF

17

VA-4030(e)

01 - FF

18

VA-2060(e)

01 - FF

32

VI-8

01 - FF

33

VOIP-1

01 - FF

34

POTS-1

01 - FF

35

VA-8150CV

01 - FF

36

VA-4300CV

01 - FF

 

Example Sequence with XML response included

   

Connection Accepted

U admin

P 1234

A

<?xml version="1.0"?><Status Command="A"><State>AUTH_SUCCESS</State></Status>

 

Q D

<?xml version="1.0"?><Query Command="D"><Devices count="9">

<Device type="2" id="01">WS-4:01</Device>

<Device type="3" id="02">DS-10:02</Device>

<Device type="4" id="01">WS-10:01</Device>

<Device type="18" id="08">VA-2060:08</Device>

<Device type="17" id="44">VA-4030:44</Device>

<Device type="7" id="04">VO-4:04</Device>

<Device type="6" id="15">VI-6:15</Device>

<Device type="9" id="50">MS-1:50</Device>

<Device type="8" id="02">LSI-16:02</Device>

</Devices></Query>

 

Q E - Query Emergency Paging Priority Threshold

Request the current Emergency Paging Priority Threshold.

Command

Argument

Q E

Not needed

The response to a control handle list query command will be as follows:

<?xml version="1.0"?>

<Query Command=”E”>

<EmergencyPagingPriorityThreshold>Priority</EmergencyPagingPriorityThreshold>

</Query>

 

Where

 

Example Sequence with XML response included

Q E

<?xml version="1.0"?><Query Command="E">

<EmergencyPagingPriorityThreshold>101</EmergencyPagingPriorityThreshold>

</Query>

Q H - Query Control Handle List

Request a list of the current Control Handles available in the system. This command provides the Control Handle ID and the label.

Command

Argument

Q H

Not needed

The response to a control handle list query command will be as follows:

<?xml version="1.0"?>

<Query Command=”H”><Handles count=”HandleCount”>

<Handle id=”HandleID”> HandleLabel </Handle >

<Handle id=”HandleID”> HandleLabel </Handle >

</Handles></Query>

Where

 

Example Sequence with XML response included

Q H

<?xml version="1.0"?><Query Command="H"><Handles count="0">

</Handles></Query>

Q H

<?xml version="1.0"?><Query Command="H"><Handles count="4">

<Handle id="1003">New Control Handle 4</Handle>

<Handle id="1001">New Control Handle 2</Handle>

<Handle id="1000">New Control Handle 1</Handle>

<Handle id="1002">New Control Handle 3</Handle>

</Handles></Query>

 

Q I - Query User Audio Input List

Request a list of available User Audio Inputs. In general User Audio Inputs are VI-6 inputs that are available for long term Pages to a set of destination Paging Zones. Each item in the User Audio Input list will consist of a device type, device ID and a channel number.

Command

Argument

Q I

Not needed

The response to a user audio input list query command will be as follows:

<?xml version="1.0"?>

<Query Command=”I”><UserInputs count=”InputCount”>

<UserInput id=”InputID”>

<DeviceType>InputDeviceType</DeviceType>

<DeviceID>InputDeviceID<DeviceID>

<Input> InputChannel</Input>

</UserInput >

...

<UserInput id=”InputID”>

<DeviceType>InputDeviceType</DeviceType>

<DeviceID>InputDeviceID<DeviceID>

<Input> InputChannel</Input>

</UserInput >

</UserInputs></Query>

Where

 

Example Sequence with XML response included

   

Q I

<?xml version="1.0"?><Query Command="I">

<UserInputs count="1"><UserInput id="1377793">

<DeviceType>6</DeviceType>

<DeviceID>21</DeviceID>

<Input>2</Input></UserInput></UserInputs></Query>

 

Q L - Query Page Code List

Respond with a list of all the available Page Codes. The list will consist of items comprising a Page Code followed by its label. See Page Code List for details of the response to this command. Details of a particular Page Code can be obtained using the Q P command.

Command

Argument

Q L

Not needed

The response to a Page Code list query command will be as follows:

<?xml version="1.0"?>

<Query Command=”L”><Pagecodes count=”PagecodeCount”>

<Pagecode id=”PageCode”> PagecodeLabel </ Pagecode >

...

<Pagecode id=”PageCode”> PagecodeLabel </ Pagecode >

</ Pagecodes ></Query>

Where

Example with XML response included

   

Q L

<?xml version="1.0"?><Query Command="L"><Pagecodes count="5">

<Pagecode id="3">Page Code 3</Pagecode>

<Pagecode id="2">Page Code 2</Pagecode>

<Pagecode id="1">Page Code 1</Pagecode>

<Pagecode id="5">Page Code 5</Pagecode>

<Pagecode id="4">Page Code 4</Pagecode>

</Pagecodes></Query>

 

Q M - Query System Mute

Respond with the current state of System Mute. See System Mute for response details.

Command

Argument

Q M

Not needed

The response to a System Mute Query will be

<?xml version="1.0"?><SystemMute>State string</SystemMute>

State string will be:

Example with XML response included

   

Q M

<?xml version="1.0"?><SystemMute>N</SystemMute>

 

Q N - Query Network Connection State

The Q N command is used to query the state of the MS-1(e)’s network interfaces.  This will only report on the network link status. 

Command Argument
Q N Interface

Interface shall be:

The response to a Network Connection Query will be:

<?xml version="1.0"?><Query Command="N"><NetworkLink id=”Interface”>State</NetworkLink></Query>

State string will be:

 

Example with XML response included
Q N 1 <?xml version="1.0"?><Query Command="N"> <NetworkLink id="1">UP</NetworkLink></Query>

 

Q P - Query Page Code Details

Respond with details of the specified Page Code. The information returned includes the Page Code type (live announcement or pre-recorded), the list of destination Zones, the priority of the Page and whether or not it is assigned a Preamble. See Page Code Details List for details of the XML response to this command.

Command

Argument

Q P

Page Code number

  

The response to a Page Code details query command will be as follows:

<?xml version="1.0"?>

<Query Command=”P”><PageCodeDetail id=” PageCode”>

<Preamble> Preamble </ Preamble >

<Priority> Priority </ Priority >

<AutoRepeat enabled=Repeatstate>

<Count>

<Min>1</Min>

<Default>1</Default>

<Max>9999</Max>

</Count>

<Interval>

<Min>0</Min>

<Default>0</Default>

<Max>43200</Max>

</Interval>

</AutoRepeat>

<Type> Type </ Type >

<Zones count=” PCZoneCount” >

<Zone> ZoneNumber </ Zone >

...

<Zone> ZoneNumber </ Zone >

</Zones>

</ PageCodeDetail ></Query>

Where

"RepeatState" can be

If the "RepeatState" is 'true' then the <Count> and <Interval> values will show the Page Code auto repeat configured values.

 

Example Sequence with XML Responses

Q P 2

<?xml version="1.0"?><Query Command="P"><PageCodeDetail id="2">

<Preamble>N</Preamble>

<Priority>1</Priority>

<AutoRepeat enabled=false>

<Count>

<Min>1</Min>

<Default>1</Default>

<Max>9999</Max>

</Count>

<Interval>

<Min>0</Min>

<Default>0</Default>

<Max>43200</Max>

</Interval>

</AutoRepeat>

<PageCodeType>PAGE_TYPE_PLAYBACK</PageCodeType>

<Zones count="4">

<Zone>1</Zone>

<Zone>2</Zone>

<Zone>3</Zone>

<Zone>4</Zone>

</Zones></PageCodeDetail></Query>

 

 

 

Q S zone - Display zone configuration details

Command

Argument

Q S

Zone

 

The response will be:

 

<?xml version="1.0"?>

<Query Command=”S”>

<ZoneDetail id="1">

<Name>Zone 1</Name>

<Description>Zone 1</Description>

</ZoneDetail>

</Query>

Q T Z zone – Query Page Inhibit priority threshold

Command

Argument

Q T Z

Zone

 

The response will be:

 

<?xml version="1.0"?>

<Query Command=”Q T Z”>

<Zone>z</Zone>

<PageInhibitPriorityThreshold>Priority</PageInhibitPriorityThreshold>

</Query>

Q U - Query Active User Audio Inputs

Respond with a list of the currently active User Input events.  The information returned includes the User Input Event ID uniquely identifying the event and supplied at the time the User Input was created using the X U command. The device type and device ID of the VI-6 used for the User Input event, and the input channel number are also provided. See Active User Audio Input List for details of the XML response to this command.

Command

Argument

Q U

Not needed

The response to an active user input event query command will be as follows:

<?xml version="1.0"?>

<Query Command=”U”><ActiveInputs count=”InputCount”>

<ActiveInput id=" EventId ">

<DeviceType> InputDeviceType </DeviceType>

<DeviceID> InputDeviceID </DeviceID>

<Input> InputChannel </Input>

</ActiveInput>

<ActiveInput id=" EventId ">

<DeviceType> InputDeviceType </DeviceType>

<DeviceID> InputDeviceID </DeviceID>

<Input> InputChannel </Input>

</ActiveInput>

</ActiveInputs></Query>

Where

QX - List All Current and Future Pages

The Q X command is used to list all pages that have been submitted for playback.

An example of the returned response is shown below:

<?xml version="1.0"?><Query Command=”X”><Messages count="MessageCount”>

<Message id="EventId">State</Message>

</Messages></Query>

Where

Example with XML response included
Q X <?xml version="1.0"?><Query Command="X"><Messages count="2"> <Message id="23">ACTIVE</Message> <Message id="24">QUEUED</Message> </Messages></Query>

 

Q Z - Query Paging Zone List

Return a list of the available destination paging Zones. Each item in the list consists of a Zone number followed by the Zone label. See Paging Zone List for details of the XML response to this command.

Command

Argument

Q Z

Not needed

The response to a Page Code list query command will be as follows:

<?xml version="1.0"?>

<Query Command=”Z”><Zones count=”ZoneCount”>

<Zone id=”ZoneID”> ZoneLabel </ Zone >

...

<Zone id=”ZoneID”> ZoneLabel </ Zone >

</Zones ></Query>

Where

Example with XML response included

   

Q Z

<?xml version="1.0"?><Query Command="Z"><Zones count="4">

<Zone id="1">Zone 1</Zone>

<Zone id="2">Zone 2</Zone>

<Zone id="3">Zone 3</Zone>

<Zone id="4">Zone 4</Zone>

</Zones></Query>

 

Set and Execute Commands

Page Execute Commands - E, X S and X P

A Page Execute Command can be used by a third party control system that is connected to an MS-1e using MS-VTP. It allows the creation and triggering of a custom Recorded Page Code sequence using the E and X S commands or triggering a specific Recorded Page Code using the X P command. Live Page Codes are not able to be triggered via MS-VTP (see PS-VTP for Live paging).

E and X S Commands

The E and X S Page execute commands are designed to be used together to define and execute a custom Recorded Page Code using VTP commands. Four different commands are used as part of the Page Code creation:

  1. Element Sequence and WAV filename definition. E n e filename will define a sequence of Paging Elements which make up the audio content of the Page Code. Up to 24 Paging Elements can be defined before the End of Sequence Marker. The total length of the combined paging Elements must be below two minutes.

  2. End of Sequence Marker. E n z will be an end of Sequence Marker that is used to indicate it is the last Element in the sequence.

  3. Zone definition. Z n1 n2 will define the Paging Zones. See Zone Definition for more details.

  4. Repeat Number - Will define the number of repeats required

  5. Repeat time - defines the amount of time the system shall wait before beginning the next repetition

  6. Page execution. X S Pre Priority ID will define Preamble, Priority and ID of the Page and execute the Page.

E - Set Elements for a Paging Sequence

E n e filename

Command

Argument

Command

Argument

E

n

e

WAV filename

A VTP custom Recorded Page Code consists of up to 24 Elements per Paging Event. The order of the WAV audio files is defined using an Element number which must be in the range of 0 to 23, and must be in sequential order. An End of Sequence Marker is required to indicate the last Element in the sequence. The total length of the combined Paging Elements must be less than two minutes.

After defining the Element number 'n' as shown above the WAV filename needs to be defined. The WAV file must exist on the MS-1e file system by importing the required audio files using the Audio File Manager tool or uploading them via the MS-1e FTP Interface. Once Imported, the audio files must then be associated to a Recorded Announcement Page Code or VTP Audio File in the project. If an audio file is specified that does not exist on the MS-1e an error will be reported to the logger when the Page is executed.

A list of WAV files available to the project can be queried using the Q A query command. The audio file folder location is specified as part of the VTP command so any audio file names are required to be preceded by the /vociawavs/ directory path (and/or their corresponding sub-directories). The filename should not be put in quotation marks, even if it contains spaces.

E n z - End of Sequence Marker

Command

Argument

Command

E

n

z

This Element is the end-of-sequence marker. This will be the next sequential element after the last E n e filename Element.

n = the next sequential Element.

Z - Zone Definition

Command

Argument

Z

1 2 3

Where n1 n2 … is a list of zones as decimal numbers each separated by a space.

X S - Execute a request to playback a sequence of announcements

Command

Argument

Argument

Argument

Argument

X S

pre

priority

id

queue

The X S Command is used to execute the custom Recorded Page Code. It specifies the Preamble, Priority and unique ID of the Page which will contain the previously defined Elements.

pre defines what the Page will be preceded by

priority = This parameter defines the priority of the page (used for resolution of access to zones) and is in the range 1 and the numerical value below the Emergency Priority Threshold specified in the Universe dialog. The Q E command can be used to query the threshold.

Example:

Emergency Priority Threshold

Normal Paging

Emergency Paging

101 (default)

(Low) 1-100 (High)

(Low) 101 - 255 (High)

5

(Low) 1-4    (High)

(Low) 5 - 255 (High)

252

(Low) 1-251 (High)

(Low) 252 - 255 (High)

id = This is an id number provided by the client which the system will use to identify individual page requests when informing the client of progress of an individual page. A number range from 0 to 32767 is supported and each ID sequence should be unique.

queue = This is an optional argument and can either be Y to allow the message to be queued if the destination zones are busy, or N if the message should not be queued and should fail immediately if any of the destination zones are busy. It will default to Y when it hasn’t been specified.

Example of a complete VTP triggered Custom Sequence

E 0 e /vociawavs/baggagebelt+0.0db.wav

E 1 e /vociawavs/pleaseleavenow.wav

E 2 z

Z 1 2

R N 5

R T 120

X S Y 1 3456 Y

R N 0

R T 0

This would play at Priority level 1, using the standard Preamble for Priority level 1 (low) as defined in the Vocia software configuration, followed by the announcement "baggagebelt+0.0db.wav" followed by "pleaseleavenow.wav" to zones 1 and 2 with Page Progress ID of 3456 and will be queued. This would be repeated 5 times every 2 minutes (120 seconds). The Repeat time and Repeat Number are then reset to 0.

X P - Execute the specified Page Code

Command

Argument

Argument

X P

PageCode

id

Execute the specified Page Code. If Auto Repeat settings are configured in the Page Code they will be used. Note that this command will replace any previously issued VTP paging commands in memory such as Zone assignment, Auto Repeat, Priority, Preamble etc.

PageCode must refer to a configured Recorded Announcement Page Code.

id = is an id number provided by the client which the system may use to identify individual page requests when informing the client of progress of an individual page. A number range from 0 to 32767 is supported and each ID sequence should be unique.

Example of a complete VTP triggered Custom Sequence

X P 1 1001

C - Control Handle State

Make a request to set the state of a control handle. The handle is an ID number that can be queried using the Q H command, the response will be as found under Control Handle List. The term “state” defines an 8 bit scalar value (0-255 dependent on the switching threshold set in the Vocia software for the control handle).

Please note that to adjust a Control Handle state using VTP it must not be assigned to a physical Control Input. Assign the Control Handle in the Vocia software as a Scheduler/VTP driven handle for use with VTP.

 

Command

Argument

State

C

Handle ID

0-255

Auto Repeat options

If the selected page code has pre-configured auto-repeat parameters these will override those specified using VTP commands.

By default the number of repeats will be set to 0 implying no repetition of announcements.  The repeat count will persist for all subsequent pages.  It would be necessary to set the repeat count back to 0 if repetition was no longer required.

R A - cancel all repeating recorded messages or paging

Command Argument

R A

Not needed

The “R A” command will be used to cancel all repeating announcements.  Any announcement appearing in the list obtained using the “R L” command will be terminated once the current play-out has finished.

R C - cancel a repeating message or Page.

Command Argument

R C

id

  Announcements will be identified using the  event ID specified at the time of execution. A list of currently repeating announcements can be obtained using the “R L” command.

R I - request infinite playback of announcements

Command

Argument

R I

Not needed

These announcements can only be stopped using the 'R C id' command or the 'R A' Command.

R L -  List currently repeating announcements 

Command

Argument

R L

Not needed

The “R L” command will list the currently repeating announcements.  Announcements will be identified using the 16 bit event ID specified as part of the X S or X P command.

 

Example of a RL and R C Sequence

R L

<?xml version="1.0"?><AutoRepeatMessageList count="2">

<AutoRepeatMessage id="1234">

<RepeatCount>2</RepeatCount>

<RepeatInterval>120</RepeatInterval>

<PlaybackCount>1</PlaybackCount>

</AutoRepeatMessage>

<AutoRepeatMessage id="12345">

<RepeatCount>2</RepeatCount>

<RepeatInterval>120</RepeatInterval>

<PlaybackCount>1</PlaybackCount>

</AutoRepeatMessage>

</AutoRepeatMessageList>

 

R C 1234

 

R C 12345

 

R N - specify the number of times a particular announcement will be repeated

Command

Argument

R N

Quantity (number)

Quantity can be specified between 1 and 9999.

If the selected page code has pre-configured auto-repeat parameters these will override those specified using VTP commands.

The repeat count will persist for all subsequent pages.  It would be necessary to set the repeat count back to 0 if repetition was no longer required.

R T - specify the time interval in seconds between repetitions for subsequent announcements

Command

Argument

R T

time (seconds)

The time will be specified in seconds and must be less than or equal to 43200 (12 hours).

 

X U - Create a User Audio Input Event

A User Audio Input is assigned to a Vocia Input 6 (VI-6) input channel in the Vocia software interface in the VI-6 dialog window.  Once a VI-6 input channel is configured as a user audio input channel then it can be used for a user audio input event.  This user audio input event can be enabled and disabled through the VTP service.

The following parameters are used to create a user audio input event, and an example follows below.

X U device_type  device_id  channel  duration  prio mode id

Command

Argument

Argument

Argument

Argument

Argument

Argument

Argument

X U

device_type

device_id

channel

duration

prio

mode

id

Example:

Emergency Priority Threshold

Normal Paging

Emergency Paging

101 (default)

(Low) 1-100 (High)

(Low) 101 - 255 (High)

5

(Low) 1-4    (High)

(Low) 5 - 255 (High)

252

(Low) 1-251 (High)

(Low) 252 - 255 (High)

The Duck and Vox modes share a user configurable threshold which is set on a per audio output channel basis in the Ducker settings in the Vocia software.

 Example sequence

As the Zone information has been set, you could continue to make changes in Zones 1, 2 & 3 or re-enter a different zone or zones using the Z command.

Terminate session (.) If required.

This user audio input event will route the audio from the VI-6 with Device ID 1, from input channel 2 for 100 seconds to zones 1, 2 and 3 at priority level 2. It will also duck the background audio when signal is received (see VOX in the Vocia Software Help File), and report an ID number of 2001.

 

Example

   

Connection Accepted

U admin

P 1234

A

<?xml version="1.0"?><Status Command="A"><State>AUTH_SUCCESS</State></Status>

  

Q I

<?xml version="1.0"?><Query Command="I"><UserInputs count="3">

<UserInput id="131334"><DeviceType>6</DeviceType><DeviceID>1</DeviceID><Input>2</Input></UserInput>

<UserInput id="65798"><DeviceType>6</DeviceType><DeviceID>1</DeviceID><Input>1</Input></UserInput>

<UserInput id="196870"><DeviceType>6</DeviceType><DeviceID>1</DeviceID><Input>3</Input></UserInput>

</UserInputs></Query>

  

I ON

Interactive now on

  

Z 1 2 3

Destination zones: 1 2 3

  

X U 6 1 2 100 2 2 2001

# User input 2001 setup to 3 zones

  

Q U

<?xml version="1.0"?><Query Command="U"><ActiveInputs count="1">

<ActiveInput id="2001"><DeviceType>6</DeviceType><DeviceID>1</DeviceID><Input>2</Input></ActiveInput>

</ActiveInputs></Query>

 

X A - Cancel All Pages

The X A command is used to cancel all pages submitted to that MS-1(e) by any VTP clients. This will result in any current and future playback (including any auto-repeating) of all pages to be terminated immediately. 

Please see the R A Command if the intention is to cancel only the future playbacks of all auto-repeating announcements.

 

Command

Argument

X A

Not needed

 

X C - Cancel an Individual Page

The X C command is used to cancel a page that has been submitted for playback. This will result in any current and future playback (including any auto-repeating) of the page being terminated immediately. 

Please see the R C Command if the intention is to cancel only the future playbacks of all auto-repeating announcements.

 

Command

Argument

X C

id

id = The id that corresponds to the page being cancelled that was previously provided by the client when triggering the page. A number range from 0 to 32767 is supported and each ID sequence should be unique.

 

X D - Delete a User Audio Input Event

Once created using VTP a User Audio Input Event can be deleted or terminated using VTP command X D id.

Command

Argument

X D

id

Delete (or terminate) a user input page identified using the id which is the id number provided at the time the X U command was issued (see above for information on the X U command). Must be a number between 2001 & 32767.