queues.conf.sample 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. [general]
  2. ;
  3. ; Global settings for call queues
  4. ;
  5. ; Persistent Members
  6. ; Store each dynamic member in each queue in the astdb so that
  7. ; when asterisk is restarted, each member will be automatically
  8. ; read into their recorded queues. Default is 'yes'.
  9. ;
  10. persistentmembers = yes
  11. ;
  12. ; AutoFill Behavior
  13. ; The old behavior of the queue (autofill=no) is to have a serial type behavior
  14. ; in that the queue will make all waiting callers wait in the queue
  15. ; even if there is more than one available member ready to take
  16. ; calls until the head caller is connected with the member they
  17. ; were trying to get to. The next waiting caller in line then
  18. ; becomes the head caller, and they are then connected with the
  19. ; next available member and all available members and waiting callers
  20. ; waits while this happens. The new behavior, enabled by setting
  21. ; autofill=yes makes sure that when the waiting callers are connecting
  22. ; with available members in a parallel fashion until there are
  23. ; no more available members or no more waiting callers. This is
  24. ; probably more along the lines of how a queue should work and
  25. ; in most cases, you will want to enable this behavior. If you
  26. ; do not specify or comment out this option, it will default to yes.
  27. ;
  28. ;autofill = no
  29. ;
  30. ; Monitor Type
  31. ; By setting monitor-type = MixMonitor, when specifying monitor-format
  32. ; to enable recording of queue member conversations, app_queue will
  33. ; now use the new MixMonitor application instead of Monitor so
  34. ; the concept of "joining/mixing" the in/out files now goes away
  35. ; when this is enabled. You can set the default type for all queues
  36. ; here, and then also change monitor-type for individual queues within
  37. ; queue by using the same configuration parameter within a queue
  38. ; configuration block. If you do not specify or comment out this option,
  39. ; it will default to the old 'Monitor' behavior to keep backward
  40. ; compatibility.
  41. ;
  42. monitor-type = MixMonitor
  43. ;
  44. ; UpdateCDR behavior.
  45. ; This option is implemented to mimic chan_agents behavior of populating
  46. ; CDR dstchannel field of a call with an agent name, which you can set
  47. ; at the login time with AddQueueMember membername parameter.
  48. ;
  49. ; updatecdr = no
  50. ;
  51. ; Note that a timeout to fail out of a queue may be passed as part of
  52. ; an application call from extensions.conf:
  53. ; Queue(queuename,[options],[optionalurl],[announceoverride],[timeout])
  54. ; example: Queue(dave,t,,,45)
  55. ; shared_lastcall will make the lastcall and calls received be the same in
  56. ; members logged in more than one queue. This is useful to make the queue
  57. ; respect the wrapuptime of another queue for a shared member.
  58. ; The default value is no.
  59. ;
  60. ;shared_lastcall=no
  61. ;
  62. ; Negative_penalty_invalid will treat members with a negative penalty as logged off
  63. ;
  64. ;negative_penalty_invalid = no
  65. ;
  66. ;[markq]
  67. ;
  68. ; A sample call queue
  69. ;
  70. ; Musicclass sets which music applies for this particular call queue.
  71. ; The only class which can override this one is if the MOH class is set
  72. ; directly on the channel using Set(CHANNEL(musicclass)=whatever) in the
  73. ; dialplan.
  74. ;
  75. ;musicclass = default
  76. ;
  77. ; An announcement may be specified which is played for the member as
  78. ; soon as they answer a call, typically to indicate to them which queue
  79. ; this call should be answered as, so that agents or members who are
  80. ; listening to more than one queue can differentiated how they should
  81. ; engage the customer
  82. ;
  83. ;announce = queue-markq
  84. ;
  85. ; A strategy may be specified. Valid strategies include:
  86. ;
  87. ; ringall - ring all available channels until one answers (default)
  88. ; leastrecent - ring interface which was least recently hung up by this queue
  89. ; fewestcalls - ring the one with fewest completed calls from this queue
  90. ; random - ring random interface
  91. ; rrmemory - round robin with memory, remember where we left off last ring pass
  92. ; rrordered - same as rrmemory, except the queue member order from config file
  93. ; is preserved
  94. ; linear - rings interfaces in the order specified in this configuration file.
  95. ; If you use dynamic members, the members will be rung in the order in
  96. ; which they were added
  97. ; wrandom - rings random interface, but uses the member's penalty as a weight
  98. ; when calculating their metric. So a member with penalty 0 will have
  99. ; a metric somewhere between 0 and 1000, and a member with penalty 1 will
  100. ; have a metric between 0 and 2000, and a member with penalty 2 will have
  101. ; a metric between 0 and 3000. Please note, if using this strategy, the member
  102. ; penalty is not the same as when using other queue strategies. It is ONLY used
  103. ; as a weight for calculating metric.
  104. ;
  105. ;strategy = ringall
  106. ;
  107. ; Second settings for service level (default 0)
  108. ; Used for service level statistics (calls answered within service level time
  109. ; frame)
  110. ;servicelevel = 60
  111. ;
  112. ; A context may be specified, in which if the user types a SINGLE
  113. ; digit extension while they are in the queue, they will be taken out
  114. ; of the queue and sent to that extension in this context.
  115. ;
  116. ;context = qoutcon
  117. ;
  118. ; A limit can be set to disregard penalty settings when the queue has
  119. ; too few members. No penalty will be weighed in if there are only X
  120. ; or fewer queue members. (default 0)
  121. ;
  122. ;penaltymemberslimit = 5
  123. ;
  124. ;----------------------QUEUE TIMING OPTIONS------------------------------------
  125. ; A Queue has two different "timeout" values associated with it. One is the
  126. ; timeout parameter configured in queues.conf. This timeout specifies the
  127. ; amount of time to try ringing a member's phone before considering the
  128. ; member to be unavailable. The other timeout value is the second argument
  129. ; to the Queue() application. This timeout represents the absolute amount
  130. ; of time to allow a caller to stay in the queue before the caller is
  131. ; removed from the queue. In certain situations, these two timeout values
  132. ; may clash. For instance, if the timeout in queues.conf is set to 5 seconds,
  133. ; the retry value in queues.conf is set to 4, and the second argument to Queue()
  134. ; is 10, then the following may occur:
  135. ;
  136. ; A caller places a call to a queue.
  137. ; The queue selects a member and attempts to ring that member.
  138. ; The member's phone is rung for 5 seconds and he does not answer.
  139. ; The retry time of 4 seconds occurs.
  140. ; The queue selects a second member to call.
  141. ;
  142. ; How long does that second member's phone ring? Does it ring for 5 seconds
  143. ; since the timeout set in app_queue is 5 seconds? Does it ring for 1 second since
  144. ; the caller has been in the queue for 9 seconds and is supposed to be removed after
  145. ; being in the queue for 10 seconds? This is configurable with the timeoutpriority
  146. ; option. By setting the timeoutpriority to "conf" then you are saying that you would
  147. ; rather use the time specified in the configuration file even if it means having the
  148. ; caller stay in the queue longer than the time specified in the application argument.
  149. ; For the scenario described above, timeoutpriority=conf would result in the second
  150. ; member's phone ringing for 5 seconds. By specifying "app" as the value for
  151. ; timeoutpriority, you are saying that the timeout specified as the argument to the
  152. ; Queue application is more important. In the scenario above, timeoutpriority=app
  153. ; would result in the second member's phone ringing for 1 second.
  154. ;
  155. ; There are a few exceptions to the priority rules. For instance, if timeoutpriority=appp
  156. ; and the configuration file timeout is set to 0, but the application argument timeout is
  157. ; non-zero, then the timeoutpriority is ignored and the application argument is used as
  158. ; the timeout. Furthermore, if no application argument timeout is specified, then the
  159. ; timeoutpriority option is ignored and the configuration file timeout is always used
  160. ; when calling queue members.
  161. ;
  162. ; In timeoutpriority=conf mode however timeout specified in config file will take higher
  163. ; priority than timeout in application arguments, so if config file has timeout 0, each
  164. ; queue member will be called indefineately and application timeout will be checked only
  165. ; after this call attempt. This is useful for having queue members with custom timeouts
  166. ; specified within Dial application of Local channel, and allows handling NO ANSWER which
  167. ; would otherwise be interrupted by queue destroying child channel on timeout.
  168. ;
  169. ; The default value for timeoutpriority is "app" since this was how previous versions of
  170. ; Asterisk behaved.
  171. ;
  172. ;timeout = 15
  173. ;retry = 5
  174. ;timeoutpriority = app|conf
  175. ;
  176. ;-----------------------END QUEUE TIMING OPTIONS---------------------------------
  177. ; Weight of queue - when compared to other queues, higher weights get
  178. ; first shot at available channels when the same channel is included in
  179. ; more than one queue.
  180. ;
  181. ;weight=0
  182. ;
  183. ; After a successful call, how long to wait before sending a potentially
  184. ; free member another call (default is 0, or no delay)
  185. ;
  186. ;wrapuptime=15
  187. ;
  188. ; Autofill will follow queue strategy but push multiple calls through
  189. ; at same time until there are no more waiting callers or no more
  190. ; available members. The per-queue setting of autofill allows you
  191. ; to override the default setting on an individual queue level.
  192. ;
  193. ;autofill=yes
  194. ;
  195. ; Autopause will pause a queue member if they fail to answer a call
  196. ; no: Member will not be paused
  197. ; yes: Member will be paused only in the queue where the timeout took place
  198. ; all: Memeber will be paused in all queues he/she is a member
  199. ;autopause=yes
  200. ;
  201. ; Autopausedelay delay autopause for autopausedelay seconds from the
  202. ; last call if a member has not taken a call the delay has no effect.
  203. ;autopausedelay=60
  204. ;
  205. ; Maximum number of people waiting in the queue (0 for unlimited)
  206. ;
  207. ;maxlen = 0
  208. ;
  209. ; If set to yes, just prior to the caller being bridged with a queue member
  210. ; the following variables will be set
  211. ; MEMBERINTERFACE is the interface name (eg. Agent/1234)
  212. ; MEMBERNAME is the member name (eg. Joe Soap)
  213. ; MEMBERCALLS is the number of calls that interface has taken,
  214. ; MEMBERLASTCALL is the last time the member took a call.
  215. ; MEMBERPENALTY is the penalty of the member
  216. ; MEMBERDYNAMIC indicates if a member is dynamic or not
  217. ; MEMBERREALTIME indicates if a member is realtime or not
  218. ;
  219. ;setinterfacevar=no
  220. ;
  221. ; If set to yes, just prior to the caller being bridged with a queue member
  222. ; the following variables will be set:
  223. ; QEHOLDTIME callers hold time
  224. ; QEORIGINALPOS original position of the caller in the queue
  225. ;
  226. ;setqueueentryvar=no
  227. ;
  228. ; If set to yes, the following variables will be set
  229. ; just prior to the caller being bridged with a queue member
  230. ; and just prior to the caller leaving the queue
  231. ; QUEUENAME name of the queue
  232. ; QUEUEMAX maxmimum number of calls allowed
  233. ; QUEUESTRATEGY the strategy of the queue;
  234. ; QUEUECALLS number of calls currently in the queue
  235. ; QUEUEHOLDTIME current average hold time
  236. ; QUEUECOMPLETED number of completed calls for the queue
  237. ; QUEUEABANDONED number of abandoned calls
  238. ; QUEUESRVLEVEL queue service level
  239. ; QUEUESRVLEVELPERF current service level performance
  240. ;
  241. ;setqueuevar=no
  242. ; if set, run this macro when connected to the queue member
  243. ; you can override this macro by setting the macro option on
  244. ; the queue application
  245. ;
  246. ;membermacro=macro_name[,arg1[,...][,argN]]
  247. ; if set, run this gosub when connected to the queue member
  248. ; you can override this gosub by setting the gosub option on
  249. ; the queue application
  250. ;
  251. ;membergosub=gosub_context_name[,arg1[,...][,argN]]
  252. ; How often to announce queue position and/or estimated
  253. ; holdtime to caller (0=off)
  254. ; Note that this value is ignored if the caller's queue
  255. ; position has changed (see min-announce-frequency)
  256. ;
  257. ;announce-frequency = 90
  258. ;
  259. ; The absolute minimum time between the start of each
  260. ; queue position and/or estimated holdtime announcement
  261. ; This is useful for avoiding constant announcements
  262. ; when the caller's queue position is changing frequently
  263. ; (see announce-frequency)
  264. ;
  265. ;min-announce-frequency = 15
  266. ;
  267. ; How often to make any periodic announcement (see periodic-announce)
  268. ;
  269. ;periodic-announce-frequency=60
  270. ;
  271. ; Should the periodic announcements be played in a random order? Default is no.
  272. ;
  273. ;random-periodic-announce=no
  274. ;
  275. ; If set to yes, the periodic announcment frequency will be timed from the end
  276. ; of each announcment rather than from the start of each announcment. This
  277. ; defaults to off.
  278. ;
  279. ;relative-periodic-announce=yes
  280. ;
  281. ; Should we include estimated hold time in position announcements?
  282. ; Either yes, no, or only once.
  283. ; Hold time will be announced as the estimated time.
  284. ;
  285. ;announce-holdtime = yes|no|once
  286. ;
  287. ; Queue position announce?
  288. ; Valid values are "yes," "no," "limit," or "more." If set to "no," then the caller's position will
  289. ; never be announced. If "yes," then the caller's position in the queue will be announced
  290. ; to the caller. If set to "more," then if the number of callers is more than the number
  291. ; specified by the announce-position-limit option, then the caller will hear that there
  292. ; are more than that many callers waiting (i.e. if a caller number 6 is in a queue with the
  293. ; announce-position-limit set to 5, then that caller will hear that there are more than 5
  294. ; callers waiting). If set to "limit," then only callers within the limit specified by announce-position-limit
  295. ; will have their position announced.
  296. ;
  297. ;announce-position = yes
  298. ;
  299. ; If you have specified "limit" or "more" for the announce-position option, then the following
  300. ; value is what is used to determine what announcement to play to waiting callers. If you have
  301. ; set the announce-position option to anything else, then this will have no bearing on queue operation
  302. ;
  303. ;announce-position-limit = 5
  304. ;
  305. ; What's the rounding time for the seconds?
  306. ; If this is non-zero, then we announce the seconds as well as the minutes
  307. ; rounded to this value.
  308. ; Valid values are 0, 5, 10, 15, 20, and 30.
  309. ;
  310. ; announce-round-seconds = 10
  311. ;
  312. ; Use these sound files in making position/holdtime announcements. The
  313. ; defaults are as listed below -- change only if you need to.
  314. ;
  315. ; Keep in mind that you may also prevent a sound from being played if you
  316. ; explicitly set a sound to be an empty string. For example, if you want to
  317. ; prevent the queue from playing queue-thankyou, you may set the sound using
  318. ; the following line:
  319. ;
  320. ; queue-thankyou=
  321. ;
  322. ; ("You are now first in line.")
  323. ;queue-youarenext = queue-youarenext
  324. ; ("There are")
  325. ;queue-thereare = queue-thereare
  326. ; ("calls waiting.")
  327. ;queue-callswaiting = queue-callswaiting
  328. ; ("The current est. holdtime is")
  329. ;queue-holdtime = queue-holdtime
  330. ; ("minute.")
  331. ;queue-minute = queue-minute
  332. ; ("minutes.")
  333. ;queue-minutes = queue-minutes
  334. ; ("seconds.")
  335. ;queue-seconds = queue-seconds
  336. ; ("Thank you for your patience.")
  337. ;queue-thankyou = queue-thankyou
  338. ; ("Hold time")
  339. ;queue-reporthold = queue-reporthold
  340. ; ("All reps busy / wait for next")
  341. ;periodic-announce = queue-periodic-announce
  342. ;
  343. ; A set of periodic announcements can be defined by separating
  344. ; periodic announcements to reproduce by commas. For example:
  345. ;periodic-announce = queue-periodic-announce,your-call-is-important,please-wait
  346. ;
  347. ; The announcements will be played in the order in which they are defined. After
  348. ; playing the last announcement, the announcements begin again from the beginning.
  349. ;
  350. ; Calls may be recorded using Asterisk's monitor/MixMonitor resource
  351. ; This can be enabled from within the Queue application, starting recording
  352. ; when the call is actually picked up; thus, only successful calls are
  353. ; recorded, and you are not recording while people are listening to MOH.
  354. ; To enable monitoring, simply specify "monitor-format"; it will be disabled
  355. ; otherwise.
  356. ;
  357. ; You can specify the monitor filename with by calling
  358. ; Set(MONITOR_FILENAME=foo)
  359. ; Otherwise it will use MONITOR_FILENAME=${UNIQUEID}
  360. ;
  361. ; Pick any one valid extension for monitor format recording. If you leave
  362. ; monitor-format commented out, it will not record calls.
  363. ;
  364. ; monitor-format = gsm|wav|wav49
  365. ;
  366. ; Monitor Type
  367. ; By setting monitor-type = MixMonitor, when specifying monitor-format
  368. ; to enable recording of queue member conversations, app_queue will
  369. ; now use the new MixMonitor application instead of Monitor so
  370. ; the concept of "joining/mixing" the in/out files now goes away
  371. ; when this is enabled. If you do not specify or comment out this option,
  372. ; it will default to the old 'Monitor' behavior to keep backward
  373. ; compatibility.
  374. ;
  375. ; monitor-type = MixMonitor
  376. ;
  377. ; ----------------------- TYPE MIXMONITOR OPTIONS -----------------------------
  378. ;
  379. ;
  380. ; You can specify the options supplied to MixMonitor by calling (from the dialplan)
  381. ; Set(MONITOR_OPTIONS=av(<x>)V(<x>)W(<x>))
  382. ; The 'b' option for MixMonitor (only save audio to the file while bridged) is
  383. ; implied.
  384. ;
  385. ; You can specify a post recording command to be executed after the end of
  386. ; recording by calling (from the dialplan)
  387. ;
  388. ; Set(MONITOR_EXEC=mv /var/spool/asterisk/monitor/^{MONITOR_FILENAME} /tmp/^{MONITOR_FILENAME})
  389. ;
  390. ; or
  391. ;
  392. ; Set(MONITOR_EXEC=mv /var/spool/asterisk/monitor/^{MIXMONITOR_FILENAME} /tmp/^{MIXMONITOR_FILENAME})
  393. ;
  394. ; If you choose to use the latter, you will not be able to switch the monitor-type back to Monitor
  395. ; without changing this in the dialplan.
  396. ;
  397. ;
  398. ; The command specified within the contents of MONITOR_EXEC will be executed when
  399. ; the recording is over. Any strings matching ^{X} will be unescaped to ${X} and
  400. ; all variables will be evaluated just prior to recording being started.
  401. ;
  402. ; The contents of MONITOR_FILENAME will also be unescaped from ^{X} to ${X} and
  403. ; all variables will be evaluated just prior to recording being started.
  404. ;
  405. ; ---------------------- Queue Empty Options ----------------------------------
  406. ;
  407. ; Asterisk has provided the "joinempty" and "leavewhenempty" options for a while
  408. ; with tenuous definitions of what they actually mean. The "joinempty" option controls
  409. ; whether a caller may join a queue depending on several factors of member availability.
  410. ; Similarly, then leavewhenempty option controls whether a caller may remain in a queue
  411. ; he has already joined. Both options take a comma-separated list of factors which
  412. ; contribute towards whether a caller may join/remain in the queue. The list of
  413. ; factors which contribute to these option is as follows:
  414. ;
  415. ; paused: a member is not considered available if he is paused
  416. ; penalty: a member is not considered available if his penalty is less than QUEUE_MAX_PENALTY
  417. ; inuse: a member is not considered available if he is currently on a call
  418. ; ringing: a member is not considered available if his phone is currently ringing
  419. ; unavailable: This applies mainly to Agent channels. If the agent is a member of the queue
  420. ; but has not logged in, then do not consider the member to be available
  421. ; invalid: Do not consider a member to be available if he has an "invalid" device state.
  422. ; This generally is caused by an error condition in the member's channel driver.
  423. ; unknown: Do not consider a member to be available if we are unable to determine the member's
  424. ; current device state.
  425. ; wrapup: A member is not considered available if he is currently in his wrapuptime after
  426. ; taking a call.
  427. ;
  428. ; For the "joinempty" option, when a caller attempts to enter a queue, the members of that
  429. ; queue are examined. If all members are deemed to be unavailable due to any of the conditions
  430. ; listed for the "joinempty" option, then the caller will be unable to enter the queue. For the
  431. ; "leavewhenempty" option, the state of the members of the queue are checked periodically during
  432. ; the caller's stay in the queue. If all of the members are unavailable due to any of the above
  433. ; conditions, then the caller will be removed from the queue.
  434. ;
  435. ; Some examples:
  436. ;
  437. ;joinempty = paused,inuse,invalid
  438. ;
  439. ; A caller will not be able to enter a queue if at least one member cannot be found
  440. ; who is not paused, on the phone, or who has an invalid device state.
  441. ;
  442. ;leavewhenempty = inuse,ringing
  443. ;
  444. ; A caller will be removed from the queue if at least one member cannot be found
  445. ; who is not on the phone, or whose phone is not ringing.
  446. ;
  447. ; For the sake of backwards-compatibility, the joinempty and leavewhenempty
  448. ; options also accept the strings "yes" "no" "strict" and "loose". The following
  449. ; serves as a translation for these values:
  450. ;
  451. ; yes - (empty) for joinempty; penalty,paused,invalid for leavewhenempty
  452. ; no - penalty,paused,invalid for joinempty; (empty) for leavewhenempty
  453. ; strict - penalty,paused,invalid,unavailable
  454. ; loose - penalty,invalid
  455. ;
  456. ; If this is set to yes, the following manager events will be generated:
  457. ; AgentCalled, AgentDump, AgentConnect, AgentComplete; setting this to
  458. ; vars also sends all channel variables with the event.
  459. ; (may generate some extra manager events, but probably ones you want)
  460. ;
  461. ; eventwhencalled = yes|no|vars
  462. ;
  463. ; If this is set to yes, the following manager events will be generated:
  464. ; QueueMemberStatus
  465. ; (may generate a WHOLE LOT of extra manager events)
  466. ; The default value is yes and this can not be set globally.
  467. ;
  468. ; eventmemberstatus = no
  469. ;
  470. ; If you wish to report the caller's hold time to the member before they are
  471. ; connected to the caller, set this to yes.
  472. ;
  473. ; reportholdtime = no
  474. ;
  475. ; If you want the queue to avoid sending calls to members whose devices are
  476. ; known to be 'in use' (via the channel driver supporting that device state)
  477. ; uncomment this option. This can be controlled on a per member basis by
  478. ; setting 'ignorebusy' in the QUEUE_MEMBER function. (Note: only the SIP
  479. ; channel driver currently is able to report 'in use'.) (Note: if this option
  480. ; is set to 'no' it will override the per-member 'ignorebusy' setting.
  481. ;
  482. ; ringinuse = no
  483. ;
  484. ; If you wish to have a delay before the member is connected to the caller (or
  485. ; before the member hears any announcement messages), set this to the number of
  486. ; seconds to delay.
  487. ;
  488. ; memberdelay = 0
  489. ;
  490. ; If timeoutrestart is set to yes, then the timeout for an agent to answer is
  491. ; reset if a BUSY or CONGESTION is received. This can be useful if agents
  492. ; are able to cancel a call with reject or similar.
  493. ;
  494. ; timeoutrestart = no
  495. ;
  496. ; If you wish to implement a rule defined in queuerules.conf (see
  497. ; configs/queuerules.conf.sample from the asterisk source directory for
  498. ; more information about penalty rules) by default, you may specify this
  499. ; by setting defaultrule to the rule's name
  500. ;
  501. ; defaultrule = myrule
  502. ;
  503. ; Each member of this call queue is listed on a separate line in
  504. ; the form technology/dialstring. "member" means a normal member of a
  505. ; queue. An optional penalty may be specified after a comma, such that
  506. ; entries with higher penalties are considered last. An optional member
  507. ; name may also be specified after a second comma, which is used in log
  508. ; messages as a "friendly name". Multiple interfaces may share a single
  509. ; member name. An optional state interface may be specified after a third
  510. ; comma. This interface will be the one for which app_queue receives device
  511. ; state notifications, even though the first interface specified is the one
  512. ; that is actually called.
  513. ;
  514. ; A hint can also be used in place of the state interface using the format
  515. ; hint:<extension>@<context>. If no context is specified then 'default' will
  516. ; be used.
  517. ;
  518. ; It is important to ensure that channel drivers used for members are loaded
  519. ; before app_queue.so itself or they may be marked invalid until reload. This
  520. ; can be accomplished by explicitly listing them in modules.conf before
  521. ; app_queue.so. Additionally, if you use Local channels as queue members, you
  522. ; must also preload pbx_config.so and chan_local.so (or pbx_ael.so, pbx_lua.so,
  523. ; or pbx_realtime.so, depending on how your dialplan is configured).
  524. ;
  525. ;member => DAHDI/1
  526. ;member => DAHDI/2,10
  527. ;member => DAHDI/3,10,Bob Johnson
  528. ;member => Agent/1001
  529. ;member => Agent/1002
  530. ;member => Local/1000@default,0,John Smith,SIP/1000
  531. ;
  532. ; Note that using agent groups is probably not what you want. Strategies do
  533. ; not propagate down to the Agent system so if you want round robin, least
  534. ; recent, etc, you should list all the agents in this file individually and not
  535. ; use agent groups.
  536. ;
  537. ;member => Agent/@1 ; Any agent in group 1
  538. ;member => Agent/:1,1 ; Any agent in group 1, wait for first
  539. ; available, but consider with penalty