From: Joshua Colp Date: Sun, 8 Apr 2007 17:04:44 +0000 (+0000) Subject: Allow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. (issue #9495... X-Git-Tag: 1.4.7.1~461 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=acd37793b1ddbf91371eebbdd399f342321ff976;p=thirdparty%2Fasterisk.git Allow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. (issue #9495 reported by cduffy) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60762 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 49eee515b2..ca492c7584 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2588,7 +2588,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce } if (mixmonapp) { - if (!ast_strlen_zero(monitor_exec) && !ast_strlen_zero(monitor_options)) + if (!ast_strlen_zero(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);