app_queue.c: Remove dead 'updatecdr' code.

Also removed the sample documentation, and some oddly-placed
documentation about the timeout argument to the Queue() application
itself. There is a large section on the timeout behavior below.

ASTERISK-26614 #close

Change-Id: I8f84e8304b50305b7c4cba2d9787a5d77c3a6217
This commit is contained in:
Sean Bright
2021-03-23 16:15:45 -04:00
committed by Joshua Colp
parent cad843fe07
commit aac442eecd
2 changed files with 0 additions and 20 deletions

View File

@@ -1483,9 +1483,6 @@ static int realtime_rules;
/*! \brief Subscription to device state change messages */
static struct stasis_subscription *device_state_sub;
/*! \brief queues.conf [general] option */
static int update_cdr;
/*! \brief queues.conf [general] option */
static int negative_penalty_invalid;
@@ -9206,7 +9203,6 @@ static void queue_reset_global_params(void)
queue_persistent_members = 0;
autofill_default = 0;
montype_default = 0;
update_cdr = 0;
shared_lastcall = 0;
negative_penalty_invalid = 0;
log_membername_as_agent = 0;
@@ -9226,9 +9222,6 @@ static void queue_set_global_params(struct ast_config *cfg)
if (!strcasecmp(general_val, "mixmonitor"))
montype_default = 1;
}
if ((general_val = ast_variable_retrieve(cfg, "general", "updatecdr"))) {
update_cdr = ast_true(general_val);
}
if ((general_val = ast_variable_retrieve(cfg, "general", "shared_lastcall"))) {
shared_lastcall = ast_true(general_val);
}