aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-02 21:26:45 +0000
committerbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-02 21:26:45 +0000
commitd66bfd4fc933f739967ca660623dc92076aca3e1 (patch)
tree7f52e92e0351e5f305102faa13e29ee8ca44415a /apps
parentb14a6878d5c78549074edc1e430344675731ae51 (diff)
I'm baaaaaaaaaack. :)
Post a warning to the console that things might possibly be misconfigured when queue member's states are still 'Not in Use' when we're about to bridge them with a caller from queue. Also, put some documentation quoted from oej's queues.txt efforts started in /trunk today. This commit puts #7433 into feedback state for 1.4, and pending no further negative feedback, it will finally be closed. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53129 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 98223946f..22da470cf 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2637,6 +2637,10 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
ast_copy_string(oldexten, qe->chan->exten, sizeof(oldexten));
time(&callstart);
+ if (member->status == AST_DEVICE_NOT_INUSE)
+ ast_log(LOG_WARNING, "The device state of this queue member, %s, is still 'Not in Use' when it probably should not be! Please check UPGRADE.txt for correct configuration settings.\n", member->membername);
+
+
bridge = ast_bridge_call(qe->chan,peer, &bridge_config);
if (strcasecmp(oldcontext, qe->chan->context) || strcasecmp(oldexten, qe->chan->exten)) {