Thu Apr 28 2011 17:14:05

Asterisk developer's documentation


penalty_rule Struct Reference

Collaboration diagram for penalty_rule:

Data Fields

struct {
   struct penalty_rule *   next
list
int max_relative
int max_value
int min_relative
int min_value
int time

Detailed Description

Definition at line 698 of file app_queue.c.


Field Documentation

struct { ... } list

Is the max adjustment relative? 1 for relative, 0 for absolute

Definition at line 702 of file app_queue.c.

Referenced by copy_rules(), handle_queue_rule_show(), insert_penaltychange(), manager_queue_rule_show(), and update_qe_rule().

int max_value

The amount specified in the penalty rule for max penalty

Definition at line 700 of file app_queue.c.

Referenced by copy_rules(), handle_queue_rule_show(), insert_penaltychange(), manager_queue_rule_show(), and update_qe_rule().

Is the min adjustment relative? 1 for relative, 0 for absolute

Definition at line 703 of file app_queue.c.

Referenced by copy_rules(), handle_queue_rule_show(), insert_penaltychange(), manager_queue_rule_show(), and update_qe_rule().

int min_value

The amount specified in the penalty rule for min penalty

Definition at line 701 of file app_queue.c.

Referenced by copy_rules(), handle_queue_rule_show(), insert_penaltychange(), manager_queue_rule_show(), and update_qe_rule().

struct penalty_rule* next

Definition at line 704 of file app_queue.c.

int time

Number of seconds that need to pass before applying this rule

Definition at line 699 of file app_queue.c.

Referenced by copy_rules(), handle_queue_rule_show(), insert_penaltychange(), manager_queue_rule_show(), queue_exec(), update_qe_rule(), and wait_our_turn().


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