diff options
Diffstat (limited to 'channels/chan_phone.c')
-rwxr-xr-x | channels/chan_phone.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_phone.c b/channels/chan_phone.c index 83660cdd0..80232c3c8 100755 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -848,9 +848,9 @@ static void *do_monitor(void *data) tv.tv_usec = 30000; tv.tv_sec = 0; } - res = select(n + 1, &rfds, NULL, &efds, &tv); + res = ast_select(n + 1, &rfds, NULL, &efds, &tv); } else { - res = select(n + 1, &rfds, NULL, &efds, NULL); + res = ast_select(n + 1, &rfds, NULL, &efds, NULL); tv.tv_usec = 0; tv.tv_sec = 0; tonepos = 0; |