From: Russell Bryant Date: Fri, 21 Sep 2007 18:27:56 +0000 (+0000) Subject: Update app_queue to use commas as application argument separators. X-Git-Tag: 1.6.0-beta1~3^2~1341 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e5c12bcf62e2fa2fed6a00cf2c0dcda2b08f5edc;p=thirdparty%2Fasterisk.git Update app_queue to use commas as application argument separators. (closes issue #10793, snar) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83483 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index ce6f54e664..bcf3350757 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2907,9 +2907,9 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce if (mixmonapp) { if (!ast_strlen_zero(monitor_exec)) - snprintf(mixmonargs, sizeof(mixmonargs)-1, "%s|b%s|%s", tmpid2, monitor_options, monitor_exec); + snprintf(mixmonargs, sizeof(mixmonargs)-1, "%s,b%s,%s", tmpid2, monitor_options, monitor_exec); else - snprintf(mixmonargs, sizeof(mixmonargs)-1, "%s|b%s", tmpid2, monitor_options); + snprintf(mixmonargs, sizeof(mixmonargs)-1, "%s,b%s", tmpid2, monitor_options); ast_debug(1, "Arguments being passed to MixMonitor: %s\n", mixmonargs); /* We purposely lock the CDR so that pbx_exec does not update the application data */