Prosody FMP processing: API: sm_fmptx_create

Prototype Definition

int sm_fmptx_create(struct sm_fmptx_create_parms *fmptxp)

Parameters

*fmptxp
a structure of the following type:
typedef struct sm_fmptx_create_parms {
	tSMFMPtxId fmptx;					/* out */
	tSMModuleId module;					/* in */
} SM_FMPTX_CREATE_PARMS;

Description

Allocates, on a specific module, a new FMP[tx] to transmit T.38 data to a remote device.

If the call completes successfully, the parameter fmptx will be set to the identifier for that FMP[tx].

Requires the module fmptx to have been downloaded.

Fields

fmptx
The newly created FMP[tx].
module
A value obtained from sm_open_module() which indicates the module where the FMP[tx] is to be allocated.

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody FMP processing API.