B.135. WaitExten()

Waits for an extension to be dialed.
WaitExten([seconds][,options])
Waits the specified number of seconds for the caller to dial a new extension, then returns 0. Fractions are allowed (for example, 1.5). If no time is specified, the default extension timeout is used.
Option m plays music-on-hold to the caller while waiting for input. The music-on-hold class may be specified in parentheses (e.g. m(rock).
; Wait 10 seconds for an extension:
exten => s,1,Answer()
exten => s,n,Playback(enter-ext-of-person)
exten => s,n,WaitExten(10)

Note

Internal help for this application in Asterisk 1.4:
  -= Info about application 'WaitExten' =- 

[Synopsis]
Waits for an extension to be entered

[Description]
  WaitExten([seconds][|options]): This application waits for the user to enter
a new extension for a specified number of seconds.
  Note that the seconds can be passed with fractions of a second. For example,
'1.5' will ask the application to wait for 1.5 seconds.
  Options:
    m[(x)] - Provide music on hold to the caller while waiting for an extension.
               Optionally, specify the class for music on hold within parenthesis.
diff output to internal help in Asterisk 1.2:
- none -