08.01.2013 Views

Dialogic® Global Call API Library Reference

Dialogic® Global Call API Library Reference

Dialogic® Global Call API Library Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CT_DEVINFO — information about a <strong>Global</strong> <strong>Call</strong> line device<br />

CT_DEVINFO<br />

information about a <strong>Global</strong> <strong>Call</strong> line device<br />

typedef struct ct_devinfo {<br />

unsigned long ct_prodid; /* product ID */<br />

unsigned char ct_devfamily; /* device family */<br />

unsigned char ct_devmode; /* device mode */<br />

unsigned char ct_nettype; /* network interface */<br />

unsigned char ct_busmode; /* bus architecture */<br />

unsigned char ct_busencoding; /* bus encoding */<br />

union {<br />

unsigned char ct_RFU[7]; /* reserved */<br />

struct {<br />

unsigned char ct_prottype;<br />

} ct_net_devinfo;<br />

} ct_ext_devinfo;<br />

} CT_DEVINFO;<br />

Description<br />

The CT_DEVINFO structure contains information about a specified <strong>Global</strong> <strong>Call</strong> line device.<br />

Valid values for each member of the structure are defined in ctinfo.h, which is referenced by<br />

gclib.h.<br />

Field Descriptions<br />

On Dialogic ® DM3 boards, the fields of the CT_DEVINFO data structure are described as follows:<br />

ct_prodid<br />

Contains a valid product identification number for the device [length: 4 (unsigned long)].<br />

ct_devfamily<br />

Specifies the device family [length: 1 (unsigned char)]. Possible values are:<br />

CT_DFDM3 – Dialogic ® DM3 device<br />

CT_DFHMPDM3 – Dialogic ® Host Media Processing (HMP) device<br />

ct_devmode<br />

Specifies the device mode [length: 1 (unsigned char)] that is valid only for a Dialogic ® D/xx or<br />

VFX/xx board. Possible values are:<br />

CT_DMRESOURCE – Dialogic ® DM3 voice device in flexible routing configuration<br />

CT_DMNETWORK – Dialogic ® DM3 network device or Dialogic ® DM3 voice device<br />

in fixed routing configuration<br />

For information about flexible routing and fixed routing, see the Dialogic ® Voice <strong>API</strong><br />

Programming Guide.<br />

ct_nettype<br />

Specifies the type of network interface for the device [length: 1 (unsigned char)]. Possible<br />

values are:<br />

CT_IPT – IP connectivity<br />

CT_NTANALOG – analog interface. Analog and voice devices on board are handling call<br />

processing<br />

CT_NTT1 – T1 digital network interface<br />

CT_NTE1 – E1 digital network interface<br />

CT_NTMSI – MSI/SC station interface<br />

420 Dialogic ® <strong>Global</strong> <strong>Call</strong> <strong>API</strong> <strong>Library</strong> <strong>Reference</strong> — January 2008<br />

Dialogic Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!