Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to GIT-18-20d9158

...

Typically you will want to include two or more calls to WaitForSilence when dealing with an answering machine; first waiting for the spiel to finish, then waiting for the beep, etc.

Examples:

...

Code Block
titleExample: Wait for half a second of silence, twice
linenumberstrue


same => n,WaitForSilence(

...

500,2)

Code Block
titleExample: Wait for one second of silence, once
linenumberstrue


same => n,WaitForSilence(

...

1000)

Code Block
titleExample: Wait for 300 ms of silence, 3 times, and returns after 10

...

seconds, even if no silence

...

detected
linenumberstrue


same => n,WaitForSilence(300,3,10)

Sets the channel variable WAITSTATUS to one of these values:

...

This documentation was imported from Asterisk Version GIT-18-20d9158