projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f518e71
)
Minor fixes
author
Mark Spencer
<markster@digium.com>
Thu, 6 Nov 2003 23:55:12 +0000
(23:55 +0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 6 Nov 2003 23:55:12 +0000
(23:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1702
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_voicemail2.c
patch
|
blob
|
history
diff --git
a/apps/app_voicemail2.c
b/apps/app_voicemail2.c
index
a54efac
..
3cdf239
100755
(executable)
--- a/
apps/app_voicemail2.c
+++ b/
apps/app_voicemail2.c
@@
-1466,6
+1466,7
@@
static int adsi_load_vmail(struct ast_channel *chan, int *useadsi)
}
bytes = 0;
bytes += adsi_download_disconnect(buf + bytes);
+ bytes += adsi_voice_mode(buf + bytes, 0);
adsi_transmit_message(chan, buf, bytes, ADSI_MSG_DOWNLOAD);
ast_log(LOG_DEBUG, "Done downloading scripts...\n");
@@
-1503,8
+1504,6
@@
static void adsi_begin(struct ast_channel *chan, int *useadsi)
ast_log(LOG_WARNING, "Unable to upload voicemail scripts\n");
return;
}
- bytes += adsi_voice_mode(buf + bytes, 0);
-
} else
*useadsi = 1;
}