ch3nnn / freeswitch-incall

呼叫中心 Python版 freeswitch outbound 呼入服务

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

freeswitch-incall

Python版 freeswitch outbound 呼入服务

freeswitch 配置文件

新增 freeswitch/conf/dialplan/public/1010_inbound.xml expression 这里配置网关名称

<include>
  <extension name="1010_inbound">
    <condition field="destination_number" expression="^(配置网关)$">
        <action application="set" data="enable_heartbeat_events=true"/>
        <action application="log" data="expression: ${expression}"/>
        <action application="log" data="gateway: ${gateway}"/>
        <action application="set" data="inner_user=1008"/>
        <action application="info" data=""/>
        <action application="socket" data="127.0.0.1:8050 async full"/>
    </condition>
  </extension>
</include>
环境依赖
  1. python3.8
  2. freeswitch v1.10.7
运行命令
sh runserver.sh

About

呼叫中心 Python版 freeswitch outbound 呼入服务

License:Apache License 2.0


Languages

Language:Python 92.9%Language:Shell 7.1%