【问题标题】:Freeswitch (Callcenter): moh-sound doesn't playFreeswitch(呼叫中心):moh-sound 不播放
【发布时间】:2020-12-30 16:21:43
【问题描述】:

我在 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>

问题出在: &lt;param name="moh-sound" value="/usr/local/freeswitch/sounds/fur_elise.wav"/&gt;

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

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

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

【问题讨论】:

    标签: centos6 freeswitch


    【解决方案1】:

    我的错 - 使用错误的概念。 Moh 在话务员保持通话时使用。播放背景音乐的正确方法是在diaplan中配置ringback指令: &lt;action application="set" data="ringback=/path/to/file"/&gt;

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-01-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多