Dialogic Global Call IP Benutzerhandbuch

Seite von 604
546
Dialogic
®
 Global Call API Library Reference — November 2007
Dialogic Corporation
IP_CONNECT — associate a Media device with a T.38 Fax device
IP_CONNECT
associate a Media device with a T.38 Fax device
typedef struct
{
   unsigned short     version;
   int                mediaHandle;
   int                faxHandle;
   eIPConnectType_e   connectType;
} IP_CONNECT;
„ Description
The IP_CONNECT data structure contains information required when associating a Media device 
with a T.38 Fax device required when switching from an audio coder to a T.38 coder and vice 
versa. 
„ Field Descriptions
The fields of the IP_CONNECT data structure are described as follows:
version 
reserved for library use; applications should not manipulate this field. The current version 
number is 0x100.
mediaHandle 
the Media device handle
faxHandle 
the T.38 Fax device handle
connectType 
the connection type. Possible values are: 
IP_FULLDUP 
IP_HALFDUP 
Note:
When disassociating a Media device from a T.38 Fax device, the faxHandle and connectType fields 
are ignored.