irChan2TeleType - get Telephony Type
#include<irapi.h>
intirChan2TeleType (int channel_nbr);
Function irChan2TeleType returns the Telephony Type associated with the channel channel_nbr. The currently possible Telephony Types (described in IrDEFINES(4IRAPI) are IRD_NMS, IRD_NMSPRI, IRD_VOIP, IRD_ASAI, and IRD_VIRT_CHAN. Additional Telephony Types may be supported by add-on packages.
none
irChan2TeleType returns a Telephony Type on success.
IRR_FAIL is returned if an error occurs.
irError is set as follows if an error occurs:
IRER_INVALID if channel_nbr is invalid
IRER_SYSERROR if the Telephony Type cannot be obtained from the Resource Manager (see irSysError for additional information
The following Telephony Types no longer exist: IRD_TR, IRD_T1, IRD_PRI, IRD_LST1_DEF, IRD_LST1_GAL, and IRD_LST1_ASAI.
This is version 6/25/03 of this man page.