mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
Make ZapScan wait 100ms for data
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -256,6 +256,8 @@ static int conf_exec(struct ast_channel *chan, void *data)
|
||||
ast_answer(chan);
|
||||
|
||||
for (;;) {
|
||||
if (ast_waitfor(chan, 100) < 0)
|
||||
break;
|
||||
f = ast_read(chan);
|
||||
if (!f)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user