Synopsis:
CCtrunktype(port)
Arguments:
port – The logical E1/T1 port number.
Description: This function maps to the following Aculab function:
ACU_ERR call_line (ACU_PORT_ID portnum);
It returns the type of trunk supported by the port and will be one of the following defined in ACULAB.INC:
const L_E1 = 1;
const L_T1_CAS = 2;
const L_T1_ISDN = 3;
const L_BASIC_RATE = 4;
const L_PSN = 5; # packet stream
Returns: Returns the trunk type or a negative error code.