diff options
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index a99b38593..dafbafb8a 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -930,11 +930,11 @@ static void queue_set_param(struct call_queue *q, const char *param, const char else q->announceholdtime = 0; } else if (!strcasecmp(param, "periodic-announce")) { - if (strchr(val, '|')) { + if (strchr(val, ',')) { char *s, *buf = ast_strdupa(val); unsigned int i = 0; - while ((s = strsep(&buf, "|"))) { + while ((s = strsep(&buf, ",|"))) { ast_copy_string(q->sound_periodicannounce[i], s, sizeof(q->sound_periodicannounce[i])); i++; if (i == MAX_PERIODIC_ANNOUNCEMENTS) @@ -3179,7 +3179,7 @@ static void reload_queue_members(void) continue; cur_ptr = queue_data; - while ((member = strsep(&cur_ptr, "|"))) { + while ((member = strsep(&cur_ptr, ",|"))) { if (ast_strlen_zero(member)) continue; |