




8.1. Basic Voice Mail Operation
Each state function within the voice mail part of the application performs the same basic activities:
- Waits for an IP and Voice Resource event.
- Uses dx_play( ) to play the appropriate menu. TDX_PLAY termination events will be generated to indicate completion.
After getting the TDX_PLAY event, the application calls ATDX_TERMMSK(chdev) to check the termination reason. It may be either TM_EOD (end of data/file) or TM_MAXDTMF (user pressed digit/s as determined by the TPT -- Termination Parameter Table).
- If TM_EOD, then play the relevant menu again.
- If TM_MAXDTMF, then collect the DTMF from the digit buffer.
- Uses dx_rec( ) to record a file. TDX_RECORD termination events will be generated to indicate completion.
- Calls dx_getdig( ) to collect the DTMF tone(s) from the digit buffer. TDX_GETDIG termination event will be generated to indicate completion.
- Calls dx_clrdigbuf( ) to clear all digits in the channel's firmware digit buffer.
- Calls dx_clrtpt( ) to clear the Table Parameter Termination (TPT) structure.





Click here to contact Telecom Support Resources
Copyright 2002, Intel Corporation
All rights reserved
This page generated September, 2002