Advertisement
Guest User

Untitled

a guest
May 27th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.54 KB | None | 0 0
  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. ; Keep Stats
  13. ; Keep queue statistics during a reload. Default is 'no'
  14. ;
  15. keepstats = no
  16. ;
  17. ; AutoFill Behavior
  18. ; The old/current behavior of the queue has a serial type behavior
  19. ; in that the queue will make all waiting callers wait in the queue
  20. ; even if there is more than one available member ready to take
  21. ; calls until the head caller is connected with the member they
  22. ; were trying to get to. The next waiting caller in line then
  23. ; becomes the head caller, and they are then connected with the
  24. ; next available member and all available members and waiting callers
  25. ; waits while this happens. The new behavior, enabled by setting
  26. ; autofill=yes makes sure that when the waiting callers are connecting
  27. ; with available members in a parallel fashion until there are
  28. ; no more available members or no more waiting callers. This is
  29. ; probably more along the lines of how a queue should work and
  30. ; in most cases, you will want to enable this behavior. If you
  31. ; do not specify or comment out this option, it will default to no
  32. ; to keep backward compatibility with the old behavior.
  33. ;
  34. autofill = no
  35. ;
  36. ; Monitor Type
  37. ; By setting monitor-type = MixMonitor, when specifying monitor-format
  38. ; to enable recording of queue member conversations, app_queue will
  39. ; now use the new MixMonitor application instead of Monitor so
  40. ; the concept of "joining/mixing" the in/out files now goes away
  41. ; when this is enabled. You can set the default type for all queues
  42. ; here, and then also change monitor-type for individual queues within
  43. ; queue by using the same configuration parameter within a queue
  44. ; configuration block. If you do not specify or comment out this option,
  45. ; it will default to the old 'Monitor' behavior to keep backward
  46. ; compatibility.
  47. ;
  48. monitor-type = MixMonitor
  49. ;
  50. ; UpdateCDR behavior.
  51. ; This option is implemented to mimic chan_agents behavior of populating
  52. ; CDR dstchannel field of a call with an agent name, which you can set
  53. ; at the login time with AddQueueMember membername parameter.
  54. ;
  55. ; updatecdr = no
  56.  
  57. ;
  58. ; Note that a timeout to fail out of a queue may be passed as part of
  59. ; an application call from extensions.conf:
  60. ; Queue(queuename|[options]|[optionalurl]|[announceoverride]|[timeout])
  61. ; example: Queue(dave|t|||45)
  62.  
  63. ; shared_lastcall will make the lastcall and calls received be the same in
  64. ; members logged in more than one queue.
  65. ; This is useful to make the queue respect the wrapuptime of another queue
  66. ; for a shared member
  67. ;
  68. shared_lastcall=no
  69. ;
  70. ;[markq]
  71. ;
  72. ; A sample call queue
  73. ;
  74. ; Musicclass sets which music applies for this particular call queue.
  75. ; The only class which can override this one is if the MOH class is set
  76. ; directly on the channel using Set(CHANNEL(musicclass)=whatever) in the
  77. ; dialplan.
  78. ;
  79. ;musicclass = default
  80. ;
  81. ; An announcement may be specified which is played for the member as
  82. ; soon as they answer a call, typically to indicate to them which queue
  83. ; this call should be answered as, so that agents or members who are
  84. ; listening to more than one queue can differentiated how they should
  85. ; engage the customer
  86. ;
  87. ;announce = queue-markq
  88. ;
  89. ; A strategy may be specified. Valid strategies include:
  90. ;
  91. ; ringall - ring all available channels until one answers (default)
  92. ; leastrecent - ring interface which was least recently called by this queue
  93. ; fewestcalls - ring the one with fewest completed calls from this queue
  94. ; random - ring random interface
  95. ; rrmemory - round robin with memory, remember where we left off last ring pass
  96. ; linear - rings interfaces in the order specified in this configuration file.
  97. ; If you use dynamic members, the members will be rung in the order in
  98. ; which they were added
  99. ; wrandom - rings random interface, but uses the member's penalty as a weight
  100. ; when calculating their metric. So a member with penalty 0 will have
  101. ; a metric somewhere between 0 and 1000, and a member with penalty 1 will
  102. ; have a metric between 0 and 2000, and a member with penalty 2 will have
  103. ; a metric between 0 and 3000. Please note, if using this strategy, the member
  104. ; penalty is not the same as when using other queue strategies. It is ONLY used
  105. ; as a weight for calculating metric.
  106. ;
  107. ;strategy = ringall
  108. ;
  109. ; Second settings for service level (default 0)
  110. ; Used for service level statistics (calls answered within service level time
  111. ; frame)
  112. ;servicelevel = 60
  113. ;
  114. ; A context may be specified, in which if the user types a SINGLE
  115. ; digit extension while they are in the queue, they will be taken out
  116. ; of the queue and sent to that extension in this context.
  117. ;
  118. ;context = qoutcon
  119. ;
  120. ; How long do we let the phone ring before we consider this a timeout...
  121. ;
  122. ;timeout = 15
  123. ;
  124. ; How long do we wait before trying all the members again?
  125. ;
  126. ;retry = 5
  127. ;
  128. ; Weight of queue - when compared to other queues, higher weights get
  129. ; first shot at available channels when the same channel is included in
  130. ; more than one queue.
  131. ;
  132. ;weight=0
  133. ;
  134. ; After a successful call, how long to wait before sending a potentially
  135. ; free member another call (default is 0, or no delay)
  136. ;
  137. ;wrapuptime=15
  138. ;
  139. ; Autofill will follow queue strategy but push multiple calls through
  140. ; at same time until there are no more waiting callers or no more
  141. ; available members. The per-queue setting of autofill allows you
  142. ; to override the default setting on an individual queue level.
  143. ;
  144. ;autofill=yes
  145. ;
  146. ; Autopause will pause a queue member if they fail to answer a call
  147. ;
  148. ;autopause=yes
  149. ;
  150. ; Maximum number of people waiting in the queue (0 for unlimited)
  151. ;
  152. ;maxlen = 0
  153. ;
  154. ; If set to yes, just prior to the caller being bridged with a queue member
  155. ; the following variables will be set
  156. ; MEMBERINTERFACE is the interface name (eg. Agent/1234)
  157. ; MEMBERNAME is the member name (eg. Joe Soap)
  158. ; MEMBERCALLS is the number of calls that interface has taken,
  159. ; MEMBERLASTCALL is the last time the member took a call.
  160. ; MEMBERPENALTY is the penalty of the member
  161. ; MEMBERDYNAMIC indicates if a member is dynamic or not
  162. ; MEMBERREALTIME indicates if a member is realtime or not
  163. ;
  164. ;setinterfacevar=no
  165. ;
  166. ; If set to yes, just prior to the caller being bridged with a queue member
  167. ; the following variables will be set:
  168. ; QEHOLDTIME callers hold time
  169. ; QEORIGINALPOS original position of the caller in the queue
  170. ;
  171. ;setqueueentryvar=no
  172. ;
  173. ; If set to yes, the following variables will be set
  174. ; just prior to the caller being bridged with a queue member
  175. ; and just prior to the caller leaving the queue
  176. ; QUEUENAME name of the queue
  177. ; QUEUEMAX maxmimum number of calls allowed
  178. ; QUEUESTRATEGY the strategy of the queue;
  179. ; QUEUECALLS number of calls currently in the queue
  180. ; QUEUEHOLDTIME current average hold time
  181. ; QUEUECOMPLETED number of completed calls for the queue
  182. ; QUEUEABANDONED number of abandoned calls
  183. ; QUEUESRVLEVEL queue service level
  184. ; QUEUESRVLEVELPERF current service level performance
  185. ;
  186. ;setqueuevar=no
  187. ;
  188. ; if set, run this macro when connected to the queue member
  189. ; you can override this macro by setting the macro option on
  190. ; the queue application
  191. ;
  192. ; membermacro=somemacro
  193.  
  194. ; How often to announce queue position and/or estimated
  195. ; holdtime to caller (0=off)
  196. ; Note that this value is ignored if the caller's queue
  197. ; position has changed (see min-announce-frequency)
  198. ;
  199. ;announce-frequency = 90
  200. ;
  201. ; The absolute minimum time between the start of each
  202. ; queue position and/or estimated holdtime announcement
  203. ; This is useful for avoiding constant announcements
  204. ; when the caller's queue position is changing frequently
  205. ; (see announce-frequency)
  206. ;
  207. ;min-announce-frequency = 15
  208. ;
  209. ; How often to make any periodic announcement (see periodic-announce)
  210. ;
  211. ;periodic-announce-frequency=60
  212. ;
  213. ; Should we include estimated hold time in position announcements?
  214. ; Either yes, no, or only once.
  215. ; Hold time will be announced as the estimated time.
  216. ;
  217. ;announce-holdtime = yes|no|once
  218. ;
  219. ; Queue position announce?
  220. ; Either yes or no. If turned off, only the holdtime will be announced (as
  221. ; configured in announce-holdtime)
  222. ;
  223. ;announce-position = yes
  224. ;
  225. ; What's the rounding time for the seconds?
  226. ; If this is non-zero, then we announce the seconds as well as the minutes
  227. ; rounded to this value.
  228. ; Valid values are 0, 5, 10, 15, 20, and 30.
  229. ;
  230. ; announce-round-seconds = 10
  231. ;
  232. ; Use these sound files in making position/holdtime announcements. The
  233. ; defaults are as listed below -- change only if you need to.
  234. ;
  235. ; Keep in mind that you may also prevent a sound from being played if you
  236. ; explicitly set a sound to be an empty string. For example, if you want to
  237. ; prevent the queue from playing queue-thankyou, you may set the sound using
  238. ; the following line:
  239. ;
  240. ; queue-thankyou=
  241. ;
  242. ; ("You are now first in line.")
  243. ;queue-youarenext = queue-youarenext
  244. ; ("There are")
  245. ;queue-thereare = queue-thereare
  246. ; ("calls waiting.")
  247. ;queue-callswaiting = queue-callswaiting
  248. ; ("The current est. holdtime is")
  249. ;queue-holdtime = queue-holdtime
  250. ; ("minutes.")
  251. ;queue-minutes = queue-minutes
  252. ; ("seconds.")
  253. ;queue-seconds = queue-seconds
  254. ; ("Thank you for your patience.")
  255. ;queue-thankyou = queue-thankyou
  256. ; ("Hold time")
  257. ;queue-reporthold = queue-reporthold
  258. ; ("All reps busy / wait for next")
  259. ;periodic-announce = queue-periodic-announce
  260. ;
  261. ; A set of periodic announcements can be defined by separating
  262. ; periodic announcements to reproduce by commas. For example:
  263. ;periodic-announce = queue-periodic-announce,your-call-is-important,please-wait
  264. ;
  265. ; The announcements will be played in the order in which they are defined. After
  266. ; playing the last announcement, the announcements begin again from the beginning.
  267. ;
  268. ; Calls may be recorded using Asterisk's monitor/MixMonitor resource
  269. ; This can be enabled from within the Queue application, starting recording
  270. ; when the call is actually picked up; thus, only successful calls are
  271. ; recorded, and you are not recording while people are listening to MOH.
  272. ; To enable monitoring, simply specify "monitor-format"; it will be disabled
  273. ; otherwise.
  274. ;
  275. ; You can specify the monitor filename with by calling
  276. ; Set(MONITOR_FILENAME=foo)
  277. ; Otherwise it will use MONITOR_FILENAME=${UNIQUEID}
  278. ;
  279. ; Pick any one valid extension for monitor format recording. If you leave
  280. ; monitor-format commented out, it will not record calls.
  281. ;
  282. ; monitor-format = gsm|wav|wav49
  283. ;
  284. ; Monitor Type
  285. ; By setting monitor-type = MixMonitor, when specifying monitor-format
  286. ; to enable recording of queue member conversations, app_queue will
  287. ; now use the new MixMonitor application instead of Monitor so
  288. ; the concept of "joining/mixing" the in/out files now goes away
  289. ; when this is enabled. If you do not specify or comment out this option,
  290. ; it will default to the old 'Monitor' behavior to keep backward
  291. ; compatibility.
  292. ;
  293. ; monitor-type = MixMonitor
  294. ;
  295. ; ----------------------- TYPE MIXMONITOR OPTIONS -----------------------------
  296. ;
  297. ;
  298. ; You can specify the options supplied to MixMonitor by calling (from the dialplan)
  299. ; Set(MONITOR_OPTIONS=av(<x>)V(<x>)W(<x>))
  300. ; The 'b' option for MixMonitor (only save audio to the file while bridged) is
  301. ; implied.
  302. ;
  303. ; You can specify a post recording command to be executed after the end of
  304. ; recording by calling (from the dialplan)
  305. ; Set(MONITOR_EXEC=mv /var/spool/asterisk/monitor/^{MONITOR_FILENAME} /tmp/^{MONITOR_FILENAME})
  306. ;
  307. ; The command specified within the contents of MONITOR_EXEC will be executed when
  308. ; the recording is over. Any strings matching ^{X} will be unescaped to ${X} and
  309. ; all variables will be evaluated just prior to recording being started.
  310. ;
  311. ; The contents of MONITOR_FILENAME will also be unescaped from ^{X} to ${X} and
  312. ; all variables will be evaluated just prior to recording being started.
  313. ;
  314. ;
  315. ; This setting controls whether callers can join a queue with no members. There
  316. ; are three choices:
  317. ;
  318. ; yes - callers can join a queue with no members or only unavailable members
  319. ; no - callers cannot join a queue with no members
  320. ; strict - callers cannot join a queue with no members or only unavailable
  321. ; members
  322. ; loose - same as strict, but paused queue members do not count as unavailable
  323. ;
  324. ; joinempty = yes
  325. ;
  326. ;
  327. ; If you wish to remove callers from the queue when new callers cannot join,
  328. ; set this setting to one of the same choices for 'joinempty'
  329. ;
  330. ; leavewhenempty = yes
  331. ;
  332. ;
  333. ; If this is set to yes, the following manager events will be generated:
  334. ; AgentCalled, AgentDump, AgentConnect, AgentComplete; setting this to
  335. ; vars also sends all channel variables with the event.
  336. ; (may generate some extra manager events, but probably ones you want)
  337. ;
  338. eventwhencalled = yes|no|grap
  339. ;
  340. ; If this is set to yes, the following manager events will be generated:
  341. ; QueueMemberStatus
  342. ; (may generate a WHOLE LOT of extra manager events)
  343. ;
  344. ; eventmemberstatus = no
  345. ;
  346. ; If you wish to report the caller's hold time to the member before they are
  347. ; connected to the caller, set this to yes.
  348. ;
  349. ; reportholdtime = no
  350. ;
  351. ; If you want the queue to avoid sending calls to members whose devices are
  352. ; known to be 'in use' (via the channel driver supporting that device state)
  353. ; uncomment this option. (Note: only the SIP channel driver currently is able
  354. ; to report 'in use'.)
  355. ;
  356. ; ringinuse = no
  357. ;
  358. ; If you wish to have a delay before the member is connected to the caller (or
  359. ; before the member hears any announcement messages), set this to the number of
  360. ; seconds to delay.
  361. ;
  362. ; memberdelay = 0
  363. ;
  364. ; If timeoutrestart is set to yes, then the timeout for an agent to answer is
  365. ; reset if a BUSY or CONGESTION is received. This can be useful if agents
  366. ; are able to cancel a call with reject or similar.
  367. ;
  368. ; timeoutrestart = no
  369. ;
  370. ; If you wish to implement a rule defined in queuerules.conf (see
  371. ; configs/queuerules.conf.sample from the asterisk source directory for
  372. ; more information about penalty rules) by default, you may specify this
  373. ; by setting defaultrule to the rule's name
  374. ;
  375. ; defaultrule = myrule
  376. ;
  377. ; Each member of this call queue is listed on a separate line in
  378. ; the form technology/dialstring. "member" means a normal member of a
  379. ; queue. An optional penalty may be specified after a comma, such that
  380. ; entries with higher penalties are considered last. An optional member
  381. ; name may also be specified after a second comma, which is used in log
  382. ; messages as a "friendly name". Multiple interfaces may share a single
  383. ; member name. An optional state interface may be specified after a third
  384. ; comma. This interface will be the one for which app_queue receives device
  385. ; state notifications, even though the first interface specified is the one
  386. ; that is actually called.
  387. ;
  388. ; It is important to ensure that channel drivers used for members are loaded
  389. ; before app_queue.so itself or they may be marked invalid until reload. This
  390. ; can be accomplished by explicitly listing them in modules.conf before
  391. ; app_queue.so. Additionally, if you use Local channels as queue members, you
  392. ; must also preload pbx_config.so and chan_local.so (or pbx_ael.so, pbx_lua.so,
  393. ; or pbx_realtime.so, depending on how your dialplan is configured).
  394. ;
  395. ;member => DAHDI/1
  396. ;member => DAHDI/2,10
  397. ;member => DAHDI/3,10,Bob Johnson
  398. ;member => Agent/1001
  399. ;member => Agent/1002
  400. ;member => Local/1000@default,0,John Smith,SIP/1000
  401.  
  402. ;
  403. ; Note that using agent groups is probably not what you want. Strategies do
  404. ; not propagate down to the Agent system so if you want round robin, least
  405. ; recent, etc, you should list all the agents in this file individually and not
  406. ; use agent groups.
  407. ;
  408. ;member => Agent/@1 ; Any agent in group 1
  409. ;member => Agent/:1,1 ; Any agent in group 1, wait for first
  410. ; available, but consider with penalty
  411.  
  412.  
  413. [Service]
  414. announce-frequency=45
  415. announce-holdtime=no
  416. autofill=yes
  417. ringinuse=no
  418. eventwhencalled=yes
  419. joinempty=yes
  420. leavewhenempty=no
  421. maxlen=0
  422. monitor-type=mixmonitor
  423. monitor-format=wav
  424. ;periodic-announce-frequency=45
  425. ;queue-callswaiting=silence/1
  426. ;queue-thereare=silence/1
  427. ;queue-youarenext=custom/recording7
  428. retry=10
  429. strategy=rrmemory
  430. timeout=9
  431. weight=0
  432. wrapuptime=0
  433. ;context=ivr-13
  434. ;periodic-announce=custom/recording7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement