aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-02 21:26:11 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-02 21:26:11 +0000
commit4659121e98354d9f8f496bd060db0e79e5bdd7dc (patch)
tree930fd4100cd0b1a9c5af7608ef246f840c7a3f54
parent908dc1d6510a0e6df9c2d36db5ed97cb7a28e2bf (diff)
Allow the pipe, but also allow the comma
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@280671 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index b8b7889b3..122f92a87 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));