Skip to content
Snippets Groups Projects
Commit 9d8952f3 authored by James Golovich's avatar James Golovich
Browse files

Make ZapScan wait 100ms for data

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 51f00449
No related branches found
No related tags found
No related merge requests found
...@@ -256,6 +256,8 @@ static int conf_exec(struct ast_channel *chan, void *data) ...@@ -256,6 +256,8 @@ static int conf_exec(struct ast_channel *chan, void *data)
ast_answer(chan); ast_answer(chan);
for (;;) { for (;;) {
if (ast_waitfor(chan, 100) < 0)
break;
f = ast_read(chan); f = ast_read(chan);
if (!f) if (!f)
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment