Beruflich Dokumente
Kultur Dokumente
Program
Edition 1a: Addition of Annex 2 for Details on DID and GPIN Management
Edition 2: Addition of Annex 3 for OXE Spatial Redundancy and Annex 4 for multiple wake-up call.
Edition 3: Clarification for TCP-IP Connection and Keep-Alive methods.
"In order that our customers may benefit from technical progress and of better economic, manufacturing and operational conditions, we reserve the right to
modify our products as we think fit.
Consequently, the illustrations, descriptions and specifications in this document are without contractual value".
Vocabulary
Hospitality is a generic term applicable for hotels, hospitals, cruise ships...
Direction of commands
In an hospitality "Front Office Computer" and a Private Automatic Branch Exchange (PABX), some
identical functions can be done on both sides.
When a link is installed between a PMS and a Private Automatic Branch Exchange (PABX), each
function is normally managed on one side with the corresponding data sent to the other side through
the commands given here-under.
Anyhow, for "back-up" in case of failure of the computer, the PABX or the link, the management of
some functions can be shifted to the other side. Then the corresponding commands are issued in the
other direction. They are identical, with the same fields and are shown here-under between parenthesis.
The functions described below are generally handled by the hotel computer. Nevertheless due to the
large differences between hotel computers, each function described below may be or may not be
handled by the Front-Office Computer.
If a function is not handled by the computer, the hotel PABX handles this function as if there were no
link.
o ROOM STATUS
o ROOM OCCUPATION
o CALL ACCOUNTING
The computer normally receives and handles every guest outgoing "SMDR" (Station Message
Detail Recording), also called "phone call ticket".
Anyhow, if it does not, it can use the "interrogation" command to get guest telephone accounts
from the PABX.
Some computers handle also "administrative calls", "no charge guest calls" and "incoming
guest calls". Then the PABX can be set up for sending the corresponding SMDR.
o GUEST DIRECTORY
When there are two directories, one on the computer, one on the PABX, the main directory is
on the computer.
The computer sends to the PABX, any change in directory to avoid double input job.
o DEPOSIT (pre-payment)
The computer may add a value, subtract a value or reset the PABX guest deposit. The PABX
keeps track of the last reset value (normally at check-in) plus any added amount.
At any time between check-in and check-out, the computer can open or close a Voice Mail Box
attributed to a guest* or a room extension** on the PABX.
As the PABX sends the room status changes dialled by the maid, the maid inspector, etc., the
computer can handle the room status functions.
o MESSAGE WAITING
Nevertheless, the Front Office Computer can initiate or cancel this function for any guest room.
This is done through the "Check-in", "Modification" or "Voice Mail Facilities Event" orders.
o WAKE-UP CALL
Nevertheless, as for the message waiting, the Front Office Computer may send "wake up call"
orders to the PABX.
From release 3.1, several wake-up calls can be programmed for the same extension.
Nevertheless, the Front Office Computer may send "DND" orders to the PABX.
o CALL ACCOUNTING
The PABX maintains up to date guests counters, so in case of break down of the hotel
computer, it is still possible to print the guest phone invoice.
Except when the Front Office does not handle the SMDR ("Station Message Detail Recording"
or "telephone call ticket"), the PABX sends at the end of each guest call, the corresponding
SMDR (for chargeable calls).
As an option, for increased security, the guest and administrative SMDR can be stored in the
PABX. Then in case of break down of the hotel computer, it is still possible to print the
detailed guest phone invoice.
For back-up the PABX returns the room meters to zero upon guest arrival. Then if necessary, it
is possible to print a short invoice for guest phone expenses.
o DIRECTORY
The PABX has a directory. So when a guest arrives or if a change occurs the computer must
send guest data to instantly update the directory.
o ROOM SERVICE
O DEPOSIT (PRE-PAYMENT)
If "deposit" is handled by the PABX, the hotel computer can send the original amount or the
modifications of that "pre-payment".
If the hotel computer handles "deposit", it can send an order to restrict guest phone use and to
alert the operator when pre-payment is completely spent.
· V24 link
· TCP/IP link (from release 3.1)
3.1.1 Characteristics
RS232C
Full Duplex
Asynchronous
ASCII code
Baud rate: 100 bauds to 19200 bauds (default choice 9600 b)
Character:
o . 1 start bit
o . 7 or 8 character bits (default choice 8)
o . 1 parity bit - even, odd or none (default choice one)
o . 1 or 2 stop bits (default choice 1)
o by XON-XOFF characters
o by DSR-DTR signals
o by RTS-CTS signals if DSR-DTR is not used by the hotel computer
Any received message must be verified (parity, CRC, length) and a ACK or a NACK must be sent
immediately.
The message is sent again after a configurable time-out (default value is 5 seconds).if there is no
answer or on reception of a NACK
The next message must not be sent before reception of the ACK.
On PABX side, if there is no ACK (NACK or time out) from the hotel computer, the message is sent 5
times successively and then an alarm message with a bell is printed.
Then every 5 minutes or if the computer sends any message, a new attempt will be made.
From release 4.1.1 the AHL protocol can be sent (AHL link option) over the TCP/IP protocol stack.
On PABX side, the classic communication support of TCP/IP is an Ethernet 802.3 interface, using a 10
base T cable plugged with a RJ 45 connector. SLIP or PPP are also possible.
3.2.2 IP layer
The connection must be initialised by the PMS, by using the PABX Internet address (main Com Server
address) and the service port number reserved for the AHL link (port number 2561).
In case of “spatial redundancy” (Com Server redundancy in 2 different IP subnets), please refer to
Annex3 – chapter 10 concerning the possible connection methods.
If the answer is NACK or no answer is received within 25 seconds, the message is destroyed and an
incident is generated.
Warning: The connection message has to be acked by PABX and application should wait for ACK.
If the PABX does not receive any “keep alive” message within 60 seconds, the connection is closed
and the link buffer is emptied.
Warning: There is no ACK message to be sent by both sides for these Keep-Alive $xxxx messages.
A messages buffer is available on the PABX with FIFO overflow on a printer. The size of this buffer is
configurable and is a multiple of 500 (minimum value: 500 messages, maximum value: 2500
messages).
When this communication buffer is 80 % full, an alarm is automatically generated and an alarm
message is printed.
When this communication buffer becomes 95 % full, any new incoming message will automatically
provoke the print-out, then deletion, of the oldest message in memory.
Two PABX commands allow printing the content of that memory, with or without erasure.
Any message, except ACK, NACK, XON and XOFF, begins with an "STX" character and ends with
an "ETX" character.
The last two characters preceding the "ETX" are reserved for the "CRC". It is calculated by making an
"exclusive or" on each character from the STX (excluded) to the "CRC". The result is split into 2
ASCII characters corresponding to the translation in ASCII of its hexadecimal value.
Except if otherwise specified, every field not completed is right justified and filled up with blank
(space) character.
From release 3.1, the length of "Guest Personal Identification Number”, "room extension number" and
“acting extension number” fields can be either 5 or 8 characters (PABX configuration).
The same configuration parameter is used for those three fields, so they have the same length (5 or 8
characters).
From release 4.1, to allow more flexibility between the PMS and the PABX numbering plans, the
OmniPCX Enterprise can delete digits to "Guest Personal Identification Number”, "room extension
number" and “acting extension number” fields before sending commands to the PMS, and can add
digits when receiving those numbers from the PMS.
The digits that are deleted or added are the first digits, and are corresponding to a single prefix called
mask (PABX configuration).
The deleted digits are replaced by blank (space) characters. The fields’ length remains unchanged to 5
or 8.
The maximum length of the internal OmniPCX Enterprise numbers is 8.
The maximum number of digits that the OmniPCX Enterprise deletes or adds (the maximum length of
the mask) is 5.
If guests want to receive directly their incoming call ("Direct Inward Dialling" without operator
transfer) a "DID number" can be associated to that extension on PABX side. It is not known by the
computer.
A "multi-occupation flag" can be used to inform the calling services that there is more than one person
in the room.
A room (extension) can be associated to that guest through the "allocation" command.
A guest can free his room, but continues to receive calls to his DID number. Then those calls can be
forwarded to his voice mail box if he gets one, to the operator, to another guest, to an external
number...
In case of upgrading from "management on room extension" to "management on GPIN" (on the same
PABX or from an older PABX), for "Check In", "Modification", "Interrogation", "Check Out", "Guest
accounts", and "SMDR" commands the "extension number" (room number) has to be replaced by the
"GPIN" and the "allocation" command has to be used to associate an "extension number" (room
number) to that "GPIN".
Between ALCATEL-LUCENT hotel PABX's and Front Office Computers different standard messages
are sent.
If the PABX does not handle information included in a message, this information is replaced by blank
(ASCII space) characters.
The hotel management decides (depending on PABX configuration) to generate either SMDR
messages or extended SMDR messages (see § 5.14):
The hotel management can decide (depending on PABX configuration and if the parameter “sends all
metering tickets” is set to “False”) to send or not to the PMS:
- charged outgoing call guest SMDR
- Non-charged outgoing call guest SMDR
- Incoming call guest SMDR
- Administrative SMDR
Administrative SMDR, if sent, can be differentiated from guest SMDR through "cost center" field.
2 1 J SMDR IDENTIFICATION
Field 4: Cost center name. If the name is longer than 4 digits (possible since release
3) the name is truncated.
Field 6: the "acting extension" (if available) is the extension from where the call is
placed. It can be different from the "charged extension" in field 3
(substitution; room extension if management on GPIN; booth; S0 data on
associated extension...).
The "business code" is not used in this release, so this field corresponds to
the "trunk group number" (if available).
It is important to avoid issuing simultaneously two commands for the same GPIN or room extension
on both directions.
Generally this command is issued by the Hotel Computer, but for special event (Hotel Computer night
audit or maintenance...) the room allocation can be done from a PABX terminal and then the command
is issued by the PABX.
It is used in case of "AUTO-ALLOCATION" done directly from the room telephone set.
It is important to avoid issuing simultaneously two commands for the same GPIN or room extension
on both directions.
5.5 (MODIFICATION)
(58 or 61 characters) from PABX to computer
5.6 (CHECK-OUT)
(10 or 13 characters) from PABX to computer
field STX C room extension maid identification code status CRC ETX
. 4 to 9 those values may be used by the hotel to ask for inspection, or to request
special repairs (electricity...). They are determined by the hotel
management.
The PABX sends the "Room Status change" dialled by the maid, the maintenance staff or the maid
inspector.
- Without identification
From the room telephone set, the maid (or the maintenance staff or the maid inspector) dials:
. The code corresponding to "Room Status change"
. The new status of the room
For example "22 1" means that the room from where the call is made, has been cleaned and
that there are no problems.
A recorded message confirms to the maid, the completion of the operation.
field STX T GPIN* or room Commu- Cost Total of Balance CRC ETX
extension** nications deposits
In response to a hotel computer query, the PABX outputs for the corresponding guest:
- Total of "deposits": (8 characters plus one floating point) corresponding to the original (or
reset) amount plus the added values.
- The guest balance (8 characters plus one floating point) or the guest expense since last posting
(night audit).
The first character of guest balance is a "-", if the deposit has not been completely used.
field STX P Room Extension Dialled Code Dialled Data CRC ETX
This message allows transmitting to the Front Office Computer any information dialled from a room
set or from a room service set (Minibar, TV commands, list of stolen or broken materials.....).
It may also be automatically generated to transfer some PABX data or specific event information to
the computer.
- Extension number (5 or 8 characters) corresponding to the room number or the room service
number from where the data are dialled.
The length depends on PABX configuration (see § 3.7 FIELD LENGTH).
The "data transfer" command can be used to send a succession of messages to the computer. This
allow for example an interactive dialogue between the telephone set of the room used as
keyboard, and the TV of the same room used as terminal screen.
After the keying by the user of one data transfer prefix (code), the PABX issues the data transfer
command when the user:
- On hooks after keying some characters
- Is timed out after keying some characters. The last character is a "T".
- Dials "#" character after keying some characters. This "#" appears as last data characters.
If after dialling the data transfer prefix the user does nothing (time out) or on hooks or dials "#",
the corresponding empty data transfer is not issued.
After issuing a data transfer because "#" has been dialled or the 20 data characters limit have been
reached, the PABX included the next keyed characters in a new Data transfer command with
automatic repetition of the "extension" and "code" fields.
Generally the prefix "*" is used for guest data transfer for interactive application.
The data transfer can also be automatically issued by the PABX for specific events (see § 6.5
CHECK-OUT).
For an Alcatel-Lucent 4400 in older release than R4.1 and for "Management on room extension";
if when the PABX receives a "Check-out" command, the corresponding room line is busy with an
external telephone call, instead of sending a "Reply", it sends a "Data transfer" with "99999" in
"Code" field and blanks in the "Data" field.
If a wake-up problem occurs or for any observed wake-up event, the PABX can inform the
computer.
field STX F GPIN* or room Code Status Not used CRC ETX
extension** M
Depending on PABX initialisation, this command is sent each time that a message has been
deposited or erased in the guest Voice Mail Box. It gives the number of remaining non-consulted
messages.
After a complete PABX resetting it is also sent for every guest mail box with non-consulted
messages.
- "0" to indicate that the Voice Mail Box is becoming empty. The voice mail message lamp is
switched off.
- "1" to indicate that one message has been deposited in an empty mail box. The voice mail
message lamp is switched on.
- "1" to "8" corresponding to the number of remaining non consulted messages (optional). "9"
means overflow.
This message is sent for every concerned guest or extension (one or every checked in guest), as
an answer to a "Re-initialisation request" command.
field DND Voice Mail Voice Mail DECT Wake Room Arrival CRC ETX
message box attrib. attrib. Up2 status date time
Some fields are unused and filled with blanks (Group, DECT attribution).
In "management on room extension", a guest is known only by his extension number (room
number), then the "GPIN" field is left in blank.
To specify the End of database re-initialisation, the last (or the only) message is sent with the
"type" set to "E" and with the "data fields" concerning the last guest of the list (multi-users), or
the only user (request for only one user).
If the guest data base is empty, the "type" is set to "E", and "GPIN", "room extension" and
"password" fields are filled with blank characters.
The computer must wait for the end of the data base re-initialisation, before sending any new
command.
The type is "P" for partial database re-initialisation. The same remarks as for full guest database
re-initialisation apply. The only difference is the limited number of fields.
The hotel management decides (depending on PABX configuration) to generate either SMDR
messages or extended SMDR messages (see § 5.1).
The hotel management decides (depending on PABX configuration) which types of tickets are
sent or not (same rules as for SMDR see § 5.1).
field date-time duration cost trunk trunk group trunk called or calling
number number node number
2 1 K SMDR IDENTIFICATION
20 1 0 to 9 CALL USE
Field 2: For some other ALCATEL-LUCENT PABX the "identification" may include 4 more
numeric characters corresponding to the message number. The length of every
message is then increased by 4 characters.
Field 3: Possible digits are: "0", "1", "2", "3", "5", "6", "7", "8", "9", "A", "B", "C", "D", "*",
"#". There may be simultaneously 2 different extensions "092" and "92".
Field 12: The "call type" indicates the type of the call.
It may have the following values if available (other values may be added later):
0 for public network "outgoing call"
Field 14: the "call duration" includes the call with operator and the connection service
(waiting guide or music). It does not include the ringing duration.
Field 19: "called number or calling number" is left justified. It is the emitted number for
outgoing calls. It is the calling number for ISDN and R2 incoming calls (if received).
The number may include "*" and "#" characters.
Field 20: The "call use" indicates the use of the communication.
It may have the following values if available (other values may be added later):
0 for "personal" call
1 for "business" call
2 for "normal" call
3 for "data" call
4 for "guest" call (a "guest" call is a "personal" call without
identification)
Field 21: The "access code" indicates the used code in case of "personal" or "business"
communication. It is the Personal Identification Number for a "personal" call or the
Project Account Code for a "business" call. It is empty (value bb...bb) in other cases.
Field 22: The "user to user volume" is the number of transmitted bytes in mini-messages
(ISDN), or the number of mini-messages (system option).
Field 24: The "internal facilities" indicates the used internal services for the external call.
One character is used per facility. It is set to "0" if the facility is not used, to "1"
if the facility is used. Several facilities can be used for the same call.
char. 1: Call Forwarding Unconditional
char. 2: Call Forwarding on Busy
char. 3: Call Forwarding on No Reply
char. 4: Transfer
char. 5: Basic Call
char. 6: Operator Facility
char. 7: Substitution
char. 8: Priority Incoming Call
char. 9: Transit
char. 10: Private Overflow to Public
char. 11: Rerouting Public to Private
char. 12: Fax Server
char. 13: Voice Mail
char. 14: Central Abbreviated Numbering
char. 15: Integrated Service Virtual Private Network
char. 16: Overflow Virtual Private Network
char. 17: Automatic Route Selection
char. 18: reserved for future use
char. 19: reserved for future use
char. 20: reserved for future use
Field 25: The "carrier" field indicates the used ARS table number (1 to 10) or 0 if no carrier.
Field 26: The "initial dialled number" field contains, for an outgoing call with ARS, the initial
dialled number by the user.
Field 28: The "effective duration" is the effective conversation duration. It does not include the
waiting duration. It is only available for incoming calls.
Field 29: The "redirected call indicator" is set to true when an incoming call has been directed to a
first party (voice guide, forwarded set ...) and then redirected to a second party.
5.15 REPLY
(16 or 19 characters) from PABX to computer
This message is sent from the PABX to the computer within 5 seconds:
- To answer to a request for "Password", "non-DID GPIN" or "DID GPIN". The PABX returns
the "Password", "non DID GPIN" or "DID GPIN".
- To accept a command with a restrictive warning
- To refuse a command with the reason
If the previous computer command has been handled correctly, and if information or warnings are not
necessary, the PABX does not send any "Reply".
If several messages have been received, the PABX sends the corresponding "Reply messages" in
exactly the same order.
- A "Reply" message with a "GPIN" is sent by the PABX upon reception of a "Check-in"
message with "bbbbb" (request for a "non DID GPIN") or "bbDID" (request for a "DID
GPIN") in "GPIN" field.
- If the computer asks for a "DID GPIN", and there is no one available, the PABX sends a
"Reply message" with the status set to "IF" for reply to Check-In due to "Forced non DID
GPIN", and with a proposed "non DID GPIN".
- If the computer asks for a "non DID GPIN" or for a "DID GPIN" and that there is no one
available in both files, the PABX sends a "Reply message" with the status set to "JE" for
"Refuse" check In due to "Empty" guest number files.
- If the computer asks for a specific "GPIN" which is not available, already given or not
existing, the PABX sends a "Reply message" and refuses the command.
- A "Reply" message with a "password" is sent by the PABX upon reception of a "Check-
in" message with "bbbb" as "password".
- A "Reply" message with a new "password" is sent by the PABX upon reception of a
"Modification" message with "-bbb" as "password". The previous password for this guest
or room extension, if any, is erased.
- Values:
"new value" "bbb0" to "9999" proposed on computer request
"INVb" invalid, already used or non significant
"Sbbb" on "allocation" answer, if the PABX accepts or refuses an allocation of
a room that status is different from "1" (depending on PABX
initialisation).
"S" corresponds to that "room status".
- If the “GPIN* or room extension number” is not agreed, the password field is not
verified (non significant).
**** In those "out of order" or "under repair" cases the "room status" is given in the "guest password" field
The messages described below, are sent only if the computer handles the corresponding function. For
example, some small hotel "P.C." uses only the "Interrogation" message because they are unable to
store SMDR and sometimes, to handle "Check-in", "Check-out" and "Modification" commands.
If some fields are not handled by the computer, they must be filled with blank (ASCII space)
characters.
6.1 CHECK-IN
(58 or 61 characters) from computer to PABX
. If * the "GPIN" is not given, the PABX has to immediately propose one "non DID
GPIN".
. If * the "GPIN" is equal to "bbDID", the PABX has to immediately propose one "DID
GPIN" (see § 5.15 Reply).
From release 4.1, a check-in message for an already checked-in GPIN or room
extension number but with a new name can be, depending on PABX configuration,
accepted or not.
If it is accepted, several names are associated to the same guest (one principal name
plus 15 additional names at maximum) and the guest extension can be reachable by
using those different names (call by name).
Only the principal name can be modified through AHL (see § 6.4 Modification). All
the names are deleted from the PABX Phone Book at check-out.
- Deposit amount
. cost (8 characters + 1 floating point)
left justified
. or blank (no pre-payment)
While sending Wake-up information to PBX, using Check-in or Modification frames, the
PBX answer with a P frame to confirm the programming or cancellation like if it was a
programming done by PBX room station or wake-up events.
The Allocation command attributes an extension number to a guest already checked in. This is
what is called allocation.
If the guest is already allocated to another extension, this command means extension (room)
swapping from the previous room to the new room.
The field “new GPIN or new room extension” must be filled with the new room extension.
If there is already one (or more) guest in that room, this means "multi-occupation". Several
guests share the same room but enjoy individual accounting.
If the "new room extension" field is filled with blanks, this command means: suppress
extension attribution for that guest. All the calls for him will be directed to the associated
operators or to his Voice Mail Box if he get one.
This is not possible in “static” management mode.
If the PABX cannot attribute the requested extension or if that "guest number" is not checked in,
it issues a "reply" message.
There are 3 variants of the “static” mode, corresponding to different display on digital telephone
sets and to different AHL modes:
- “static”: GPIN numbers in AHL commands
- “static guest”: GPIN numbers in AHL commands
- “static room”: room extensions numbers in AHL commands. This mode is identical to the
room extension mode concerning the AHL protocol, but as GPIN are managed on the
PABX, more features are available (extension swapping, suite).
field STX F GPIN* or room Code Action not used CRC ETX
extension** P
This command is used to open or close guest Voice Mail Box facilities.
If a problem occurs (for example no available Voice Mail Box) the "Reply" message is used to specify
the kind of problem.
6.4 MODIFICATION
(58 or 61 characters) from computer to PABX
"*" : multi-occupation
The name in the guest name area corresponds to the first guest name
"b" : single occupation or not used
"0" : no change
Left justified
"000 000 000 000 000 000 00" means no change
"blanks" clear that area or mean "not used"
6.5 CHECK-OUT
(10 or 13 characters) from computer to PABX
If the room line is busy with an external outgoing call, when the PABX receives the "Check-
out" command:
+ if the PABX does not execute the "check-out" (PABX initialisation parameter),
it sends a "Reply" message with the "status" set to "PL"
- if the PABX closes the line immediately (forbidden by PTT regulations in some
countries),
it executes the "check-out" and sends the corresponding "SMDR" (if it applies) and "Reply"
(with "OL" status) messages.
If there are not consulted message in the associated voice mail box, when the PABX
receives the "Check-out" command:
- if the PABX does not execute the "check-out" (PABX initialisation parameter),
it sends a "Reply" message with the "status" set to "PM"
If the "Check-out" is done on a "room extension", in case of "management on GPIN", all the
"guests" associated to that " room extension" are checked-out*.
6.6 INTERROGATION
(10 or 13 characters) from computer to PABX
If the link is in TCP/IP mode, the PMS must not send any other message of this type before
having received a Reply message with the first character of the status field set to “U” or “Z”
(see § 5.15 Reply).
The computer can ask to the PABX to send all the data it has on a guest or on every checked-in
guests or extensions.
If a desynchronization between the computer and the PABX happens, the computer must use
that command to get the PABX database image, then to modify only the desynchronized
information. It must avoid to send a succession of "Check-out" then "Check-in" commands.
If the GPIN field is filled with blank characters, this request concerns every guest or room
checked-in (multi-users database re-initialisation).
In case of "management on GPIN", if the "GPIN" field corresponds to a room extension, the
PABX sends all the data it has on every guest checked-in in that room.
The computer must wait up to the end of the database re-initialisation, before to send any new
command.
- Code ( 1 character)
+ "A" for "adding" a "room extension" or a "first level suite" to the "suite" or to a "room
extension" for creating a suite
+ "S" for "subtracting" a "room extension" or a "first level suite" from the "suite
- Managing extension or main extension (5 or 8 characters) is the extension number used as the
"suite number".
It can be occupied by one or several guest.
That suite can be:
. a "first level suite" which included only guest room extensions
. a "second level suite" which included at least one "first level suite"
That extension can be:
. an analog set
. a UA (digital) set
. a DECT wireless set
For creating a suite, just add a "room extension" to a "first extension ("managing extension")
which becomes the "suite number".
When there is no more "added extension" to that "suite number" (subtraction of the last added
extension)
it becomes a single "room extension". The suite is disabled.
An added extension is not anymore considered as a "room extension", but as a "slave
extension".
A subtracted "slave extension" (or "slave suite") is then considered as a "room extension"
(or a "first level suite").
In case of problem, this command is refused by the PABX and then a "Reply message" is
issued with "S" as first status character.
VOICE-MAIL
HOSPITALITY
RS232C COMPUTER
PABX
( PMS )
CALL TICKET
BUFFER
CHECK-IN
ALLOCATION *
Back-up
Printer VOICE MAIL BOX ATTRIBUTION
MODIFICATION
CHECK-OUT
INTERROGATION
DATA TRANSFER
WAKE-UP EVENT
REINITIALISATION REQUEST
REINITIALISATION
REPLY
DYNAMIC SUITE *
ACKNOWLEDGEMENT
LINK CONTROL
6Dh is the result of xor calculation on the following bytes: 44h, 20h, 33h, 39h, 35h, 36h.
0100 0100 xor 0010 0000 = 0110 0100 (44h xor 20h = 64h)
0110 0100 xor 0011 0011 = 0101 0111 (64h xor 33h = 57h)
0101 0111 xor 0011 1001 = 0110 1110 (57h xor 39h = 6Eh)
0110 1110 xor 0011 0101 = 0101 1011 (6Eh xor 35h = 5Bh)
0101 1011 xor 0011 0110 = 0110 1101 (5Bh xor 36h = 6Dh)
This result is then splitted into the 2 two ASCII characters 6 (36h) and D (44h).
PSTN Network
E1 Line Number :
+33 XXX 90 8000
DDI Range :
8001 to 8999
Simon
John
Guest n° 1450
Hotel software
Office / House
Hotel Network
In some Hotel configuration, the Guests are configured in order to be reachable from the public
network on a direct line.
This configuration is named Direct Dialed In (DDI). The aim of this document is to describe the
configuration of the DDI and the difference between DDI and GPIN.
DID Area 1
DID Area 2
The GPIN is a number that is attributed to the customers arriving at the Hotel. This GPIN is
allocated to the Room where the customer is staying. For example the Guests can be
created on four digits user numbers (e.g. 8001 to 8099) and the Room numbers can be set
on five digits (e.g. 13001 to 13099).The Range of GPINs are created as “Room – Guest”
Users of the OmniPCX Enterprise. This number can only be used for internal calls and is not
reachable from the public network.
The DID are ranges of numbers subscribed by the Hotel on its telephonic provider. The DID
can be reached from the public network. They are generally following the line number of the
Hotel. For example, if a Hotel has E1/T2 public access with a number + 33 3 XX 78 6700.
The DIDs allocated to this line could be the numbers from + 33 3 XX 78 6701 to 6799.
In order to transmit the call coming to the DID, some configuration has to be done on the
OmniPCX Enterprise.
The basic configuration steps of the DID translation into the internal numbering plan (to call
the Guest GPINs) would be:
(1) If the Guest GPINs or the DID do not follow an uninterrupted range of numbers, it is
possible to configure more than one range of number.
(2) These are permanent settings; it is not possible to have dynamic translation. If one
DID is set to be translated as one GPIN this cannot change until the administrator
changes the OmniPCX Entreprise parameters by a local connection (telnet or
console).
The rotating DID is functionality available on the Alcatel Hotel application. It is used when the
Hotel Software doesn’t manage the number of the Guest to allocate. On this case the
OmniPCX Enterprise allocates a GPIN to the new arriving customer by following two rules:
- It checks if the GPIN has to be linked to a DID (according to the DID configuration).
Send “DID” in the Check-in frame to ask for a DID-GPIN or an empty field for a non-
DID-GPIN.
- It allocates the oldest checked-out GPIN.
If the Hotel software chooses itself which GPIN should be allocated to which customer then
the Rotating DID isn’t used and the software has to know which GPIN is linked to a DID or
not.
There are two parameters in the OmniPCX Enterprise that need to be set to allow the rotating
DID functionality.
1. In mgr / Applications / Hotel : set “Guest Rotating DID” to YES
2. Choose which Guest numbers (GPIN) should be included in the DID rotating pool in
“DID Area 1”. Here should be the range parameter on the DID translation part. All the
other GPINs will be seen by the OmniPCX Enterprise as not reachable from the public
network.
8041
…
8099
The Hotel Link over TCP-IP is now running in an OXE spatial redundancy context and still
using the TCP/2561 port.
The Spatial Redundancy means that the main Com Server (CPU) of OXE is backed-up with
another Com Server which is not in same IP subnet.
Therefore, you got 2 physical Com Server IP addresses (A and B) and 2 role MAIN IP
addresses (Main 1 and Main 2).
Only one main is active at same time while the redundancy is active.
To avoid “split brain” mode (both Com Server are Main simultaneously), the management
define a “reference” shelf with Media-gateway board that will mark the connected CPU as
Main (the other one has to restart to become finally the Stand-By).
The Application will need to connect to active Main Com Server, in single Com Server, the
connection is done directly to Com Server IP address but in duplicated Com Server and
especially Spatial Redundancy mode, you will have 3 methods to set-up this connection:
Alternate Proxy method: The PBX administrator provide you the 2 Main Com Server
IP address and the application has to test (Ping / icmp) the answer of the IP address
before it send “connection” request.
Alternate DNS method: The PBX or IT administrator provide you the FQDN of the
OmniPCX node (hostname.domain) and the OmniPCX enterprise will use its “internal
name resolver” to give you the IP address of the active Main Com Server. The
application has to make (via the host OS) a name query to both DNS servers that are
the 2 OXE physical Com Servers.
DNS Delegation method: The application will make a name query directly to the
company DNS server (Microsoft DNS Server or Open Source “Bind” stack) where
there will be a “relay” or “delegation” to provide the right answer to name query
according to real status of the Main Com Server.
This method is the simplest as soon as your application is ready to make DNS query.
The connection TCP/2561 is initiated by AHL application from Partner side and should stay
on all time. Only one socket has to be opened on OmniPCX Enterprise side.
In stand-alone Com Server or regular redundancy modes, the IP address defined in OXE
management is the Main CPU and it is unique in this context.
But in spatial redundancy mode, there are 2 Main Com Server IP addresses and we could
not manage it the way it was before.
Transmission
When you validate the change by CTRL + V then you got this extra configuration window:
Review/Modify: Computer link
The partner application should now take into account that there are 2 Main CPU IP
addresses.
The tcp-ip link is set-up on tcp port 2561 and when Main CPU will be stopped because there
is a switch-over to other Stand-by CPU, then the application has to connect to second Main
CPU IP address in order to re-establish the AHL link with PCX.
PCX send to computer (PMS) a keep-alive every 30 seconds as described in chapter 3.2.6 .
The following diagram shows the IP packets exchanged while CPU switch-over:
In the OXE Hotel/Hospital context, there is the possibility to have multiple wake-up call for a guest,
up to 4 wake-up times, that are then related to differents guests in a multi-occupancy room.
Warning:
· The feature is configured on the whole OXE system for all users, guest/room and
administratives.
· This multi-wake-up could be programmed only by digital (UA or IP) sets like T4034 or
IPTouch 4038 or …
· While number of wake-up calls is more than 1 then the user set without display (analog or
digital) could handle only one wake-up call.
· The management of all wake-up calls for an extension (like a room) could be done from
another user digital set (like room service or front desk) with a display because the
programming require inter-active keys (seen on display).
· The cancellation of wake-up calls is done for all times programmed.
12 ANNEX 5: Debugging
In order to resolve connectivity problems on AHL links, it is possible to analyse the packets exchanged
over the hotel link. There are two possibilities based on the type of AHL link used:
· If the system uses a TCP/IP link, go to Applications / Hotel/Computer Link and put “-d” on the LINF
Parameter line.
· To enable the traces when a V24 AHL Link is used, go to System / V24 Port, select the V24 port used
and in the Parameters line put “-d”.
To view the traces, exit the MGR menu by CTRL + C then, on the prompt, use the “traced” command.
The next table shows an example of a traced request on a TCP/IP link. The request is a Check-in with
the incoming packet and the ack from the PBX.
Nota : “tout est ok - envoi du ack vers PC” means “Everything is ok - ACK sent to the PMS”
· To re-initialire the V24 port for AHL but also all other v24 ports, do “dhs3_init –R V24_CONFIG”
- End of document -