Waits until either a period of silence has been detected or the specified time interval has elapsed.
| C# | Visual Basic | Visual C++ |
This method returns true if the silence was detected or false if the silence was not detected within the specified time interval.
WaitForSilence detects a specified period of silence on the call. This method can be useful if the application makes outgoing calls and needs to wait until the end of answering machine greetings before playing a message.
Please note that the telephony hardware must support hardware silence detection for this method to work. Regular voice modems do not support silence detection.
| Exception | Condition |
|---|---|
| TapiDisconnectException | The call has been disconnected while waiting for silence. |
Assembly: Traysoft.AddTapi (Module: Traysoft.AddTapi)