mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Handle timing file descriptor properly with agents
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -817,7 +817,6 @@ static int try_calling(struct queue_ent *qe, char *options, char *announceoverri
|
||||
res2 = ast_autoservice_start(qe->chan);
|
||||
if (!res2)
|
||||
res2 = ast_streamfile(peer, announce, peer->language);
|
||||
/* XXX Need a function to wait on *both* streams XXX */
|
||||
if (!res2)
|
||||
res2 = ast_waitstream(peer, "");
|
||||
res2 |= ast_autoservice_stop(qe->chan);
|
||||
|
Reference in New Issue
Block a user