Asterisk - The Open Source Telephony Project GIT-master-7e7a603
Data Fields
call_queue Struct Reference
Collaboration diagram for call_queue:
Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
const ast_string_field announce
 
unsigned int announce_to_first_user:1
 
int announcefrequency
 
unsigned int announceholdtime:2
 
unsigned int announceposition:3
 
unsigned int announceposition_only_up:1
 
int announcepositionlimit
 
int autofill
 
int autopause
 
unsigned int autopausebusy:1
 
int autopausedelay
 
unsigned int autopauseunavail:1
 
int callsabandoned
 
int callsabandonedinsl
 
int callscompleted
 
int callscompletedinsl
 
const ast_string_field context
 
int count
 
unsigned int dead:1
 
const ast_string_field defaultrule
 
unsigned int found:1
 
struct queue_enthead
 
int holdtime
 
enum empty_conditions joinempty
 
enum empty_conditions leavewhenempty
 
struct {
   struct call_queue *   next
 
list
 
int maxlen
 
int memberdelay
 
const ast_string_field membergosub
 
struct ao2_containermembers
 
int minannouncefrequency
 
const ast_string_field moh
 
char monfmt [8]
 
const ast_string_field name
 
int numperiodicannounce
 
int penaltymemberslimit
 
int periodicannouncefrequency
 
int periodicannouncestartdelay
 
const ast_string_field queue_quantity1
 
const ast_string_field queue_quantity2
 
int randomperiodicannounce
 
unsigned int realtime:1
 
unsigned int relativeperiodicannounce:1
 
unsigned int reportholdtime:1
 
int retry
 
unsigned int ringinuse:1
 
int roundingseconds
 
int rrpos
 
struct {
   struct penalty_rule *   first
 
   struct penalty_rule *   last
 
rules
 
int servicelevel
 
unsigned int setinterfacevar:1
 
unsigned int setqueueentryvar:1
 
unsigned int setqueuevar:1
 
const ast_string_field sound_callerannounce
 
const ast_string_field sound_calls
 
const ast_string_field sound_holdtime
 
const ast_string_field sound_minute
 
const ast_string_field sound_minutes
 
const ast_string_field sound_next
 
struct ast_strsound_periodicannounce [MAX_PERIODIC_ANNOUNCEMENTS]
 
const ast_string_field sound_reporthold
 
const ast_string_field sound_seconds
 
const ast_string_field sound_thanks
 
const ast_string_field sound_thereare
 
int strategy:4
 
int talktime
 
int timeout
 
int timeoutpriority
 
unsigned int timeoutrestart:1
 
int weight
 
unsigned int wrapped:1
 
int wrapuptime
 

Detailed Description

Definition at line 1791 of file app_queue.c.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 1829 of file app_queue.c.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Queue name

Music on Hold class

Announcement to play when call is answered

Exit context

Gosub to run upon member connection

Default rule to use if none specified in call to Queue()

Sound file: "Your call is now first in line" (def. queue-youarenext)

Sound file: "There are currently" (def. queue-thereare)

Sound file: "calls waiting to speak to a representative." (def. queue-callswaiting)

Sound file: "Currently there are more than" (def. queue-quantity1)

Sound file: "callers waiting to speak with a representative" (def. queue-quantity2)

Sound file: "The current estimated total holdtime is" (def. queue-holdtime)

Sound file: "minutes." (def. queue-minutes)

Sound file: "minute." (def. queue-minute)

Sound file: "seconds." (def. queue-seconds)

Sound file: "Thank you for your patience." (def. queue-thankyou)

Sound file: Custom announce for caller, no default

Sound file: "Hold time" (def. queue-reporthold)

Definition at line 1829 of file app_queue.c.

◆ announce

const ast_string_field announce

Definition at line 1829 of file app_queue.c.

Referenced by join_queue().

◆ announce_to_first_user

unsigned int announce_to_first_user

Whether or not we announce to the first user in a queue

Definition at line 1834 of file app_queue.c.

Referenced by init_queue(), queue_exec(), and queue_set_param().

◆ announcefrequency

int announcefrequency

How often to announce their position

Definition at line 1853 of file app_queue.c.

Referenced by init_queue(), queue_exec(), queue_set_param(), say_position(), and wait_our_turn().

◆ announceholdtime

unsigned int announceholdtime

Definition at line 1841 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and say_position().

◆ announceposition

unsigned int announceposition

Definition at line 1842 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and say_position().

◆ announceposition_only_up

unsigned int announceposition_only_up

Only announce position if it has improved

Definition at line 1843 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and say_position().

◆ announcepositionlimit

int announcepositionlimit

How many positions we announce?

Definition at line 1852 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and say_position().

◆ autofill

int autofill

Ignore the head call status and ring an available agent

Definition at line 1883 of file app_queue.c.

Referenced by init_queue(), is_our_turn(), num_available_members(), and queue_set_param().

◆ autopause

int autopause

Auto pause queue members if they fail to answer

Definition at line 1876 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and rna().

◆ autopausebusy

unsigned int autopausebusy

Definition at line 1848 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and wait_for_answer().

◆ autopausedelay

int autopausedelay

Delay auto pause for autopausedelay seconds since last call

Definition at line 1877 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and rna().

◆ autopauseunavail

unsigned int autopauseunavail

Definition at line 1849 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and wait_for_answer().

◆ callsabandoned

int callsabandoned

◆ callsabandonedinsl

int callsabandonedinsl

Number of queue calls abandoned in servicelevel

Definition at line 1864 of file app_queue.c.

Referenced by clear_queue(), manager_queues_status(), print_queue(), and record_abandoned().

◆ callscompleted

int callscompleted

◆ callscompletedinsl

int callscompletedinsl

Number of calls answered with servicelevel

Definition at line 1866 of file app_queue.c.

Referenced by clear_queue(), manager_queues_status(), print_queue(), queue_function_var(), qupd_exec(), set_queue_variables(), and update_queue().

◆ context

const ast_string_field context

Definition at line 1829 of file app_queue.c.

Referenced by join_queue().

◆ count

int count

◆ dead

unsigned int dead

Definition at line 1832 of file app_queue.c.

Referenced by find_queue_by_name_rt(), init_queue(), kill_if_unfound(), and leave_queue().

◆ defaultrule

const ast_string_field defaultrule

Definition at line 1829 of file app_queue.c.

Referenced by copy_rules().

◆ first

struct penalty_rule* first

Definition at line 1888 of file app_queue.c.

◆ found

unsigned int found

◆ head

struct queue_ent* head

◆ holdtime

int holdtime

Current avg holdtime, based on an exponential average

Definition at line 1860 of file app_queue.c.

Referenced by clear_queue(), manager_queues_status(), manager_queues_summary(), print_queue(), queue_function_var(), recalc_holdtime(), say_position(), and set_queue_variables().

◆ joinempty

enum empty_conditions joinempty

Definition at line 1850 of file app_queue.c.

Referenced by init_queue(), join_queue(), and queue_set_param().

◆ last

struct penalty_rule* last

Definition at line 1888 of file app_queue.c.

◆ leavewhenempty

enum empty_conditions leavewhenempty

Definition at line 1851 of file app_queue.c.

Referenced by init_queue(), queue_exec(), queue_set_param(), and wait_our_turn().

◆ 

struct { ... } list

Next call queue

Referenced by word_in_list().

◆ maxlen

int maxlen

◆ memberdelay

int memberdelay

Seconds to delay connecting member to caller

Definition at line 1882 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and try_calling().

◆ membergosub

const ast_string_field membergosub

Definition at line 1829 of file app_queue.c.

Referenced by try_calling().

◆ members

struct ao2_container* members

◆ minannouncefrequency

int minannouncefrequency

The minimum number of seconds between position announcements (def. 15)

Definition at line 1854 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and say_position().

◆ moh

const ast_string_field moh

Definition at line 1829 of file app_queue.c.

Referenced by join_queue().

◆ monfmt

char monfmt[8]

Format to use when recording calls

Definition at line 1867 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), setup_mixmonitor(), and try_calling().

◆ name

const ast_string_field name

◆ next

struct call_queue* next

Definition at line 1887 of file app_queue.c.

◆ numperiodicannounce

int numperiodicannounce

The number of periodic announcements configured

Definition at line 1857 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and say_periodic_announcement().

◆ penaltymemberslimit

int penaltymemberslimit

Disregard penalty when queue has fewer than this many members

Definition at line 1871 of file app_queue.c.

Referenced by calc_metric(), init_queue(), and queue_set_param().

◆ periodicannouncefrequency

int periodicannouncefrequency

How often to play periodic announcement

Definition at line 1856 of file app_queue.c.

Referenced by init_queue(), queue_exec(), queue_set_param(), say_periodic_announcement(), and wait_our_turn().

◆ periodicannouncestartdelay

int periodicannouncestartdelay

How long into the queue should the periodic accouncement start

Definition at line 1855 of file app_queue.c.

Referenced by init_queue(), queue_exec(), and queue_set_param().

◆ queue_quantity1

const ast_string_field queue_quantity1

Definition at line 1829 of file app_queue.c.

Referenced by say_position().

◆ queue_quantity2

const ast_string_field queue_quantity2

Definition at line 1829 of file app_queue.c.

Referenced by say_position().

◆ randomperiodicannounce

int randomperiodicannounce

Are periodic announcments randomly chosen

Definition at line 1858 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and say_periodic_announcement().

◆ realtime

unsigned int realtime

◆ relativeperiodicannounce

unsigned int relativeperiodicannounce

Definition at line 1847 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and say_periodic_announcement().

◆ reportholdtime

unsigned int reportholdtime

Definition at line 1838 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and try_calling().

◆ retry

int retry

Retry calling everyone after this amount of time

Definition at line 1873 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and wait_a_bit().

◆ ringinuse

unsigned int ringinuse

◆ roundingseconds

int roundingseconds

How many seconds do we round to?

Definition at line 1859 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and say_position().

◆ rrpos

int rrpos

◆ 

struct { ... } rules

The list of penalty rules to invoke

Referenced by init_queue().

◆ servicelevel

int servicelevel

◆ setinterfacevar

unsigned int setinterfacevar

Definition at line 1835 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and try_calling().

◆ setqueueentryvar

unsigned int setqueueentryvar

Definition at line 1837 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and try_calling().

◆ setqueuevar

unsigned int setqueuevar

Definition at line 1836 of file app_queue.c.

Referenced by init_queue(), queue_function_var(), queue_set_param(), and set_queue_variables().

◆ sound_callerannounce

const ast_string_field sound_callerannounce

Definition at line 1829 of file app_queue.c.

Referenced by try_calling().

◆ sound_calls

const ast_string_field sound_calls

Definition at line 1829 of file app_queue.c.

Referenced by say_position().

◆ sound_holdtime

const ast_string_field sound_holdtime

Definition at line 1829 of file app_queue.c.

Referenced by say_position().

◆ sound_minute

const ast_string_field sound_minute

Definition at line 1829 of file app_queue.c.

Referenced by say_position().

◆ sound_minutes

const ast_string_field sound_minutes

Definition at line 1829 of file app_queue.c.

Referenced by say_position(), and try_calling().

◆ sound_next

const ast_string_field sound_next

Definition at line 1829 of file app_queue.c.

Referenced by say_position().

◆ sound_periodicannounce

struct ast_str* sound_periodicannounce[MAX_PERIODIC_ANNOUNCEMENTS]

Sound files: Custom announce, no default

Definition at line 1831 of file app_queue.c.

Referenced by destroy_queue(), init_queue(), queue_set_param(), and say_periodic_announcement().

◆ sound_reporthold

const ast_string_field sound_reporthold

Definition at line 1829 of file app_queue.c.

Referenced by try_calling().

◆ sound_seconds

const ast_string_field sound_seconds

Definition at line 1829 of file app_queue.c.

Referenced by say_position(), and try_calling().

◆ sound_thanks

const ast_string_field sound_thanks

Definition at line 1829 of file app_queue.c.

Referenced by say_position().

◆ sound_thereare

const ast_string_field sound_thereare

Definition at line 1829 of file app_queue.c.

Referenced by say_position().

◆ strategy

int strategy

◆ talktime

int talktime

Current avg talktime, based on the same exponential average

Definition at line 1861 of file app_queue.c.

Referenced by clear_queue(), manager_queues_status(), manager_queues_summary(), print_queue(), queue_function_var(), qupd_exec(), set_queue_variables(), and update_queue().

◆ timeout

int timeout

How long to wait for an answer

Definition at line 1874 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and try_calling().

◆ timeoutpriority

int timeoutpriority

Do we allow a fraction of the timeout to occur for a ring?

Definition at line 1878 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and try_calling().

◆ timeoutrestart

unsigned int timeoutrestart

Definition at line 1840 of file app_queue.c.

Referenced by init_queue(), queue_set_param(), and wait_for_answer().

◆ weight

int weight

◆ wrapped

unsigned int wrapped

Definition at line 1839 of file app_queue.c.

Referenced by calc_metric(), and store_next_rr().

◆ wrapuptime

int wrapuptime

Wrapup Time

Definition at line 1870 of file app_queue.c.

Referenced by get_wrapuptime(), init_queue(), and queue_set_param().


The documentation for this struct was generated from the following file: