You didnt specify what timeout option it is you re looking for, dial command also have a timeout option. this one work on the following mode
If no timeout it is specified, the Dial application will wait indefinitely until one of the called channels answers, the user hangs up, or if all of the called channels are busy or unavailable. Dialplan execution will continue if no requested channels can be called, or if the timeout expires
i am referring to the timeout of the read command.
In addition i am familiar with the option of setting the timeout value as mentioned in the comments, what is more intresting me is to create an event when timeout has reached
In the read command i will have a welcome file that says the following:
for sales press 1
for service press 2
for secretary press 0 OR WAIT
the WAIT is the timeout for not pressing anything - and after this timeout i would like to have an event of DIAL to the secretary.