基于FreeSWITCH和大模型的智能电话客服 https://gitee.com/easycallcenter365/easycallcenter365 运行依赖的相关模块。主要有语音识别 mod_funasr 、流式语音合成 mod_aliyun_tts 等。
bug反馈或者咨询问题请在gitee/github上,新建 Issue,并贴上日志。
start asr:
<action application="start_asr" data="hello"/>
pause asr:
<action application="pause_asr" data="1"/>
resume asr:
<action application="pause_asr" data="0"/>
stop asr:
<action application="stop_asr" />
<action application="speak" data="<engine>|<voice>|<text>|[timer_name]"/>
Example:
first request:
<action application="speak" data="aliyuntts|aixia|上午好,这里是未来科技公司"/>
resume session based on the last request:
<action application="aliyuntts_resume" data="请问有什么可以帮您?"/>
once speak completed, the session will be closed automatically. you need to use speak to re-open the session again if you want to speak again.
您可以通过event socket 接口订阅。 订阅ASR语音识别结果通知:event CUSTOM AsrEvent
订阅TTS播放开始和结束事件通知: event CUSTOM TtsEvent
该项目目前仅在 debian-12.5 环境下编译测试通过。其他操作系统环境尚未测试。
参考 docs/zh-cn/FreeSWITCH-install-docs.md 。
是的,我们提供了预编译的FreeSWITCH-1.10.11,内置了 mod_funasr 和 mod_aliyun_tts 。
它的运行环境是debain12.5,你需要配合docker运行它。
docker镜像文件及FreeSWITCH下载地址: https://pan.baidu.com/s/1xFgMPCu0VKHKnG69QhyTlA 提取码: etv5
部署文档参考目录下的文件 "部署文档.txt" 。