@phone::getDigits
Gets keys input through the phone’s keypad.
Syntax:
@phone::getDigits(int numChars [, int secTimeout [, String stopTones]])
Parameters:
- (Integer) numChars: If this value is zero, only
already entered characters are returned. Otherwise it waits for the requested
number of characters to be input.
- (Integer) secTimeout: specifies maximum number
of seconds to wait for the requested characters. (Optional)
- (String) stopTones: defines keys that will terminate
waiting for additional keys. The default stop tones are not included in the returned result, but if an empty string is specified, the * and # digits are returned. (Optional)
Returns:
String of characters
Example: