mod_callcenter: Alot of cleanup. Added max-wait-time and…

mod_callcenter: Alot of cleanup.  Added max-wait-time and max-wait-time-with-no-agent param to a queue.

max-wait-time : allow to make the caller quit the queue after X number of waited second.  The second one allow
max-wait-time-with-no-agent : This will wait for a range of second with no agent before kicking the member out of the queue.  This allow safe shift change with all agents login out and back in

I've changed the Event value from CC-Name to either CC-Agent or CC-Queue.  So watchout for your current event socket apps.  Sorry about this change.

Lot to be tested in this commit.  Please use Jira to post problems, and new feature request can be added at the bottom of the wiki page.
上级 8114b3f1
......@@ -10,6 +10,8 @@
<param name="moh-sound" value="$${hold_music}"/>
<!--<param name="record-template" value="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}.${destination_number}.${caller_id_number}.${uuid}.wav"/>-->
<param name="time-base-score" value="system"/>
<param name="max-wait-time" value="0"/>
<param name="max-wait-time-with-no-agent" value="0"/>
<param name="tier-rules-apply" value="false"/>
<param name="tier-rule-wait-second" value="300"/>
<param name="tier-rule-wait-multiply-level" value="true"/>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论