FreeswitchCallcenter:Moh声音无法播放

问题描述

我在Centos 6服务器(OpenVZ CT)上安装了freeswitch 1.2.53。有一个测试“呼叫中心”:

有人在呼叫,然后用户听到IVR菜单(运行良好),并且当按下按钮“ 1”时,呼叫将发送到 support 组: <entry action="menu-exec-app" digits="1" param="bridge group/support@${domain_name}"/>

这是队列配置:

    <queue name="support@default">
      <param name="strategy" value="longest-idle-agent"/>
      <param name="moh-sound" value="/usr/local/freeswitch/sounds/fur_elise.wav"/>
      <!--<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="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>

问题在这里<param name="moh-sound" value="/usr/local/freeswitch/sounds/fur_elise.wav"/>

当队列电话正在响铃并且用户正在等待应答时,它无法在用户的电话上播放。

文件存在,并且在等待某人接听电话时日志中没有错误。只是沉

试图将值替换为相对路径(/sounds/fur_elise.wav),也尝试使用认值$${hold_music}并将其输入vars.xml中-没有任何更改。

解决方法

我的错-使用错误的概念。当话务员保持呼叫时使用Moh。要播放背景音乐,正确的方法是在diaplan中配置ringback指令: <action application="set" data="ringback=/path/to/file"/>