From 81fe0bf8b531b0f01f5c6dcda25a78c0a29e69d3 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 2 Aug 2010 21:26:11 +0000 Subject: [PATCH] Allow the pipe, but also allow the comma git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@280671 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index b8b7889b31..122f92a878 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -11215,7 +11215,7 @@ static int load_config(int reload) if ((z = ast_malloc(sizeof(*z)))) { char *msg_format, *tzone; msg_format = ast_strdupa(var->value); - tzone = strsep(&msg_format, "|"); + tzone = strsep(&msg_format, "|,"); if (msg_format) { ast_copy_string(z->name, var->name, sizeof(z->name)); ast_copy_string(z->timezone, tzone, sizeof(z->timezone)); -- 2.47.2