You could use Timeout function. Like this: 1)Timeout(digit): max interval time between digits in DTMF. 2)Timeout(response): max time wait for autofallthrough.