# Appendix - Diagnostic Specification

## HIS/Encore PMS Integration

Reference: Document Part No. 2750-0009-00 "NuPoint Voice/Encore PMS Integration ENGINEERING SPECIFICATION"

### Definitions

ACK | An ASCII control character used in the RS232C serial protocol for positive acknowledgement of a single character or full message packet.
CDR | A group of routines, data and files that allow the NuPoint Voice system to do call detailed recording of selected information for diagnostics.
cdrmenu | A NuPoint Voice routine that runs only when the system administrator requests to inspect or modify the CDR log file and/or configuration.
EECO | An OAA record that stores the configured data set up by eecomenu.
ENQ | An ASCIIcontrol character used in the RS232C serial protocol. It is used to request retransmission of the last character or full message packet.
eecomenu | A NuPoint Voice routine that runs only when the system administrator requests to inspect or modify the EECO OAA record for the HIS/Encore PMS integration.
hisinit | A NuPoint Voice routine that is started by hissnd to read though all mailboxes on the system and update message waiting for any with message waiting type 16.
hismwi | A NuPoint Voice routine that receives message waiting update requests from the mwla, reformats the data and requests hissnd to transmit the message across the serial link to the PMS system. Upon completion it reports the status back to the mwla.
hisrcv | A NuPoint Voice routine that receives the serial link data from the PMS system.
hisresync | A NuPoint Voice routine that is started by hisrcv if it receives a resync message from the PMS system. It sends a message to hissnd to start hisinit and then dies.
hissnd | A NuPoint Voice routine that sends data across the serial link to the PMS system.
mwla | A NuPoint Voice routine that oversees message waiting updates for all the message waiting integrations.
NAK | An ascii control character used in the RS232C serial protocol for negative acknowledgement of a single character or full message packet.
OAA | Open Account Administrator. The method to store NuPoint Voice mailbox and configuration data in 4K records.
PMS | Property Management System.
TTY | Tele-typewriter.

The purpose of this document is to explain the available diagnostic information for the HIS/Encore PMS Integration. The information is located in three areas: the log file, the CDR file and the system console. Any messages that are displayed on the system console are from the running tasks hissnd, hisrcv, hismwi or hisinit showing that they aborted and why.

## Log File

When NuPoint Voice is running, there are two possibilities: the link is up or the link is down. When NuPoint Voice is booted, the PMS system integration software starts with the assumption the link is up. If the NuPoint Voice system sends any data over the link to the HIS/Encore PMS system and it is not acknowledged within two seconds, the data is resent for a maximum of four times. If still no acknowledgement, the NuPoint Voice system considers the link down and logs it. At any future time if the HIS/Encore PMS system sends valid data to the NuPoint Voice system, it is acknowledged and the link is considered up and it is logged.

At any time while NuPoint Voice is running, if a message waiting notification sent to the HIS/Encore PMS system fails due to an internal error, the mailbox number and message waiting state lost is logged.

If the NuPoint Voice system is requested to do a move message command (swap) and for any reason the event fails, it is logged with both the source and destination mailbox numbers. It is also possible during a swap that the source mailbox is deleted and can not be recreated. If this event occurs, it is logged with the mailbox number that is deleted.

To check the log file for information including HIS/Encore PMS integration:

1. From the console Main menu enter (R) Report generation.

2. Select (L) Log file and then select (S) Show logfile.

## Log File Entries

"HIS PMS Link is up"
"HIS PMS Link is down"
"Unable to update MWI (ON/off) for mailbox (x)"
"Failed to swap mailbox (x) with (y)"
"Deleted mailbox (x), unable to re-create"

## CDR File

While the NuPoint Voice system is running, cdrmenu provides an interface to cause selected information to be written to a CDR log file. For the HIS/Encore PMS system interface, the CDR level is 23, HIS/EECO/Encore PMS. It is useful to have this level active for short periods of time for full diagnostic monitoring of the integration. Listed below are methods to operate CDR.

The cdrmenu is accessed via menu options S-V from the main menu.

The data logged is from one of three active tasks and two short lived spanned tasks that make up the running programs of the HIS/Encore PMS system interface. The names of the tasks are hissnd, hisrcv, hismwi, hisinit and hisresync where hisinit and hisresync are the short lived spanned tasks. Each of these tasks when enabled with CDR level 23 logs data to the CDR file for specific events. Data logged by hissnd starts with "hissnd:" in the CDR file. Data logged by hisrcv starts with "HISRCV:" in the CDR file. Data logged by hismwi starts with "HISMWI:" in the CDR file. Data logged by hisinit starts with "hisinit:" in the CDR file. Data logged by hisresync starts with "HISRESYNC:" in the CDR file.

## Level 22, HIS/EECO/Encore PMS

Messages logged at this level are logged for link and program level diagnostics. This level of diagnostics should not run on an unmonitored system. The CDR data logged is of a large quantity and may cause problems with disk utilization.

Some of the error messages logged are followed by task aborts. These messages are identified below by an additional comment line bracketed with asterisks. Any of the tasks below may abort, either during a system boot or while the system is in full operation. Only the tasks hissnd, hisrcv and hismwi will be restarted. It may be that the task immediately aborts again for the same or another error condition. After five aborts of a task, the system will auto reboot to try and solve the problem by re-initialization. The reason for the task abort is reported to the console and if CDR logging is enabled also to the CDR log file.

## hissnd:

"hissnd: Link is up" (Link failure recovery) "hissnd: Link is down" (Link failure) | This data is logged at the same time and for the same reason as it is defined in the log file section above.
"hissnd: Link down condition, timeout" (Link failure) | This data is logged if after sending any form of message across the link, the PMS system does not reply even after four attempts. At this point the link is logged as down.
"hissnd: Configuration change" (Normal operation) | This data is logged after a message from eecomenu reports that the system administrator has changed the check-in or check-out mailbox configuration data. This information is passed on to hisrcv so it will reread the information from the disk file. It is this communication that allows changes to check-in and check-out handling without a system reboot.
"hissnd: Got send resync message" (Normal operation) | This data is logged when hissnd is redirected a message from hisresync via hisrcv. NuPoint Voice sends a resync message out on the RS232C serial link to the PMS system.
"hissnd: Got send MWI" (Normal operation) | This data is logged when hissnd is redirected a message from hismwi via hisrcv to update a mailboxes message waiting. NuPoint Voice sends a MW status message with the requested mailbox number, number of urgent and number of unplayed messages out on the RS232C serial link to the PMS system.
"hissnd: Got send bad mailbox" (Mailbox undefined in database) | This data is logged when hissnd is told by hisrcv to report the bad mailbox number. NuPoint Voice sends a bad mailbox message out on the RS232C serial link to the PMS system.
"hissnd: Store MWI command" (Normal operation) | This data is logged when hissnd is actively sending or hisrcv is actively receiving a message from the PMS system when a got send MWI command is delivered. The message can not be directly sent out over the link and is saved until the link becomes idle. Once idle, the MW status command is sent out and the entry is removed from the saved message state. At most one MW update can be held at any one time. This is because the mwla is not replied to until the MW status message is sent out, weather it was temporarily held on an active link state or not.
"hissnd: Add to bad mailbox queue" (Normal operation) | This data is logged when hissnd is actively sending or hisrcv is actively receiving a message from the PMS system when a got send bad mailbox is delivered. The message can not be directly sent out over the link and is saved until the link becomes idle. Once idle, the MW status command is sent out and the entry is removed from the saved message state. The entries are queued up and sent out in order as the link idle state permits. If the queue is full, any new bad mailbox messages are lost.
"hissnd: Send ACK" (Normal operation) | This data is logged immediately after one character is transmitted over the RS232C serial link. The character sent is an <ACK>, hex 06.
"hissnd: Send NAK" (Normal operation) | This data is logged immediately after one character is transmitted over the RS232C serial link. The character sent is a <NAK>, hex 15
"hissnd: Send ENQ" (Normal operation) | This data is logged immediately after one character is transmitted over the RS232C serial link. The character sent is an <ENQ>, hex 05.
"hissnd: Send (h)" (Internal error, report condition) | This data is logged immediately after one character is transmitted over the RS232C serial link. The character sent is in error and its value in hex is shown.
"hissnd: (m)" (Normal operation) | This data is logged immediately after one data packet is transmitted over the RS232C serial link. The packet sent should be of the form: <STX>message<ETX>LRC=l.
"hissnd: Received a bad request" (Internal error, report condition) | This data is logged when hissnd receives an unknown request from another task on the NuPoint Voice system. The task hissnd tries to get that task to be reset in an attempt to keep the condition from reoccurring.
"hissnd: Use hissnd $port [+hyatt]" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hissnd is started without a port first parameter. The +hyatt is the optional setting that tells the software to interface to an Encore PMS system at 1200 baud. Without the setting, the software assumes to interface to a HIS PMS system at 2400 baud.
"hissnd: Bad RS-232 port name" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hissnd is started with an undefined port parameter.
"hissnd: Unable to attach port" (Internal error or configuration error, check configuration and report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hissnd is started with a port number that can not be attached by this task. Check the configuration of all CPU serial ports of the system for conflicts. If the configuration is altered to repair the problem, reboot the system and monitor for recurrence.
"hissnd: Unable to attach name" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hissnd is started and is not able to attach a task name for its use.
"hissnd: Unable to open serial port" (Internal error or serial port error, check serial port and report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hissnd is started and it is not able to open the serial port that it just attached to this task.
"hissnd: Unable to get stty on RS-232 port" (Internal error or serial port error, check serial port and report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hissnd is started and it is not able to get the current TTY options of the serial port.
"hissnd: Unable to SET stty on RS-232 port" (Internal error or serial port error, check serial port and report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hissnd is started and it is not able to set the desired TTY options of the serial port. This includes baud rate, parity, data and stop bit settings.
"hissnd: Unable to SET device attributes for RS-232 port" (Internal error or serial port error, check serial port and report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hissnd is started and it is not able to set the desired device attributes for the serial port. This includes disabling break, X-on/X-off, escape and other features.

## hisrcv:

"HISRCV: Checked in mailbox (x)" (Normal operation) | This data is logged when the PMS system sends valid data to change the configuration of mailbox (x). The changes to the mailbox are configured for FCOS. The changes to the mailbox are complete.
"HISRCV: Checked out mailbox (x)" (Normal operation) | This data is logged when the PMS system sends valid data to change the configuration of mailbox (x). The changes to the mailbox are FCOS, password, name recording, greeting #1 and messages. The changes to the mailbox are complete
"HISRCV: Swapped mailbox (x) with (y)" (Normal operation) | This data is logged when the PMS system sends valid move mailbox data to move source mailbox (x) to destination mailbox (y). Destination mailbox (y) is also swapped to source mailbox (x). The fields that are swapped are FCOS, password, text message count, all four mailbox greetings, name recording and all messages and message data. Note: Because all message data is swapped, if messages in the mailbox are from other mailbox users (as apposed to outside callers), the source of the message may play as the wrong user name. This will happen if mailbox 100 sends a user message to mailbox 200 and then swaps to 101. At this time, the name recording for room 101 is now in 100 and so if user 200 listens to the source of the message it will say the name now associated with 100 (the old 101), the wrong name recording. This is not a problem when a message is left by an outside caller or with integrations that do not supply the calling number.
"HISRCV: Modified FCOS (f), MBOX (x)" (Normal operation) | This data is logged when the PMS system sends valid modify FCOS data packet. The FCOS number of the mailbox is updated to the requested value.
"HISRCV: Text update COUNT (c), MBOX (x)" (Normal operation) | This data is logged when the PMS system sends valid text message data packet. The text message count of the mailbox is updated to the requested value.
"HISRCV: Received a BAD MAILBOX (x)" (Mailbox undefined in database) | This data is logged if the PMS system sends any message packet that includes an undefined source mailbox number. It is invalid because the mailbox passed could not be found in the NuPoint Voice database. This message is discarded. No change to the mailbox database is made. The NuPoint Voice system responds by sending a bad mailbox packet to the PMS system.
"HISRCV: Received a BAD NEW MAILBOX (x)" (Mailbox undefined in database) | This data is logged if the PMS system sends a move mailbox message packet that includes an undefined destination mailbox number. It is invalid because the mailbox passed could not be found in the NuPoint Voice database. This message is discarded. No change to the mailbox database is made. The NuPoint Voice system responds by sending a bad mailbox packet to the PMS system.
"HISRCV: Received a BAD NEW MAILBOX (same number)" (Error in PMS system) | This data is logged if the PMS system sends a move mailbox message packet that includes the same source and destination mailbox number. This message is discarded. No change to the mailbox database is made. The NuPoint Voice system responds by sending a bad mailbox packet to the PMS system.
"HISRCV: No check in FCOS configured" (Check NuPoint Voice system configuration, configure PMS integration) | This data is logged if NuPoint Voice reads nonconfigured or invalid data configured for the PMS integration in the EECO OAA record.
"HISRCV: No check out or bad configuration" (Check NuPoint Voice system configuration, configure PMS integration) | This data is logged if NuPoint Voice reads nonconfigured or invalid data configured for the PMS integration in the EECO OAA record.
"HISRCV: Unable to lock source mailbox (x)" (Internal error, report condition) | This data is logged when hisrcv is unable to lock the source mailbox record as part of the move mailbox message sent by the PMS system.
"HISRCV: Unable to open source mailbox (x)" (Internal error, report condition) | This data is logged when hisrcv is unable to open the source mailbox record as part of the move mailbox message sent by the PMS system.
"HISRCV: Unable to delete source mailbox (x)" (Internal error, report condition) | This data is logged when hisrcv is unable to delete the source mailbox record as part of the move mailbox message sent by the PMS system.
"HISRCV: Unable to lock destination mailbox (x)" (Internal error, report condition) | This data is logged when hisrcv is unable to lock the destination mailbox record as part of the move mailbox message sent by the PMS system.
"HISRCV: Unable to open destination mailbox (x)" (Internal error, report condition) | This data is logged when hisrcv is unable to open the destination mailbox record as part of the move mailbox message sent by the PMS system.
"HISRCV: Unable to close destination mailbox (x)" | This data is logged when hisrcv is unable to close the destination mailbox record as part of the move mailbox message sent by the PMS system.
"HISRCV: Unable to create swapped source mailbox (x)" (Internal error, report condition) | This data is logged when hisrcv is unable to create the swapped source mailbox record as part of the move mailbox message sent by the PMS system.
"HISRCV: Unable to re-create original source mailbox (x)" (Internal error, report condition) | This data is logged when hisrcv is unable to re-create original source mailbox record as part of the move mailbox message sent by the PMS system.
"HISRCV: Failed to swap mailbox (x) with mailbox (y)" (Internal error, report condition) | This data is logged when hisrcv is unable to swap the source and the destination mailbox records during a move mailbox. This message follows the specific reason listed above listing the level of the failure in the swap.
"HISRCV: Invalid FCOS request (f)" (PMS system error) | This data is logged when hisrcv receives an invalid FCOS value in a modify FCOS message sent by the PMS system.
"HISRCV: Received an <ENQ> = send <NAK>" (Link failure, test link protocol using data scope) | This data is logged when hisrcv reads a first character from the RS232C serial port and it is an <ENQ>. This choice to send out a <NAK> is made if NuPoint Voice has already sent a message four times and the PMS system continues to reply with an <ENQ> rather than the expected positive result <ACK>. The information is sent by hisrcv to hissnd.
"HISRCV: Received an <ENQ> = send last msg" (Link failure, test link protocol using data scope) | This data is logged when hisrcv reads a first character from the RS232C serial port and it is an <ENQ>. This choice to send out the last message is made if NuPoint Voice has not sent this message four times with the PMS system continuing to reply with an <ENQ> rather than the expected positive result <ACK>. The information is sent by hisrcv to hissnd.
"HISRCV: Received an <ACK>" (Normal operation) | This data is logged when hisrcv reads a first character from the RS232C serial port and it is an <ACK>. The information is sent by hisrcv to hissnd.
"HISRCV: Received a <NAK>" (Link failure, test link protocol using data scope. If error is not consistent, suspect PMS system overload or stressed RS232C data connection) | This data is logged when hisrcv reads a first character from the RS232C serial port and it is a <NAK>. The information is sent by hisrcv to hissnd.
"HISRCV: (data packet)" (Normal operation) | This data is logged when hisrcv reads in any packet that begins with an <STX>. This message is displayed if it is a good or bad packet. The packet is shown in the format <STX>message<ETX>LRC=(h).
"HISRCV: BAD LRC" (Link failure, test link protocol using data scope) | This data is logged when hisrcv reads a packet from the RS232C serial port and the LRC passed in the packet does not match hisrcv's calculated LRC. LRC is defined as longitudinal redundancy check (XOR of all bytes after <STX> including the <ETX> character, with a 00Hex null seed).
"HISRCV: Received a Resynchronize" (Normal operation) | This data is logged when hisrcv reads a good resynchronize packet from the RS232C serial port.
"HISRCV: Received a Check-in or Check-out" (Normal operation) | This data is logged when hisrcv reads a good check-in or check-out packet from the RS232C serial port.
"HISRCV: Received a Message Waiting Status" (Normal operation) | This data is logged when hisrcv reads a good message waiting status packet from the RS232C serial port.
"HISRCV: Received a Move Mailbox" (Normal operation) | This data is logged when hisrcv reads a good move mailbox packet from the RS232C serial port.
"HISRCV: Received a Modify FCOS" (Normal operation) | This data is logged when hisrcv reads a good modify FCOS packet from the RS232C serial port.
"HISRCV: Received a Text Message MW" (Normal operation) | This data is logged when hisrcv reads a good text message MW packet from the RS232C serial port.
"HISRCV: Received a bad packet" (Link failure, test link protocol using data scope) | This data is logged when hisrcv reads a bad packet from the RS232C serial port. The information is sent by hisrcv to hissnd. The partial packet is displayed in a preceding message showing what data has been received, complete or incomplete.
"HISRCV: Received <STX> and then a timeout" (Link failure, test link protocol using data scope. If error is not consistent, suspect PMS system overload or stressed RS232C data connection) | This data is logged when hisrcv gets a two second timeout while trying to read the full packet length from the RS232C serial port. The data is thrown away and hisrcv resets to look for a first character.
"HISRCV: Received a good mailbox" (Normal operation) | This data is logged when hisrcv reads a good mailbox number in a check-in or check-out packet. The mailbox was able to be found in the open account database.
"HISRCV: Check in packet (x)" (Normal operation) | This data is logged when hisrcv reads a good check-in packet. The extension number (x) in the packet is used to read in the mailbox and change the state of the mailbox depending on the hismenu configuration. If hissnd has sent hisrcv a configuration change message, the data stored on disk by hismenu is reread before the changes to the mailbox are made. This allows the system manager to change how check-in and check-out effect mailboxes without a NuPoint Voice system reboot.
"HISRCV: Check out packet (x)" (Normal operation) | This data is logged when hisrcv reads a good check-out packet. The extension number (x) in the packet is used to read in the mailbox and change the state of the mailbox depending on the hismenu configuration. If hissnd has sent hisrcv a configuration change message, the data stored on disk by hismenu is reread before the changes to the mailbox are made. This allows the system manager to change how check-in and check-out effect mailboxes without a NuPoint Voice system reboot.
"HISRCV: Request MW for mailbox (x)" (Normal operation) | This data is logged if a valid check-out packet with an extension number that lead to a good mailbox was received. And if the current configuration in hismenu for the check-out packet is configured to delete all messages in the mailbox. A message is sent to the mwla to eventually return to hissnd turn off this station numbers message waiting.
"HISRCV: Ignored bad start character, HEX (h)" (Link failure, test link protocol using data scope) | This data is logged if hisrcv is looking for a start character and the character read in from the RS232C serial port is unknown. Valid start characters are <ENQ>, <ACK>, <NAK> and <STX>. The received unknown start character is displayed in hex and the packet is labeled bad.
"HISRCV: Incomplete packet" (Link failure, test link protocol using data scope) | This data is logged when the first characters of the packet (<STX>) has been read in successfully, but the two second packet timer expires before the full number of characters for a packet are read. The packet is labeled bad. The partial packet is displayed in a preceding message showing what data has been received, complete or incomplete.
"HISRCV: Unable to locate hissnd" (Internal error, may locate next transmission, else report condition) | This data is logged when hisrcv needs hissnd to send data allowing the link to stay active but the task hissnd can not be found by name. Each time data is received over the data link from the PMS system, hisrcv retries to locate hissnd. If it is again unsuccessful, this message is again logged. At this point, the PMS system sees the link as down. When hissnd successfully restarts and attaches it's name, hisrcv and hismwi can locate it and link communication will proceed as expected.
"HISRCV: Unable to locate hissnd, data lost" (Internal error, message lost, report condition) | This data is logged when hisrcv needs hissnd to send data allowing the link to stay active but the task hissnd can not be found by name. The data is lost and hisrcv continues to run looking for further link data. The PMS system is probably not getting any data from hissnd and so it will consider the link down. When hissnd successfully restarts and attaches it's name, hisrcv and hismwi can locate it and link communication will proceed as expected.
"HISRCV: Unable to send to hissnd, data lost" (Internal error, message lost, report condition) | This data is logged when hisrcv needs hissnd to send data allowing the link to stay active but the task hissnd can not be found by name. The data is lost and hisrcv continues to run looking for further link data. The PMS system is probably not getting any data from hissnd and so it will consider the link down. When hissnd successfully restarts and attaches its name, hisrcv and hismwi can locate it and link communication will proceed as expected.
"HISRCV: Unable to re-send to hissnd, data lost" (Internal error, message lost, report condition) | This data is logged when hisrcv needs hissnd to send data allowing the link to stay active but the task hissnd can not be found by name. It tries to send once to hissnd and fails, then it is temporarily able to attach by name to hissnd again, tries to send a second time and fails. The data is lost and hisrcv continues to run looking for further link data. The PMS system is probably not getting any data from hissnd and so it will consider the link down. When hissnd successfully restarts and attaches its name, hisrcv and hismwi can locate it and link communication will proceed as expected.
"HISRCV: Unable to read eeco OAA record" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hisrcv is started and it is not able to read from disk the configuration data set by hismenu.
"HISRCV: Use hissnd $port [+hyatt]" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hisrcv is started without a port first parameter. The +hyatt is the optional setting that tells the software to interface to an Encore PMS system at 1200 baud. Without the setting, the software assumes to interface to a HIS PMS system at 2400 baud.
"HISRCV: Bad RS-232 port name" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hisrcv is started with an undefined port parameter.
"HISRCV: Unable to open serial port" (Internal error or serial port error, check serial port and report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hisrcv is started and it is not able to open the serial port that it just attached to this task.
"HISRCV: Unable to get stty on RS-232 port" (Internal error or serial port error, check serial port and report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hisrcv is started and it is not able to get the current TTY options of the serial port.
"HISRCV: Unable to SET stty on RS-232 port" (Internal error or serial port error, check serial port and report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hisrcv is started and it is not able to set the desired TTY options of the serial port. This includes baud rate, parity, data and stop bit settings.
"HISRCV: Unable to SET device attributes for RS-232 port" (Internal error or serial port error, check serial port and report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hisrcv is started and it is not able to set the desired device attributes for the serial port. This includes disabling break, X-on/X-off, escape and other features.

## hismwi:

"HISMWI: MWI ON for station number (x)" (Normal operation) | This data is logged after the following task communication completes. The task mwla requests hismwi to send a message waiting request for station number (x). The task hismwi in turn requests hissnd to send out the specific message waiting packet. The task hissnd completes the packet transfer and replies to hismwi. At this time the CDR message is logged and hismwi replies to mwla.
"HISMWI: MWI off for station number (x)" (Normal operation) | This data is logged after the following task communication completes. The task mwla requests hismwi to send a message waiting request for station number (x). The task hismwi in turn requests hissnd to send out the specific message waiting packet. The task hissnd completes the packet transfer and replies to hismwi. At this time the CDR message is logged and hismwi replies to mwla.
"HISMWI: Unable to locate hissnd" (Internal error, may locate next transmission, else report condition) | This data is logged when hismwi needs hissnd to send data allowing the link to stay active but the task hissnd can not be found by name. Each time data is received over the data link from the PMS system, hismwi retries to locate hissnd. If it is again unsuccessful, this message is again logged. When hissnd successfully restarts and attaches its name, hisrcv and hismwi can locate it and link communication will proceed as expected.
HISMWI: Unable to send to hissnd, data lost at level (x)" "HISMWI: Unable to turn MWI (ON/off) for mailbox (x)" (Internal error, message lost, report condition) | This data is logged when hismwi needs hissnd to send data allowing the link to stay active but the task hissnd can not be found by name. The data is lost and hismwi continues to run looking for further link data. The PMS system is probably not getting any data from hissnd and so it will consider the link down. When hissnd successfully restarts and attaches it's name, hisrcv and hismwi can locate it and link communication will proceed as expected. The level number is for engineering use to determine which one of three levels of sending the failure occurred. The second half of the message informs what mailbox was involved and if message waiting failed for an on or off attempt.
"HISMWI: Unable to locate mwla" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hismwi starts and it tries to locate the mwla task and fails.
"HISMWI: Unable to locate mwla in loop" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hismwi tries to send a response to the mwla at any time and fails.

## hisresync:

"HISRESYNC: Resync message sent" (Normal operation) | This data is logged when hisrcesync sends a resync message to the PMS system.
"HISRESYNC: Resync message failed" (Internal error, report condition) | This data is logged when hisresync fails to send a resync message to the PMS system.
"HISRESYNC: Unable to locate hissnd" (Internal error, report condition) | This data is logged when hisrcesync needs hissnd to send a resync message to the PMS system. The task hisresync returns to hisrcv without completing the command.
"HISRESYNC: Unable to send to hissnd, data lost" (Internal error, message lost, report condition) | This data is logged when hisresync needs hissnd to send data allowing the link to stay active but the task hissnd can not be found by name. The data is lost and hisresync returns to hisrcv without completing the command.
"HISRESYNC: Unable to re-send to hissnd, data lost" (Internal error, message lost, report condition) | This data is logged when hisresync needs hissnd to send data allowing the link to stay active but the task hissnd can not be found by name. It tries to send once to hissnd and fails, then it is temporarily able to attach by name to hissnd again, tries to send a second time and fails. The data is lost and hisresync returns to hisrcv without completing the command.

## hisinit:

"hisinit: Mailbox (x) MWI update" (Normal operation) | This data is logged for each mailbox in the system that has a message waiting type #16 (HIS PMS). This is the result of a resync command sent from the PMS system.
"hisinit: Exit mailbox resynchronize loop" (Normal operation) | This data is logged after all the mailboxes in the system have been scanned for the ones that have a message waiting type #16 (HIS PMS).
"hisinit: Unable to attach to HISINIT port" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hisinit is started with a port number that can not be attached by this task.
"hisinit: Unable to locate mwla" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hisinit tries to send a response to the mwla at any time and fails.
"hisinit: Unable to locate oaa" (Internal error, report condition) | *Error condition causes abort, error displayed on console and task restart* This data is logged when hisinit tries to send a response to the oaa at any time and fails.