X25AM Programming Manual

PTP Applications
X25AM Programming Manual527201-001
3-41
PTP Procedure Statements Summary
Set the optional CCITT-specified DTE facilities.
SETPARAM 38
Get the originally called DTE address.
SETPARAM 39
Get the reason the call was redirected or deflected.
CALL SETPARAM (filenum, function, dte^facilities,
length)
filenum = file number
function = 37
dte^facilities
= byte string of optional DTE facilities (for each
facility there is a code field, a facility parameter
field length in bytes (if code field is D), and a
facility parameter field)
length = 2 to 20 bytes
CALL SETPARAM (filenum, function,,, dte^address,
length)
filenum = file number
function = 38
dte^address
= ASCII string of decimal digits (for example,
“12345678”) representing the originally called
DTE address.
length = maximum 15 bytes
CALL SETPARAM (filenum, function,,, reason^code,
length)
filenum
= file number
function = 39
reason^code
= an integer indicating the reason for the call
redirection or deflection. Refer to Table 3-12
for
reasons returned by the X.25 network.
length = 2 bytes
Table 3-12. Reasons for Redirection or Deflection
Integer Reason for Redirection or Deflection
1 Originally called DTE busy
9 Originally called DTE out of order
15 Systematic call redirection
192-255 Call deflection by the originally called DTE