X25AM Programming Manual

PTP Applications
X25AM Programming Manual527201-001
3-42
PTP Procedure Statements Summary
SETPARAM 40
Get the reason the called address was modified.
SETPARAM 41
Get the dynamic Call User Data (CUD) values for this session.
Set the dynamic Call User Data (CUD) values for this session.
CALL SETPARAM (filenum, function,,, reason^code,
length)
filenum = file number
function = 40
reason^code
= an integer indicating the reason the called
address has been modified. For reasons
returned by the X.25 network, see Table 3-13.
length = 2 bytes
Table 3-13. Reasons for Called Address Modification
Integer Reason for Called Address Modification
1 Call redirection because originally called DTE busy
7 Call distribution within a hunt group
9 Call redirection because originally called DTE out of order
15 Call redirection because of prior request from originally called DTE for
systematic call redirection
128-191 Called DTE originated
192-255 Call forwarding by the originally called DTE
CALL SETPARAM (filenum, function,,,
call^user^data, length)
CALL SETPARAM (filenum, function, call^user^data,
length)
filenum = file number
function = 41
call^user^data
= 12-16 bytes (24-32 hex characters)
= 0-16 bytes (PTP protocol)
= 0-12 bytes (ITI protocol)
length = 0-16 (length in bytes of the CUD)