呼叫中心静态座席的配置

首先使用   #make mod_callcenter-install 安装mod_callcenter模块  然后到Freeswitch控制台上加载该模块

Freeswitch> load mod_callcenter  在conf/autoload_configs/modules.conf.xml中去掉与该模块相关行的注释。

以下是配置方法:

在conf/autoload_configs/callcenter.conf.xml中修改

<configuration name="callcenter.conf" description="CallCenter">

  <settings>

    <!--<param name="odbc-dsn" value="dsn:user:pass"/>-->

    <!--<param name="dbname" value="/dev/shm/callcenter.db"/>-->

  </settings>

<queues>

    <queue name="support@default">

      <param name="strategy" value="longest-idle-agent"/>

      <param name="moh-sound" value="$${hold_music}"/>

      <!--<param name="record-template" value="$${recordings_dir}/${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="max-wait-time-with-no-agent-time-reached" value="5"/>

      <param name="tier-rules-apply" value="false"/>

      <param name="tier-rule-wait-second" value="300"/>

      <param name="tier-rule-wait-multiply-level" value="true"/>

      <param name="tier-rule-no-agent-no-wait" value="false"/>

      <param name="discard-abandoned-after" value="60"/>

      <param name="abandoned-resume-allowed" value="false"/>

    </queue>

</queues>

  <agents>

       <agent name="1001@$${domain}" type="callback" contact="[call_timeout=10]user/1001@$${domain}" status="Available" max-no-answer="3" wrap-up-time="10" reject-delay-time="10" busy-delay-time="60" />

         <agent name="1002@$${domain}" type="callback" contact="[call_timeout=10]user/1002@$${domain}" status="Available" max-no-answer="3" wrap-up-time="10" reject-delay-time="10" busy-delay-time="60" />

  </agents>

  <tiers>

    <!-- If no level or position is provided, they will default to 1.  You should do this to keep db value on restart. -->

       <tier agent="1001@$${domain}" queue="support@default" level="1" position="1"/>

       <tier agent="1002@$${domain}" queue="support@default" level="1" position="1"/>

     </tiers>

</configuration> 

图片:

然后配置拨号计划:

<extension name="Callcenter Example">

      <condition field="destination_number" expression="^0$">

       <action application="answer"/>

       <action application="callcenter" data="support@default"/>

       </condition>

    </extension>

原文地址:https://www.cnblogs.com/nazi549038167/p/4425759.html