2014年9月7日

端口映射工具--socat

摘要: 需求有些服务器没有公网IP, 在有公网IP的服务器上把端口映射出去。这样的需求有很多实现, 我比较钟爱socat, 简单就是美。示例脚本新建一个文件叫intershow.sh/usr/local/socat/bin/socat -d -d -lf /var/log/socat.log TCP4-LI... 阅读全文

posted @ 2014-09-07 17:32 cn三少<script></script> 阅读(1901) 评论(0) 推荐(0)

freeswitch 接通后再录音

摘要: 需求录音时不要将前置媒体录制进去.用法参考http://wiki.freeswitch.org/wiki/Variable_media_bug_answer_req 阅读全文

posted @ 2014-09-07 17:30 cn三少<script></script> 阅读(3350) 评论(0) 推荐(0)

freeswitch 挂断前执行脚本

摘要: 通道变量名api_hangup_hook介绍在挂断时执行指定API命令示例originate {api_hangup_hook='lua confhanguphook.lua',session_in_hangup_hook=true}user/1000 &echo() 阅读全文

posted @ 2014-09-07 17:28 cn三少<script></script> 阅读(2067) 评论(0) 推荐(0)

导航