queues.conf.sample 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. [general]
  2. ;
  3. ; Global settings for call queues
  4. ; (none exist currently)
  5. ;
  6. ; Note that a timeout to fail out of a queue may be passed as part of application call
  7. ; from extensions.conf:
  8. ; Queue(queuename|[options]|[optionalurl]|[announceoverride]|[timeout])
  9. ; example: Queue(dave|t|||45)
  10. [default]
  11. ;
  12. ; Default settings for queues (currently unused)
  13. ;
  14. ;[markq]
  15. ;
  16. ; A sample call queue
  17. ;
  18. ; Musiconhold sets which music applies for this particular
  19. ; call queue (configure classes in musiconhold.conf)
  20. ;
  21. ;musiconhold = default
  22. ;
  23. ; An announcement may be specified which is played for the member as
  24. ; soon as they answer a call, typically to indicate to them which queue
  25. ; this call should be answered as, so that agents or members who are
  26. ; listening to more than one queue can differentiated how they should
  27. ; engage the customer
  28. ;
  29. ;announce = queue-markq
  30. ;
  31. ; A strategy may be specified. Valid strategies include:
  32. ;
  33. ; ringall - ring all available channels until one answers (default)
  34. ; roundrobin - take turns ringing each available interface
  35. ; leastrecent - ring interface which was least recently called by this queue
  36. ; fewestcalls - ring the one with fewest completed calls from this queue
  37. ; random - ring random interface
  38. ; rrmemory - round robin with memory, remember where we left off last ring pass
  39. ;
  40. ;strategy = ringall
  41. ;
  42. ; A context may be specified, in which if the user types a SINGLE
  43. ; digit extension while they are in the queue, they will be taken out
  44. ; of the queue and sent to that extension in this context.
  45. ;
  46. ;context = qoutcon
  47. ;
  48. ; How long do we let the phone ring before we consider this a timeout...
  49. ;
  50. ;timeout = 15
  51. ;
  52. ; How long do we wait before trying all the members again?
  53. ;
  54. ;retry = 5
  55. ;
  56. ; After a successful call, how long to wait before sending a potentially
  57. ; free member another call (default is 0, or no delay)
  58. ;
  59. ;wrapuptime=15
  60. ;
  61. ; Maximum number of people waiting in the queue (0 for unlimited)
  62. ;
  63. ;maxlen = 0
  64. ;
  65. ;
  66. ; How often to announce queue position and/or estimated holdtime to caller (0=off)
  67. ;
  68. ;announce-frequency = 90
  69. ;
  70. ; Should we include estimated hold time in position announcements?
  71. ; Either yes, no, or only once.
  72. ; Hold time will be announced as the estimated time,
  73. ; or "less than 2 minutes" when appropriate.
  74. ;
  75. ;announce-holdtime = yes|no|once
  76. ;
  77. ; What's the rounding time for the seconds?
  78. ; If this is non zero then we announce the seconds as well as the minutes rounded to this value
  79. ;
  80. ; announce-round-seconds = 10
  81. ;
  82. ; Use these sound files in making position/holdtime announcements. The
  83. ; defaults are as listed below -- change only if you need to.
  84. ;
  85. ;queue-youarenext = queue-youarenext ; ("You are now first in line.")
  86. ;queue-thereare = queue-thereare ; ("There are")
  87. ;queue-callswaiting = queue-callswaiting ; ("calls waiting.")
  88. ;queue-holdtime = queue-holdtime ; ("The current est. holdtime is")
  89. ;queue-minutes = queue-minutes ; ("minutes.")
  90. ;queue-seconds = queue-seconds ; ("seconds.")
  91. ;queue-thankyou = queue-thankyou ; ("Thank you for your patience.")
  92. ;queue-lessthan = queue-less-than ; ("less than")
  93. ;
  94. ; Calls may be recorded using Asterisk's monitor resource
  95. ; This can be enabled from within the Queue application, starting recording
  96. ; when the call is actually picked up; thus, only successful calls are
  97. ; recorded, and you are not recording while people are listening to MOH.
  98. ; To enable monitoring, simply specify "monitor-format"; it will be disabled
  99. ; otherwise.
  100. ;
  101. ; You can specify the monitor filename with by calling SetVar(MONITOR_FILENAME=foo)
  102. ; Otherwise it will use ${UNIQUEID}
  103. ;
  104. ; monitor-format = gsm|wav|wav49
  105. ;
  106. ; If you wish to have the two files joined together when the call ends set this to yes
  107. ;
  108. ; monitor-join = yes
  109. ;
  110. ; If you wish to allow queues that have no members currently to be joined, then set this
  111. ; to yes. Note that this is for use with dynamic queue members!
  112. ;
  113. ; joinempty = yes
  114. ;
  115. ; If you wish to remove callers from the queue if there are no agents present, then set
  116. ; this to yes. Note that this is for use with dynamic queue members!
  117. ;
  118. ; leavewhenempty = yes
  119. ;
  120. ; Asterisk can generate AgentCalled events when an agent is rung, if this is turned on
  121. ; (may generate a LOT of extra manager events)
  122. ;
  123. ; eventwhencalled = yes
  124. ;
  125. ; Each member of this call queue is listed on a separate line in
  126. ; the form technology/dialstring. "member" means a normal member of a
  127. ; queue. An optional penalty may be specified after a comma, such that
  128. ; entries with higher penalties are considered last.
  129. ;
  130. ;member => Zap/1
  131. ;member => Zap/2
  132. ;member => Agent/1001
  133. ;member => Agent/1002
  134. ;
  135. ; Note that using agent groups is probably not what you want. Strategies do
  136. ; not propagate down to the Agent system so if you want round robin, least
  137. ; recent, etc, you should list all the agents in this file individually and not
  138. ; use agent groups.
  139. ;
  140. ;member => Agent/@1 ; Any agent in group 1
  141. ;member => Agent/:1,1 ; Any agent in group 1, wait for first
  142. ; available, but consider with penalty