int sm_play_vmwi_fsk(struct sm_play_vmwi_fsk *parms)
typedef struct sm_play_vmwi_fsk { tSMChannelId channel; /* in */ tSM_INT do_on_hook; /* in */ tSM_INT is_sdmf_message; /* in */ tSM_INT is_indicator_on_message; /* in */ } SM_PLAY_VMWI_FSK;
This function generates a Visual Message Waiting Indicator (VMWI) message. The message is sent in an FSK transmission at 1200 bits per second, using 1200 Hz for mark, 2200 Hz for space, and a power level of -13dBm0.
This function is intended to be used immediately after sm_play_sas_cas() has sent the SAS and CAS portion of the message.
Since this function uses the standard Prosody data communications API to generate the signal, the end of the signal is reported by smdc_line_status() which can be monitored by waiting on the write event.
This function requires the firmware modules asytx, fsktx, outchan, and prefsuf to have been downloaded.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody ADSI library API.