Files
asterisk/apps
Igor Goncharovsky 140c6484a8 app_waitforsilence.c: Use milliseconds to calculate timeout time
The functions WaitForNoise() and WaitForSilence() use the time()
functions to calculate elapsed time, which causes the timer to fire on
a whole second boundary, and the actual function execution time to fire
the timer may be 1 second less than expected. This fix replaces time()
with ast_tvnow().

Fixes: #1401
(cherry picked from commit e6ade6ddbd)
2025-09-17 14:04:27 -06:00
..
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-05-01 12:39:48 +00:00
2025-05-01 12:39:48 +00:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-09-17 14:03:00 -06:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-05-01 12:39:48 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00
2025-03-20 18:18:28 +00:00