queuerules.conf.sample 1.7 KB

123456789101112131415161718192021222324252627282930
  1. [general]
  2. ; Look for queue rules in the queue_rules database table through RealTime. Note
  3. ; that this option is not strictly "RealTime", in the sense that the queue
  4. ; rules are only loaded and parsed during module load/reload. Queue rules
  5. ; must have a unique rule name and support relative min/max penalties.
  6. ;
  7. ; realtime_rules = yes
  8. ;
  9. ; It is possible to change the value of the QUEUE_MAX_PENALTY and QUEUE_MIN_PENALTY
  10. ; channel variables in mid-call by defining rules in the queue for when to do so. This can allow for
  11. ; a call to be opened to more members or potentially a different set of members.
  12. ; The advantage to changing members this way as opposed to inserting the caller into a
  13. ; different queue with more members or reinserting the caller into the same queue with a different
  14. ; QUEUE_MAX_PENALTY or QUEUE_MIN_PENALTY set is that the caller does not lose his place in the queue.
  15. ;
  16. ; Note: There is a limitation to these rules; a caller will follow the penaltychange rules for
  17. ; the queue that were defined at the time the caller entered the queue. If an update to the rules is
  18. ; made during the caller's stay in the queue, these will not be reflected for that caller.
  19. ;
  20. ; The syntax for these rules is
  21. ; penaltychange => <number of seconds into the call>,<absolute or relative change to QUEUE_MAX_PENALTY>[,absolute or relative change to QUEUE_MIN_PENALTY]
  22. ;
  23. ; Example:
  24. ; [myrule]
  25. ; penaltychange => 30,+3 ; 30 seconds into the call increase the QUEUE_MAX_PENALTY by 3, no change to QUEUE_MIN_PENALTY
  26. ; penaltychange => 60,10,5 ; 60 seconds into the call increase the QUEUE_MAX_PENALTY to 10 and increase the QUEUE_MIN_PENALTY to 5
  27. ; penaltychange => 75,,7 ; 75 seconds into the call keep the QUEUE_MAX_PENALTY the same and increase the QUEUE_MIN_PENALTY to 7