From 2705394aeb4c4c19168a584f3e7962fea0042937 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Fri, 7 Nov 2003 06:31:55 +0000 Subject: [PATCH] Fix more typos git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1706 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail2.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index a6487b9436..9921c00bc2 100755 --- a/apps/app_voicemail2.c +++ b/apps/app_voicemail2.c @@ -1387,7 +1387,6 @@ static int adsi_load_vmail(struct ast_channel *chan, int *useadsi) bytes += adsi_display(buf + bytes, ADSI_COMM_PAGE, 3, ADSI_JUST_CENT, 0, "Load Cancelled.", ""); bytes += adsi_display(buf + bytes, ADSI_COMM_PAGE, 4, ADSI_JUST_CENT, 0, "ADSI Unavailable", ""); bytes += adsi_set_line(buf + bytes, ADSI_COMM_PAGE, 1); - bytes += adsi_voice_mode(buf + bytes, 0); bytes += adsi_voice_mode(buf + bytes, 0); adsi_transmit_message(chan, buf, bytes, ADSI_MSG_DISPLAY); return 0; @@ -1547,8 +1546,6 @@ static void adsi_password(struct ast_channel *chan) keys[x] = 0; /* Set one key for next */ keys[3] = ADSI_KEY_APPS + 3; - bytes += adsi_voice_mode(buf + bytes, 0); - bytes += adsi_set_line(buf + bytes, ADSI_COMM_PAGE, 1); bytes += adsi_input_format(buf + bytes, 1, ADSI_DIR_FROM_LEFT, 0, "Password: ******", ""); @@ -1631,8 +1628,6 @@ static void adsi_message(struct ast_channel *chan, char *folder, int msg, int la for (x=0;x<5;x++) keys[x] = ADSI_KEY_SKT | (ADSI_KEY_APPS + 6 + x); keys[6] = 0x0; - bytes += adsi_voice_mode(buf + bytes, 0); - keys[7] = 0x0; if (!msg) { @@ -1660,7 +1655,6 @@ static void adsi_message(struct ast_channel *chan, char *folder, int msg, int la name = "Unknown Caller"; /* If deleted, show "undeleted" */ - bytes += adsi_voice_mode(buf + bytes, 0); if (deleted) keys[1] = ADSI_KEY_SKT | (ADSI_KEY_APPS + 11);