Solstice X.25 9.2 Developer's Guide

12.7.2.15 Call Redirection Notification

This is a read-only facility received in either the Call Accepted or Clear Indication packets. It is read as follows:

typedef struct call_redir_s {
    u_char   cr_reason;
    u_char   cr_hostlen;
    u_char   cr_host[(MAXHOSTADR+1)/2];
 } CALL_REDIR;

 CALL_REDIR call_redir;
 f.type = T_CALL_REDIR;
 error = ioctl(s, X25_GET_FACILITY, &f);
 call_redir = f.f_call_redir;