NAME

irChan2TeleType - get Telephony Type

SYNOPSIS

#include<irapi.h>

intirChan2TeleType (int channel_nbr);

DESCRIPTION

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.

EVENT

none

RETURN VALUE

irChan2TeleType returns a Telephony Type on success.

IRR_FAIL is returned if an error occurs.

ERROR

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

OBSOLETE

The following Telephony Types no longer exist: IRD_TR, IRD_T1, IRD_PRI, IRD_LST1_DEF, IRD_LST1_GAL, and IRD_LST1_ASAI.

VERSION

This is version 6/25/03 of this man page.