Before performing any operation on a fax channel device, open the device using fx_open( ).
The fx_open( ) function returns a unique Dialogic device handle for that particular open process on that channel. The Dialogic channel device handle is referred to as dev:
int dev; dev = fx_open(channel_name,mode)
To use a fax library function on the channel, you must identify the channel with its Dialogic channel device handle, dev. The channel name is used only when opening a channel, and all actions thereafter must use the handle dev.
You can open and use a fax channel without ever opening the board it is on. No board-channel hierarchy is imposed by the driver.
In applications which create child processes from a parent process, device handles are not inheritable from the parent process to the child process. Make sure that devices are opened in the child process.
Both the voice and fax channel need to be open for fax resource capability.
The Dialogic voice driver supports specific fax library functions with synchronous/asynchronous modes of operation.
Click here to contact Dialogic Customer Engineering
Copyright 2002, Intel Corporation