This function is only in Preliminary Documentation.
int sm_fmprx_create(struct sm_fmprx_create_parms *fmprxp)
typedef struct sm_fmprx_create_parms {
tSMFMPrxId fmprx; /* out */
tSMModuleId module; /* in */
struct in_addr address; /* in */
} SM_FMPRX_CREATE_PARMS;
Allocates, on a specific module, a new FMP[rx] to receive incoming T.38 data. If the call completes successfully, the parameter fmprx will be set to the identifier for that fmprx.
A FMP[rx] is automatically allocated a port number for incoming RTP data, this information may be obtained by waiting for sm_fmprx_status() to return the port information. The FMP[rx] will discard any incoming packets that do not match it's current configuration settings.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody FMP processing API.