Thu Oct 11 06:44:51 2012

Asterisk developer's documentation


call_queue Struct Reference

Collaboration diagram for call_queue:

Collaboration graph
[legend]

Data Fields

char announce [80]
int announcefrequency
unsigned int announceholdtime:2
int autofill
int autopause
int callsabandoned
int callscompleted
int callscompletedinsl
char context [AST_MAX_CONTEXT]
int count
unsigned int dead:1
unsigned int eventwhencalled:2
unsigned int found:1
struct queue_enthead
int holdtime
unsigned int joinempty:2
unsigned int leavewhenempty:2
struct {
   struct call_queue *   next
list
unsigned int maskmemberstatus:1
int maxlen
int membercount
 Number of members _logged in_.
int memberdelay
struct ao2_containermembers
char moh [80]
char monfmt [8]
unsigned int monjoin:1
int montype
char name [80]
int periodicannouncefrequency
unsigned int realtime:1
unsigned int reportholdtime:1
int retry
unsigned int ringinuse:1
int roundingseconds
int rrpos
int servicelevel
unsigned int setinterfacevar:1
char sound_calls [80]
char sound_holdtime [80]
char sound_lessthan [80]
char sound_minutes [80]
char sound_next [80]
char sound_periodicannounce [MAX_PERIODIC_ANNOUNCEMENTS][80]
char sound_reporthold [80]
char sound_seconds [80]
char sound_thanks [80]
char sound_thereare [80]
int strategy:4
int timeout
unsigned int timeoutrestart:1
int weight
unsigned int wrapped:1
int wrapuptime

Detailed Description

Definition at line 389 of file app_queue.c.


Field Documentation

char announce[80]

Announcement to play when call is answered

Definition at line 392 of file app_queue.c.

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

How often to announce their position

Definition at line 409 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 404 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 442 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 437 of file app_queue.c.

Referenced by queue_set_param(), and rna().

Number of queue calls abandoned

Definition at line 414 of file app_queue.c.

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

Number of queue calls completed

Definition at line 413 of file app_queue.c.

Referenced by __queues_show(), clear_queue(), manager_queues_status(), and update_queue().

Number of calls answered with servicelevel

Definition at line 416 of file app_queue.c.

Referenced by __queues_show(), clear_queue(), manager_queues_status(), and update_queue().

char context[AST_MAX_CONTEXT]

Exit context

Definition at line 393 of file app_queue.c.

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

int count

unsigned int dead

Definition at line 395 of file app_queue.c.

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

unsigned int eventwhencalled

Definition at line 397 of file app_queue.c.

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

unsigned int found

Definition at line 408 of file app_queue.c.

Referenced by init_queue(), and reload_queues().

struct queue_ent* head [read]

Head of the list of callers

Definition at line 451 of file app_queue.c.

Referenced by __queues_show(), insert_entry(), is_our_turn(), join_queue(), leave_queue(), and manager_queues_status().

int holdtime

Current avg holdtime, based on an exponential average

Definition at line 412 of file app_queue.c.

Referenced by __queues_show(), clear_queue(), manager_queues_status(), recalc_holdtime(), and say_position().

unsigned int joinempty

Definition at line 396 of file app_queue.c.

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

unsigned int leavewhenempty

Definition at line 398 of file app_queue.c.

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

struct { ... } list

Next call queue

unsigned int maskmemberstatus

Definition at line 406 of file app_queue.c.

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

int maxlen

Max number of entries

Definition at line 431 of file app_queue.c.

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

Number of members _logged in_.

Note:
There will be members in the members container that are not logged in, so this can not simply be replaced with ao2_container_count().

Definition at line 450 of file app_queue.c.

Referenced by add_to_queue(), find_queue_by_name_rt(), free_members(), init_queue(), queue_exec(), reload_queues(), remove_from_queue(), rt_handle_member_record(), try_calling(), and update_realtime_members().

Seconds to delay connecting member to caller

Definition at line 441 of file app_queue.c.

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

struct ao2_container* members [read]

char moh[80]

Music On Hold class to be used

Definition at line 391 of file app_queue.c.

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

char monfmt[8]

Format to use when recording calls

Definition at line 417 of file app_queue.c.

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

unsigned int monjoin

Definition at line 394 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 418 of file app_queue.c.

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

char name[80]

struct call_queue* next [read]

Definition at line 452 of file app_queue.c.

How often to play periodic announcement

Definition at line 410 of file app_queue.c.

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

unsigned int realtime

Definition at line 407 of file app_queue.c.

Referenced by find_queue_by_name_rt(), load_realtime_queue(), and reload_queues().

unsigned int reportholdtime

Definition at line 401 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 434 of file app_queue.c.

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

unsigned int ringinuse

Definition at line 399 of file app_queue.c.

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

How many seconds do we round to?

Definition at line 411 of file app_queue.c.

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

int rrpos

Round Robin - position

Definition at line 440 of file app_queue.c.

Referenced by calc_metric(), ring_entry(), and store_next().

seconds setting for servicelevel

Definition at line 415 of file app_queue.c.

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

unsigned int setinterfacevar

Definition at line 400 of file app_queue.c.

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

char sound_calls[80]

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

Definition at line 421 of file app_queue.c.

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

char sound_holdtime[80]

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

Definition at line 422 of file app_queue.c.

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

char sound_lessthan[80]

Sound file: "less-than" (def. queue-lessthan)

Definition at line 424 of file app_queue.c.

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

char sound_minutes[80]

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

Definition at line 423 of file app_queue.c.

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

char sound_next[80]

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

Definition at line 419 of file app_queue.c.

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

char sound_periodicannounce[MAX_PERIODIC_ANNOUNCEMENTS][80]

Sound files: Custom announce, no default

Definition at line 428 of file app_queue.c.

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

char sound_reporthold[80]

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

Definition at line 427 of file app_queue.c.

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

char sound_seconds[80]

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

Definition at line 425 of file app_queue.c.

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

char sound_thanks[80]

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

Definition at line 426 of file app_queue.c.

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

char sound_thereare[80]

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

Definition at line 420 of file app_queue.c.

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

int strategy

int timeout

How long to wait for an answer

Definition at line 435 of file app_queue.c.

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

unsigned int timeoutrestart

Definition at line 403 of file app_queue.c.

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

int weight

Respective weight

Definition at line 436 of file app_queue.c.

Referenced by __queues_show(), compare_weight(), init_queue(), manager_queues_status(), and queue_set_param().

unsigned int wrapped

Definition at line 402 of file app_queue.c.

Referenced by calc_metric(), and store_next().

Wrapup Time

Definition at line 432 of file app_queue.c.

Referenced by clear_queue(), init_queue(), queue_set_param(), and ring_entry().


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

Generated on Thu Oct 11 06:44:51 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6