mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 12:25:35 +00:00
Merge "app_queue: Added initialization for "context" parameter" into 13
This commit is contained in:
@@ -2646,6 +2646,9 @@ static void init_queue(struct call_queue *q)
|
|||||||
q->retry = DEFAULT_RETRY;
|
q->retry = DEFAULT_RETRY;
|
||||||
q->timeout = DEFAULT_TIMEOUT;
|
q->timeout = DEFAULT_TIMEOUT;
|
||||||
q->maxlen = 0;
|
q->maxlen = 0;
|
||||||
|
|
||||||
|
ast_string_field_set(q, context, "");
|
||||||
|
|
||||||
q->announcefrequency = 0;
|
q->announcefrequency = 0;
|
||||||
q->minannouncefrequency = DEFAULT_MIN_ANNOUNCE_FREQUENCY;
|
q->minannouncefrequency = DEFAULT_MIN_ANNOUNCE_FREQUENCY;
|
||||||
q->announceholdtime = 1;
|
q->announceholdtime = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user