beautypg.com

Dialogic 6.2 User Manual

Page 89

background image

Developing a Fax Application

November 2009

89

BfvTiffWriteImage(&args_tiff);

args_tiff.ifd_field = &ifd_field;

while (determine_next_ifd(&ifd_field) > 0 &&

BfvTiffWriteIFD(&args_tiff) == 0);

args_tiff.ifd_field = NULL

BfvTiffWriteIFD(&args_tiff);

args_tiff.tp = tp;

BfvTiffClose(&args_tiff);

}

Determining Fax Status Information from an Application

An in-progress fax transmission or reception has a number of

attributes that an application might find useful to access. The

application can use this information, for example, to update a fax

status information screen.

The information available to an application includes:

„

Remote Fax Node Parameters

Š

Remote ID string

Š

Remote NSF/NSC/NSS

Š

Remote SSP/PWD/SUB

„

Transfer Mode

Š

Transmitting

Š

Receiving

„

Current Page Transmission Parameters

Š

Bit rate

Š

Scan time

Š

ECM mode

Š

Compression format

Š

Resolution

Š

Width

This section explains how an application can access this information.

Remote Fax Node Parameters

The BfvFaxGetRemoteInfo

returns the remote ID, remote NSF/NSC/NSS values, and remote

SSP/PWD/SUB values to the application.