随笔分类 - Freeswitch
摘要:1.获取证书 阿里云或者其他地方获取 2.编辑配置 文件路径:/usr/local/freeswitch/conf/sip_profile/internal/xml 新增 <param name="tls-cert-dir" value="/usr/local/freeswitch/certs"/>
阅读全文
摘要:1.系统版本 [root@fs freeswitch]# uname -a Linux fs 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 2.freeswitch版本
阅读全文
摘要:1.获取本地媒体 'use strict'; const constraints = window.constraints = { audio: false, video: true }; function handleSuccess(stream) { const video = document
阅读全文
摘要:yum install -y https://files.freeswitch.org/repo/yum/centos-dev/freeswitch-dev-repo-0-1.noarch.rpm epel-release yum-builddep -y freeswitch yum install
阅读全文
摘要:1.系统版本查询:我这里安装的是 debian9 root@qicheng:~# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.9 (stretc
阅读全文
摘要:1.打开wss开关: 2.配置端口 sip端口:5060 sip 端口 ws:5066 wss:7443
阅读全文
摘要:1.openips默认启动事务日志汇在var/log/message,此处我们修改默认日志路径 2默认配置是:log_facility=LOG_LOCAL0 故而我们需要在 vim /etc/rsyslog.conf增加红色标注的行 local0.* /opt/opensips/logs/opens
阅读全文
摘要:FreeSWITCH了提供ESL接口来接受外部的控制;默认情况下,只能连接本机的FreeSWITCH。服务如果链接需要局域网或者远程FreeSWITCH服务器,在需要conf/autoload_configs/event_socket.conf.xml中修改配置。 将需要<param name="l
阅读全文
摘要:这个参数定义了呼叫中主叫信息的头字段类型。支持两种类型: 1. rpidRemote-Party-ID头,这是默认的设置。{sip_cid_type=rpid}sofia/default/user@example.com此时送出去的SIP消息头的主叫信息字段示例:Remote-Party-ID: "
阅读全文
摘要:1.查询系统用户:sofia status profile internal reg2.客户端登陆:fs_cli -H 127.0.0.1 -P 8021 -p hmzj 3.查询当前通道 show channels like sofia/external/show channels like so
阅读全文
摘要:一.默认方式:媒体通过freeswitch, RTP被freeswtich转发,freeswitch控制编码的协商并在协商不一致时提供语音编码转换能力,支持录音,二次拨号等。 二.代理模式: 媒体通过freeswitch转发,但是不处理媒体,RTP通过freewtich转发(只改动sdp c= ip
阅读全文
摘要:uuid_audio 或者 <action application="set_audio_level" data="read 2"/> <action application="set_audio_level" data="write 2"/> 但是一般不建议使用!!!
阅读全文
摘要:一种: 就是用mod_native_file模块提供的功能, 只录原始数据(性能待验证), 二种:就是用oreka和FS对接配置oreka.conf.xml 把数据中转至oreka上去做实时处理和分析(性能需要调优)三种:voipmonitor等外挂式的工具, 直接抓取某一物理网卡上的SIP RTP
阅读全文
摘要:问题:FreeSWITCH录音需要大约5秒的时间才能捕获到RTP流。 解决:FreeSWITCH默认的录音参数配置是开启缓冲的(可能是内核缓存)即RTP流大小到达65536字节写一次文件,想更接近实时流,关闭缓冲区即可。 action application=“set” data=“enable_f
阅读全文
摘要:修改internal.xml中 inbound-use-callid-as-uuid <param name="inbound-use-callid-as-uuid" value="true"/>
阅读全文
摘要:1.编译vars.xml文件 上面为注释,下面为新增。指定系统音乐文件路径,reloadxml即可!
阅读全文
摘要:1.修改fs配置文件后,reloadxml控制台上报错误。 2,控制台日志显示 error near line 7301]:missing>] 查询 log 下的 freeswitch.xml.fsxml 7301 行 定位查找拨号计划为0911的配置文件。
阅读全文
摘要:1.uuid_bridge 桥接两条呼叫的腿。 Usage: uuid_bridge <uuid> <other_uuid> uuid_bridge至少需要有一条腿是被呼通的。 2.uuid_chat 发送聊天信息 Usage: <uuid> <text> 如果和会话(session,由uuid指定
阅读全文