Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jixudong
jiaoyou_doc
Commits
880144ff
Commit
880144ff
authored
Jun 07, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
be52ebcd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
0 deletions
+68
-0
配置内呼机器人.md
kaisen/配置内呼机器人.md
+68
-0
No files found.
kaisen/配置内呼机器人.md
0 → 100644
View file @
880144ff
服务器: hw-gz44
服务器: hw-gz44
ssh: ssh root@hw-gz44.heyqiwu.cn -p 22222
配置路径: /home/jiaoyou/projects/telecomaiv2/qwfreeswitch/conf/dialplan/default.xml
#### Example
```
# 生产环境-测试号码
苏宁太平生日智能打断版v6-百度 7500051
# 生产环境-正式帐号
苏宁太平生日智能打断版v6-百度 7500052
```
*
苏宁太平生日智能打断版v6 为上线BOT名称
*
百度 为上线asr
*
7500052, 7500051 为号码
在
<context
name=
"default"
>
子一层添加配置
```
<extension name="unimrcp">
<condition field="destination_number" expression="^7500051001$">
<action application="set" data="JIAOYOU_BOT_NAME=苏宁太平生日智能打断版v6"/>
<action application="set" data="JIAOYOU_KAISEN_CHANNEL_ID=kaisen-phone-api-pro"/>
<action application="set" data="JIAOYOU_CHAT_BASE_URL=http://api-pro.heyqiwu.cn:8070"/>
<action application="set" data="JIAOYOU_BOT_BACKEND_BASE_URL=http://127.0.0.1:60091"/>
<action application="set" data="JIAOYOU_BOT_BACKEND_SECRET=3d8e07f92e96242c0ce56382446fb189"/>
<action application="set" data="JIAOYOU_ASR_CONF_NAME=baidu-mrcpserver"/>
<action application="set" data="JIAOYOU_ASR_BASE_DIR=/home/jiaoyou/projects/telecomaiv2/asrbaidumrcp/audio/"/>
<action application="lua" data="kaisen_main_v4.lua"/>
</condition>
</extension>
<extension name="unimrcp">
<condition field="destination_number" expression="^7500051$">
<action application="lua" data="bridge_preprocess.lua"/>
<action application="set" data="RECORD_TITLE=电话混合录音"/>
<action application="set" data="RECORD_COPYRIGHT=(c)2022"/>
<action application="set" data="RECORD_SOFTWARE=FreeSWITCH"/>
<action application="set" data="RECORD_ARTIST=qiwu freeswitch"/>
<action application="set" data="RECORD_COMMENT=电话混合录音"/>
<action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>
<action application="set" data="RECORD_STEREO=true"/>
<action application="record_session" data="$${base_dir}/recordings/custom/${sip_h_X-custom-jiaoyou-session-id}/${sip_h_X-custom-jiaoyou-session-id}.mp3"/>
<action application="bridge" data="sofia/internal/sip:7500051001@192.168.0.169:60080"/>
</condition>
</extension>
<extension name="unimrcp">
<condition field="destination_number" expression="^7500052$">
<action application="lua" data="bridge_preprocess.lua"/>
<action application="set" data="RECORD_TITLE=电话混合录音"/>
<action application="set" data="RECORD_COPYRIGHT=(c)2022"/>
<action application="set" data="RECORD_SOFTWARE=FreeSWITCH"/>
<action application="set" data="RECORD_ARTIST=qiwu freeswitch"/>
<action application="set" data="RECORD_COMMENT=电话混合录音"/>
<action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>
<action application="set" data="RECORD_STEREO=true"/>
<action application="record_session" data="$${base_dir}/recordings/custom/${sip_h_X-custom-jiaoyou-session-id}/${sip_h_X-custom-jiaoyou-session-id}.mp3"/>
<action application="bridge" data="sofia/internal/sip:7500051001@192.168.0.169:60080"/>
</condition>
</extension>
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment