summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-20 07:32:03 +0000
committerMark Spencer <markster@digium.com>2005-03-20 07:32:03 +0000
commit51226db44f3b7a0c63966ace7d13e70571848402 (patch)
tree13473520bb97d5cccdc6229ce788ac7eb76d308d
parentd0e9afeb2b94919928ee8e1939db6febe742f264 (diff)
Fix chopping of voice prompts (bug #3784)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xres/res_adsi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_adsi.c b/res/res_adsi.c
index de53871e4..617d7afc5 100755
--- a/res/res_adsi.c
+++ b/res/res_adsi.c
@@ -389,6 +389,8 @@ int adsi_transmit_message(struct ast_channel *chan, unsigned char *msg, int msgl
if (readformat)
ast_set_read_format(chan, readformat);
+ if (!res)
+ res = ast_safe_sleep(chan, 100 );
return res;
}