...
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 |
---|
title | Example: Wait for half a second of silence, twice |
---|
linenumbers | true |
---|
|
same => n,WaitForSilence( |
...
Code Block |
---|
title | Example: Wait for one second of silence, once |
---|
linenumbers | true |
---|
|
same => n,WaitForSilence( |
...
Code Block |
---|
title | Example: Wait for 300 ms of silence, 3 times, and returns after 10 |
---|
|
...
seconds, even if no silence |
|
...
|
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