summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2007-10-16 22:54:37 +0000
committerMark Michelson <mmichelson@digium.com>2007-10-16 22:54:37 +0000
commitc438d76551b3102b7c5697fa6ab03ab66ee9694c (patch)
treed42648f987b741c7deb20d9579c87b258dd369dd /apps
parentfa347f7d5f829a79dedd635cbc69d1ec86451ab5 (diff)
Removed the monitor-join option. If one wishes to mix audio, they should instead use
monitor-type=mixmonitor. (related to issue #10885) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 4c2814241..d6341d36e 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -360,7 +360,6 @@ struct call_queue {
char moh[80]; /*!< Music On Hold class to be used */
char announce[80]; /*!< Announcement to play when call is answered */
char context[AST_MAX_CONTEXT]; /*!< Exit context */
- unsigned int monjoin:1;
unsigned int dead:1;
unsigned int joinempty:2;
unsigned int eventwhencalled:2;
@@ -968,8 +967,6 @@ static void queue_set_param(struct call_queue *q, const char *param, const char
q->setqueuevar = ast_true(val);
} else if (!strcasecmp(param, "setqueueentryvar")) {
q->setqueueentryvar = ast_true(val);
- } else if (!strcasecmp(param, "monitor-join")) {
- q->monjoin = ast_true(val);
} else if (!strcasecmp(param, "monitor-format")) {
ast_copy_string(q->monfmt, val, sizeof(q->monfmt));
} else if (!strcasecmp(param, "membermacro")) {
@@ -2879,8 +2876,6 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
snprintf(tmpid, sizeof(tmpid), "chan-%lx", ast_random());
ast_monitor_start(which, qe->parent->monfmt, tmpid, 1, X_REC_IN | X_REC_OUT);
}
- if (qe->parent->monjoin)
- ast_monitor_setjoinfiles(which, 1);
} else {
ast_debug(1, "Starting MixMonitor as requested.\n");
monitorfilename = pbx_builtin_getvar_helper(qe->chan, "MONITOR_FILENAME");