GetTouchTonesAsync method
This is the asynchronous form of the
GetTouchTones method. Please see that topic for a discussion of how to use this method. The only
difference is that line status is returned as the completion code in the AsyncCmdDone event for this asynchronous method (in the synchronous form, line status is
returned in a calling argument).
Any touch-tones collected by this method are returned in the return string of the
AsyncCmdDone event.
Type
Arguments: MaxTones short integer
InterruptTones BSTR
Returns: A long integer status code (see
ActiveAG Status codes)
Property interactions: This method is sensitive to the
GetTTFirstTimeOut property and the GetTTInterTimeOut property.
Note: This method completes asynchronously. If started successfully, an
AsyncCmdDone event will be fired to your program. When this happens, the CmdCode value in that event will be set to AagConGetTones.