diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-11-06 23:55:12 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-11-06 23:55:12 +0000 |
commit | 0f7c6b2bcee3fa48dc2cefd3b45e9c6b5439179e (patch) | |
tree | 53708e8822313784c6594edf25322c2fcec16c6f /apps | |
parent | 4bb2529d1f6a6f40aaa3fa4ee41675d2953b7929 (diff) |
Minor fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1702 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_voicemail2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index a54efac35..3cdf23984 100755 --- 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; } |