Synopsis
Wait for Ring Application."This application can help with phantom ringing caused by a noisy FXO line."
(quote taken from the dev mailinglist, stated in a conversation between Marius Stankevičius and Eric "ManxPower" Wieling on 03/26/2007)
Description
WaitForRing(timeout)Waits a maximum of timeout seconds for a ring signal, which is only treated as valid until the second ring has completed.
Example
exten => 123,1,Answer()exten => 123,n,WaitForRing(5)
exten => 123,n,SendDTMF(1234)
See also
- Wait
- WaitForSilence: Useful for example to leave a message on an answering machine/mailbox
- Asterisk cmd WaitForNoise
- Ringing
- SendDTMF
- BackgroundDetect
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ