09 2014 档案

-bash: crontab: command not found(转)
摘要:操作步骤1.确认crontab是否安装:执行crontab命令如果报commandnotfound,就表明没有安装2.安装crontab执行yuminstall-yvixie-cron3.确认是否安装成功:执行crontab-l4.看是否设置了开机自动启动chkconfig--listcrond5.... 阅读全文

posted @ 2014-09-28 18:05 cn三少<script></script> 阅读(320) 评论(0) 推荐(0) 编辑

端口映射工具--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> 阅读(1883) 评论(0) 推荐(0) 编辑

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

posted @ 2014-09-07 17:30 cn三少<script></script> 阅读(3310) 评论(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> 阅读(2023) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示