SNAX Connection Manager (SNAX/CM) Manual
Validation Processes for Incoming Calls
SNAX/CM Server
4–6 097842 Tandem Computers Incorporated
Validating the Call String This message structure is used to validate the call string:
STRUCT user^interface4 (*);
BEGIN
STRING base[ 0:-1 ]; ! Used with VARSTRING
INT message^type; ! 4 = Callstring validate
STRUCT callstring(VARSTRING); ! Pointer to call string
STRUCT linename(VARSTRING); ! Pointer to line name
STRUCT portname(VARSTRING); ! Pointer to X25AM SU name
STRUCT puname(VARSTRING); ! Pointer to PU name
STRING data[0:-1]; ! Call string, line name,
! X25AM SU name, and PU name
END;
Messages Returned by the
Validation Process
The VALIDATION process should return a message to SNAX/CM to state whether
the validation succeeds or fails. If SNAX/CM does not get this message within the
time frame defined by ENABLE command (TIMEOUT) or the default 60 seconds,
SNAX/CM stops processing this connection.
The messages returned by VALIDATION process are in the following structure.
STRUCT RESPONSE^INTERFACE;
BEGIN
INT RETURN^TYPE; ! 0 = successful
! 1 = reject XID string
! 2 = reject callstring
END;
Message Structures for
SNAX/CM Replies
SNAX/CM receives commands from a $RECEIVE file and issues the following
message structures as replies to the SNAX/CM commands issued by an application
process.
STRUCT PORT^SUMMARY^STATUS( * );
BEGIN
UNSIGNED(1)
floating,-- 1 = Switched Floating,
-- 0 = Permanently Subordinate
Enabled; -- 1 = Enabled
-- 0 = Not Enabled
BIT_FILLER(10);
UNSIGNED(4)
Status; -- connection status of port
-- sxcm_status_unavailable = 1,
-- sxcm_status_disconnected = 2,
-- sxcm_status_disconnecting = 3,
-- sxcm_status_allowing = 4,
-- sxcm_status_calling = 5,
-- sxcm_status_connected = 6;
STRUCT Puname( VARSTRING );
STRUCT portname( VARSTRING );
END;