irChan2TeleType,irTeleType2TeleClass - get Telephony Type and Class
#include<irapi.h>
intirChan2TeleType (int channel_nbr);
int irTeleType2TeleClass (int tele_type);
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.
Function irTeleType2TeleClass returns the Telephony Class associated with the Telephony Type tele_type. The possible Telephony Classes (described in IrDEFINES(4IRAPI) are IRD_ANALOG, IRD_DIGITAL, IRD_VIRTUAL_CLASS, and IRD_UNKOWN_CLASS.
none
irChan2TeleType returns a Telephony Type on success.
IRR_FAIL is returned if an error occurs.
irTeleType2TeleClass returns a Telephony Class on success or IRD_UNKOWN_CLASS if a determination can't be made
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 12/12/02 of this man page.