aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-xapps/app_voicemail.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 2d33d55ef..c65d504b1 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -158,8 +158,8 @@ struct baseio {
/* Structure for linked list of users */
struct ast_vm_user {
- char context[80]; /* Voicemail context */
- char mailbox[80]; /* Mailbox id, unique within vm context */
+ char context[AST_MAX_CONTEXT]; /* Voicemail context */
+ char mailbox[AST_MAX_EXTENSION];/* Mailbox id, unique within vm context */
char password[80]; /* Secret pin code, numbers only */
char fullname[80]; /* Full name, for directory app */
char email[80]; /* E-mail address */
@@ -321,9 +321,9 @@ static struct ast_flags globalflags = {0};
static int saydurationminfo;
-static char dialcontext[80];
-static char callcontext[80];
-static char exitcontext[80];
+static char dialcontext[AST_MAX_CONTEXT];
+static char callcontext[AST_MAX_CONTEXT];
+static char exitcontext[AST_MAX_CONTEXT];
static char cidinternalcontexts[MAX_NUM_CID_CONTEXTS][64];