int sm_vmptx_create_toneset(struct sm_vmptx_create_toneset_parms *tonesetp)
typedef struct sm_vmptx_create_toneset_parms {
tSMVMPTxToneSet *toneset; /* in */
tSMModuleId module; /* in */
tSMVMPTxToneSetId tone_set_id; /* out */
} SM_VMPTX_CREATE_TONESET_PARMS;
Configures the tones to be detected for use in rfc 2833. A tones set containing all the DTMF tones is included in the API, it is called kSMVMPTxDefaultToneSet.
This requires the module td to have been downloaded.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.