Public Member Functions | |
AST_DECLARE_STRING_FIELDS (AST_STRING_FIELD(name);AST_STRING_FIELD(moh);AST_STRING_FIELD(announce);AST_STRING_FIELD(context);AST_STRING_FIELD(membermacro);AST_STRING_FIELD(membergosub);AST_STRING_FIELD(defaultrule);AST_STRING_FIELD(sound_next);AST_STRING_FIELD(sound_thereare);AST_STRING_FIELD(sound_calls);AST_STRING_FIELD(queue_quantity1);AST_STRING_FIELD(queue_quantity2);AST_STRING_FIELD(sound_holdtime);AST_STRING_FIELD(sound_minutes);AST_STRING_FIELD(sound_minute);AST_STRING_FIELD(sound_seconds);AST_STRING_FIELD(sound_thanks);AST_STRING_FIELD(sound_callerannounce);AST_STRING_FIELD(sound_reporthold);) | |
Data Fields | |
int | announcefrequency |
unsigned int | announceholdtime:2 |
unsigned int | announceposition:3 |
int | announcepositionlimit |
int | autofill |
int | autopause |
int | callsabandoned |
int | callscompleted |
int | callscompletedinsl |
int | count |
unsigned int | dead:1 |
unsigned int | eventwhencalled:2 |
unsigned int | found:1 |
struct queue_ent * | head |
int | holdtime |
enum empty_conditions | joinempty |
enum empty_conditions | leavewhenempty |
unsigned int | maskmemberstatus:1 |
int | maxlen |
int | memberdelay |
struct ao2_container * | members |
int | minannouncefrequency |
char | monfmt [8] |
int | montype |
int | numperiodicannounce |
int | penaltymemberslimit |
int | periodicannouncefrequency |
int | randomperiodicannounce |
unsigned int | realtime:1 |
unsigned int | relativeperiodicannounce:1 |
unsigned int | reportholdtime:1 |
int | retry |
unsigned int | ringinuse:1 |
int | roundingseconds |
int | rrpos |
int | servicelevel |
unsigned int | setinterfacevar:1 |
unsigned int | setqueueentryvar:1 |
unsigned int | setqueuevar:1 |
struct ast_str * | sound_periodicannounce [MAX_PERIODIC_ANNOUNCEMENTS] |
int | strategy:4 |
int | talktime |
int | timeout |
int | timeoutpriority |
unsigned int | timeoutrestart:1 |
int | weight |
unsigned int | wrapped:1 |
int | wrapuptime |
Definition at line 1083 of file app_queue.c.
AST_DECLARE_STRING_FIELDS | ( | AST_STRING_FIELD(name);AST_STRING_FIELD(moh);AST_STRING_FIELD(announce);AST_STRING_FIELD(context);AST_STRING_FIELD(membermacro);AST_STRING_FIELD(membergosub);AST_STRING_FIELD(defaultrule);AST_STRING_FIELD(sound_next);AST_STRING_FIELD(sound_thereare);AST_STRING_FIELD(sound_calls);AST_STRING_FIELD(queue_quantity1);AST_STRING_FIELD(queue_quantity2);AST_STRING_FIELD(sound_holdtime);AST_STRING_FIELD(sound_minutes);AST_STRING_FIELD(sound_minute);AST_STRING_FIELD(sound_seconds);AST_STRING_FIELD(sound_thanks);AST_STRING_FIELD(sound_callerannounce);AST_STRING_FIELD(sound_reporthold); | ) |
How often to announce their position
Definition at line 1145 of file app_queue.c.
Referenced by init_queue(), queue_exec(), queue_set_param(), say_position(), and wait_our_turn().
unsigned int announceholdtime |
Definition at line 1135 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and say_position().
unsigned int announceposition |
Definition at line 1136 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), queues_data_provider_get_helper(), and say_position().
How many positions we announce?
Definition at line 1144 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and say_position().
int autofill |
Ignore the head call status and ring an available agent
Definition at line 1173 of file app_queue.c.
Referenced by init_queue(), is_our_turn(), num_available_members(), and queue_set_param().
int autopause |
Auto pause queue members if they fail to answer
Definition at line 1167 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and rna().
int callsabandoned |
Number of queue calls abandoned
Definition at line 1154 of file app_queue.c.
Referenced by __queues_show(), clear_queue(), manager_queues_status(), queue_function_var(), record_abandoned(), and set_queue_variables().
int callscompleted |
Number of queue calls completed
Definition at line 1153 of file app_queue.c.
Referenced by __queues_show(), clear_queue(), manager_queues_status(), queue_function_var(), set_queue_variables(), and update_queue().
Number of calls answered with servicelevel
Definition at line 1156 of file app_queue.c.
Referenced by __queues_show(), clear_queue(), manager_queues_status(), queue_function_var(), set_queue_variables(), and update_queue().
int count |
How many entries
Definition at line 1159 of file app_queue.c.
Referenced by __queues_show(), compare_weight(), join_queue(), leave_queue(), manager_queues_status(), queue_function_qac(), queue_function_qac_dep(), queue_function_queuewaitingcount(), queue_function_var(), and set_queue_variables().
unsigned int dead |
Definition at line 1126 of file app_queue.c.
Referenced by find_queue_by_name_rt(), init_queue(), kill_dead_queues(), leave_queue(), and mark_dead_and_unfound().
unsigned int eventwhencalled |
Definition at line 1127 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), ring_entry(), rna(), send_agent_complete(), and try_calling().
unsigned int found |
Definition at line 1140 of file app_queue.c.
Referenced by extension_state_cb(), handle_statechange(), init_queue(), mark_dead_and_unfound(), reload_single_queue(), and remove_members_and_mark_unfound().
Head of the list of callers
Definition at line 1176 of file app_queue.c.
Referenced by __queues_show(), insert_entry(), is_our_turn(), join_queue(), leave_queue(), manager_queues_status(), manager_queues_summary(), and queues_data_provider_get_helper().
int holdtime |
Current avg holdtime, based on an exponential average
Definition at line 1151 of file app_queue.c.
Referenced by __queues_show(), clear_queue(), manager_queues_status(), manager_queues_summary(), queue_function_var(), recalc_holdtime(), say_position(), and set_queue_variables().
Definition at line 1142 of file app_queue.c.
Referenced by init_queue(), join_queue(), and queue_set_param().
Definition at line 1143 of file app_queue.c.
Referenced by init_queue(), queue_exec(), queue_set_param(), and wait_our_turn().
unsigned int maskmemberstatus |
Definition at line 1138 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and update_status().
int maxlen |
Max number of entries
Definition at line 1160 of file app_queue.c.
Referenced by __queues_show(), init_queue(), join_queue(), manager_queues_status(), queue_function_var(), queue_set_param(), and set_queue_variables().
int memberdelay |
Seconds to delay connecting member to caller
Definition at line 1172 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and try_calling().
struct ao2_container* members [read] |
Head of the list of members
Definition at line 1175 of file app_queue.c.
Referenced by __queues_show(), calc_metric(), clear_queue(), compare_weight(), complete_queue_remove_member(), destroy_queue(), dump_queue_members(), extension_state_cb(), find_queue_by_name_rt(), free_members(), get_member_status(), handle_statechange(), init_queue(), interface_exists(), manager_queues_status(), manager_queues_summary(), member_add_to_queue(), member_remove_from_queue(), num_available_members(), queue_delme_members_decrement_followers(), queue_exec(), queue_function_qac(), queue_function_qac_dep(), queue_function_queuememberlist(), queue_member_follower_removal(), queues_data_provider_get_helper(), reload_single_member(), reload_single_queue(), remove_from_queue(), rt_handle_member_record(), try_calling(), update_queue(), and update_realtime_members().
The minimum number of seconds between position announcements (def. 15)
Definition at line 1146 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and say_position().
char monfmt[8] |
Format to use when recording calls
Definition at line 1157 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and try_calling().
int montype |
Monitor type Monitor vs. MixMonitor
Definition at line 1158 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and try_calling().
The number of periodic announcements configured
Definition at line 1148 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and say_periodic_announcement().
Disregard penalty when queue has fewer than this many members
Definition at line 1162 of file app_queue.c.
Referenced by calc_metric(), init_queue(), and queue_set_param().
How often to play periodic announcement
Definition at line 1147 of file app_queue.c.
Referenced by init_queue(), queue_exec(), queue_set_param(), say_periodic_announcement(), and wait_our_turn().
Are periodic announcments randomly chosen
Definition at line 1149 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and say_periodic_announcement().
unsigned int realtime |
Definition at line 1139 of file app_queue.c.
Referenced by __queues_show(), find_queue_by_name_rt(), leave_queue(), load_realtime_queue(), mark_dead_and_unfound(), queues_data_provider_get(), and remove_members_and_mark_unfound().
unsigned int relativeperiodicannounce |
Definition at line 1141 of file app_queue.c.
Referenced by queue_set_param(), and say_periodic_announcement().
unsigned int reportholdtime |
Definition at line 1132 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and try_calling().
int retry |
Retry calling everyone after this amount of time
Definition at line 1164 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and wait_a_bit().
unsigned int ringinuse |
Definition at line 1128 of file app_queue.c.
Referenced by can_ring_entry(), init_queue(), num_available_members(), queue_set_param(), and ring_entry().
int roundingseconds |
How many seconds do we round to?
Definition at line 1150 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and say_position().
int rrpos |
Round Robin - position
Definition at line 1171 of file app_queue.c.
Referenced by calc_metric(), queue_delme_members_decrement_followers(), queue_member_follower_removal(), ring_entry(), and store_next_rr().
int servicelevel |
seconds setting for servicelevel
Definition at line 1155 of file app_queue.c.
Referenced by __queues_show(), init_queue(), manager_queues_status(), queue_function_var(), queue_set_param(), set_queue_variables(), and try_calling().
unsigned int setinterfacevar |
Definition at line 1129 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and try_calling().
unsigned int setqueueentryvar |
Definition at line 1131 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and try_calling().
unsigned int setqueuevar |
Definition at line 1130 of file app_queue.c.
Referenced by init_queue(), queue_function_var(), queue_set_param(), and set_queue_variables().
struct ast_str* sound_periodicannounce[MAX_PERIODIC_ANNOUNCEMENTS] [read] |
Sound files: Custom announce, no default
Definition at line 1125 of file app_queue.c.
Referenced by destroy_queue(), init_queue(), queue_set_param(), and say_periodic_announcement().
int strategy |
Definition at line 1137 of file app_queue.c.
Referenced by __queues_show(), calc_metric(), find_queue_by_name_rt(), init_queue(), manager_queues_status(), num_available_members(), queue_function_var(), queue_set_param(), queues_data_provider_get_helper(), reload_single_queue(), ring_one(), set_queue_variables(), try_calling(), and wait_for_answer().
int talktime |
Current avg talktime, based on the same exponential average
Definition at line 1152 of file app_queue.c.
Referenced by __queues_show(), clear_queue(), manager_queues_status(), manager_queues_summary(), queue_function_var(), set_queue_variables(), and update_queue().
int timeout |
How long to wait for an answer
Definition at line 1165 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and try_calling().
int timeoutpriority |
Do we allow a fraction of the timeout to occur for a ring?
Definition at line 1168 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and try_calling().
unsigned int timeoutrestart |
Definition at line 1134 of file app_queue.c.
Referenced by init_queue(), queue_set_param(), and wait_for_answer().
int weight |
Respective weight
Definition at line 1166 of file app_queue.c.
Referenced by __queues_show(), compare_weight(), init_queue(), load_realtime_queue(), manager_queues_status(), queue_set_param(), and reload_single_queue().
unsigned int wrapped |
Definition at line 1133 of file app_queue.c.
Referenced by calc_metric(), and store_next_rr().
int wrapuptime |
Wrapup Time
Definition at line 1161 of file app_queue.c.
Referenced by can_ring_entry(), get_member_status(), init_queue(), queue_function_qac(), and queue_set_param().