Skip to content

deeptest-com/freeswitch-modules-libs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easycallcenter365 依赖的FreeSWITCH模块

基于FreeSWITCH和大模型的智能电话客服 https://gitee.com/easycallcenter365/easycallcenter365 运行依赖的相关模块。主要有语音识别 mod_funasr 、流式语音合成 mod_aliyun_tts 等。

技术交流 && 商业咨询

bug反馈或者咨询问题请在gitee/github上,新建 Issue,并贴上日志。

联系方式

模块 mod_funasr 如何使用

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" />	

模块 mod_aliyun_tts 如何使用

<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.

如何订阅ASR和TTS事件

 您可以通过event socket 接口订阅。 订阅ASR语音识别结果通知:event CUSTOM AsrEvent
 
 订阅TTS播放开始和结束事件通知: event CUSTOM TtsEvent

运行环境

该项目目前仅在 debian-12.5 环境下编译测试通过。其他操作系统环境尚未测试。

从源码编译FreeSWITCH模块

参考 docs/zh-cn/FreeSWITCH-install-docs.md

是否有预编译的FreeSWITCH?

是的,我们提供了预编译的FreeSWITCH-1.10.11,内置了 mod_funasr 和 mod_aliyun_tts 。 它的运行环境是debain12.5,你需要配合docker运行它。 docker镜像文件及FreeSWITCH下载地址: https://pan.baidu.com/s/1xFgMPCu0VKHKnG69QhyTlA 提取码: etv5
部署文档参考目录下的文件 "部署文档.txt" 。

About

dependency modules and libs for easycallcenter365.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 58.6%
  • C++ 34.9%
  • CMake 3.6%
  • Shell 1.2%
  • Makefile 1.0%
  • Python 0.2%
  • Other 0.5%