PMS Message Format Specification

The following list contains the type of messages sent from the PMS to the system, and from the system to the PMS.  

PMS messages can be used to manage a Suite or Linked Suite in the same manner as managing a Room except using the Suite Pilot number or Linked Suite Pilot number of the guest room extension (where applicable).  

PMS System Messages

PMS to System

System to PMS

Enquire

Enquire

Acknowledgment

Acknowledgment

Negative Acknowledgment

Negative Acknowledgment

Are You There

Maid Status

Check In/Check Out Message

Message Registration

Message Waiting

Message Waiting

Wake-Up

Alert

Credit Limit

Request to Initialize

Station Restriction

 

Name

 

Name Transfer

 

Affiliation

 

Location

 

Suite Messages

 

General Reset

 

End

 

Enquire (ENQ), Acknowledgement (ACK), Negative Acknowledgement (NAK)

These are messages using single byte ASCI characters:

All Other Messages

These messages have the following general format:

 

Each box represents 1 byte.  Each data message is prefaced with an STX (the ASCII character for start-of-text) and is completed with the character ETX (the ASCII character for end-of-text).  The characters mentioned in the messages below are all in upper case, unless otherwise stated.  

If the extension number is less than 5 to 7 digits in length, it is padded with blank characters.  For messages sent from the system to the PMS, blanks are padded on the RIGHT side.  For messages sent from the PMS to the system, blanks are padded on the LEFT or RIGHT side, but not both. The space character (ASCII 32, HEX 20) must be used.

Are You There?

This message is sent by the PMS to ensure that the system is still responsive.

 

Check In/Out Messages

Check In operations include:

Check Out operations include

The message has the following format:

where:

Message Waiting Message

The format of this message is the same for both directions.  The status code sets the new state of the message waiting lamp. If from the PMS to the system, this message indicates that the room's message waiting lamp is to be turned on or off to indicate the presence of a non-voice mail message for the occupant. From the system to the PMS, the message indicates that voice mail or a source other than the PMS turn the message waiting lamp on or off.

 The Message Waiting message has the following format:

where:

Wake-Up Message

The PMS system can inform the system to set a wake-up call for a particular guest station. Wake-up calls can be programmed against guest rooms, suite pilot numbers and suite members but cannot be programmed against Linked Suite Pilot numbers.  

The Wake-up message has the following format:

 

where:

The wake-up time is specified in 24 hour time.  All four characters, filled with ASCII spaces, represents a wake-up deletion.

Credit Limit Support

The PMS uses a Credit Limit message to set a credit limit on a guest room or suite.  The system does not make any call restriction decisions; the PMS is solely responsible for informing the system of any action to take in regards to credit limit exhaustion.

Credit limit support works in conjunction with the existing Surcharge and Multiplier values described in Using Message Registration system documentation.  One or both of these fields must be given values in the Hotel Options form in order to use the Credit Limit or Alert messages.  Totals calculated using the Surcharge and Multiplier values may be printed at any time.

A Credit Limit message has the following format:

 

where:

Alert Message

An Alert message is used by the system to notify the PMS when the established telephone credit limit has been reached.  The PMS may then send a Station Restriction message to the system to apply previously programmed Class of Restriction parameters (calls in progress are not affected when a credit limit is reached).  

An Alert message has the following format:

 

where:

Station Restriction

A Station Restriction message can be used to establish call restrictions.  When this message is sent from the PMS to the system, it brings predefined Call Restrictions into effect as programmed in the Hotel Options.

The Station Restriction message has the following format:

 

where:

0 – Internal

1 – Local

2 – Long Distance

3 – Option 1

4 – Option 2

5 – Option 3

Name Message

This message is sent from the PMS and is used to program the Telephone Directory of the system with the guest's name.  If using Suite Services, the Name associated with a Linked Suite should also be programmed as the Affiliation of each Member Suite.

The Name message has the following input format:

 

where:

The maximum length of the NAME field is 21 characters. The NAME string is left-justified within the NAME field, and padded with spaces (between name and extension number.) The length of a name can be up to 20 characters. If the name is 20 characters, the 21st character must be an ASCII space. The string can contain ASCII characters (lower case letters, upper case letters and numbers with the exception of square brackets "[" and "]" and pipe "|".) If the NAME string does not contain a comma, the string is treated as a LASTNAME. If the NAME string includes a comma, it is treated as the form LASTNAME,FIRSTNAME.  When a comma is used, the total length of the string can be 21 characters. The comma cannot be in the 1st or 21st location, and the string cannot contain more than 1 comma.

When interfacing with a 33000 ICP 8.0 UR4, if there are spaces between the LASTNAME and FIRSTNAME (i.e. LASTNAME   ,   FIRSTNAME), the spaces will be removed by the system (i.e. LASTNAME,FIRSTNAME.) However, when interfacing with an SX2000 or an earlier version of 3300, no spaces are permitted immediately before or after the comma. These will result in unpredictable behavior.

If there are multiple space-separated strings in either the LASTNAME or FIRSTNAME (i.e. a two part first or last name, for example, LASTNAME,MARY JANE) then these spaces are maintained intact.

Name Transfer

This message is sent from the PMS to instruct the system to move the specified name from one extension to another extension.  This function will not transfer room associated data such as COS, COR, interconnect number, room status, wake-up time, and meter unit totals.

The Name Transfer message has the following input format:

 

where:

Affiliation Message

This message is sent from the PMS and is used to program the Telephone Directory of the system with the guest's affiliation.  This is displayed in the Telephone Directory form under Department.  The words department and affiliation are synonymous within this text.  

Linked Suite names should be programmed in the Telephone Directory as the department/affiliation for each Member Suite.

The Affiliation message has the following input format:

 

where:

The length of the affiliation can be up to 10 characters and only one string may be used.  It is left-justified, with blanks used for padding.  A telephone directory entry is considered a unique name-telephone number pair.

For example, consider the following Telephone Directory form.

Name

Telephone Number

Department

Location

Prime

Green, Jayne

120

Trillium

March

No

Smith, Joe

120

Mitel

Kanata

No

Both Joe and Jayne share the same telephone number.  However, they can each have a corporate directory entry with its own department and location as shown above.  

Entry of Multiple Names and Departments against the Same Number

The PMS/System interface allows the entry of multiple names and departments against the same telephone number. This is done by having the department message described above immediately follow a name message.  If the telephone number on the department message matches the telephone number on the earlier name request, the department is added to this name-number combination.  

Assuming extension 120 does exist on the system, the following PMS to system messages can be sent to enter both Joe and Jayne into the PBX's corporate directory.

 

The ADD and REPLACE operations for the DPT function code perform the same function.  That is, they take the current department and replace it with the given string.

Location Message

The location message allows a location to be entered against a telephone directory entry.  The functionality is much the same as the department message except for the following message format.  

The Location Message has the following input format:

 

where:

Entry of Multiple Names, Departments and Locations

To enter a location against a specific telephone directory entry, use the following PMS messaging scheme:

 

To enter a name, department, and location against a particular extension, use the following messaging sequence.  To create a unique telephone directory entry, the first message of the triplet must be the NAM1 message.  The department and location can follow in any order.  They must however, not be interlaced with name, department, or location messages for other telephone numbers.

 

Suite Messages

A Linked Suite may be formed, added to, deleted from, and dissolved using an available Linked Suite Pilot number.  Upon formation of a Linked Suite, the provision of Shared Telephone Services (STS) is active or inactive.  Member suites may be checked in or out during provisioning of Linked Suites or independently.  

The general suite message has the following format:

 

where:

0 for create linked suite, check in, no STS

1 for create linked suite, check in, STS active

2 for add suite, check in

3 for remove suite, check out

4 for breakdown linked suite, check out

5 for change linked suite pilot number, no check out

6 for add suite, no check in

7 for delete suite(s), no check out

8 for create linked suite, no check in, no STS

A for create linked suite, no check in, STS active

B for breakdown linked suite, no check out

The number of Member Suite Pilot Numbers is dynamic.  Each Linked Suite and Member Suite Pilot number is 5 to 7 digits maximum in length.  A maximum of 4 member suites may be included in a single Linked Suite message.  If more than 4 members are included in a Linked Suite (maximum 32 members without STS), then several Suite Messages must be sent.

Message Registration Message

Each time a hotel extension makes a trunk call, the system sends a message to the PMS to update the total count of outside calls made against the guest room.  No distinction is made between local and long-distance calls.  Message Registration works by counting the number of meter pulses made over the duration of the call.  

The  Message Registration message has the following output format:

 

where:

The status code in this case is a fee or peg count.  This is the one exception to the length of the status code, being 4 bytes instead of 2.  

If the system does not receive a proper acknowledgment from the PMS, it generates a hotel log indicating the PMS is out of order.  When the PMS is out of order, the system generates occupancy logs for every check in and check out operation.

Maid Status Message

The Maid Status message is sent to the PMS whenever the Room Status Condition attribute is modified.  The Maid dials a Feature Access code and a new Maid Status code from a hotel extension.  The attendant can also change the Room Status Condition from the console, and automatic updates can be done via CDE or ESM.  The updates will also be sent to the PMS system.  

If Suite Services is used, Maid Status messages can be invoked using any suite telephone and are applied to the Suite Pilot number.

The Maid Status Message has the following format:

 

where:

The Feature Access code that is dialed by the Maid changes the condition attribute of the Room Status as stored in the database of the system; it never changes the occupancy.  When a Feature Access code is dialed, the system sends both a Function and Status code to the PMS, and the PMS should interpret the codes in the following way:

Maid Status Code

Room Condition

1

maid present

2

clean

3

not clean

4

out of service

5

to be inspected

6

Occupied/Clean

7

Occupied/Not Clean

8

Vacant/Clean

9

Vacant/Not Clean

Maid Status codes 1 to 5 would typically be used by a hotel which does not use a PMS interface.  Here, the Maid, or Room Supervisor would enter the appropriate code to update the system database.  Maid Status codes 6 through 9 would typically be used by a hotel that uses a PMS. To ensure proper use of the codes, program the PMS to accept these messages and to produce a discrepancy report when one exists between the occupancy status as indicated by the Maid Status code and the actual occupancy as stored on the PMS database.  

For example, a Maid cleans a room and notes that there are no signs of the guest still occupying the room.  She enters the Maid Status Feature Access code and dials 8, indicating that the room is now vacant and clean.  However, the PMS notes that the guest room is still occupied.  At this point a discrepancy report is output from the PMS notifying the hotel personnel.  

General Reset

This message is sent by the PMS to indicate that it is beginning a database swap or general reset cycle. During this cycle the PMS will reset the system database to match the PMS's database. See PMS Recovery from Failure section below.

End (message used to indicate the end of the general reset process)

This message is sent by the PMS to end the GRS cycle. See PMS Recovery from Failure section below.

Request To Initialize

This message is sent by the system to recommend the PMS initiate a GRS cycle. This will be sent to the PMS only after a reboot of the system following the first communication from the PMS. See PMS Recovery from Failure section below.