Name

WaitForRing() — Waits the specified number of seconds for a ring

Synopsis

WaitForRing(timeout)

Waits at least timeout seconds after the next ring has completed.

; wait five seconds for a ring, and then send some DTMF digits
exten => 123,1,Answer()
exten => 123,2,WaitForRing(5)
exten => 123,3,SendDTMF(1234)

See Also

WaitForSilence()