摘要: 这是一个linux常见命令的列表。那些有• 标记的条目,你可以直接拷贝到终端上而不需要任何修改,因此你最好开一个终端边读边剪切&拷贝。所有的命令已在Fedora和Ubuntu下做了测试命令描述•apropos whatis显示和word相关的命令。 参见线程安全•man-t man | ps2pdf... 阅读全文
posted @ 2014-05-12 09:47 RocTian 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Centos wav to slnsox foo-in.wav -t raw -r 8000 -s -2 -c 1 foo-out.sln当前目录下所有语音wav文件 转换成slnfor a in *.wav; do sox "$a" -t raw -r 8000 -s -2 -c 1 `echo $a|sed "s/.wav/.sln/"` resample -ql; donewav to gsmsox foo.wav -r 8000 -c1 foo.gsm resample -ql当前目录下所有语音wav文件 转换成gsmfor a in *.wav 阅读全文
posted @ 2013-09-12 11:17 RocTian 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 录音现象:1.录音文件的客户声音与座席声音错乱,客户声音在座席的声音前面2.不是所有声音都有,是通话时长长的(大约10分钟以上)比较多录音问题解决方案:1.时间同步,保证asterisk服务器和SIP网关时间同步,最好都与授时中心同步2.网关VAD禁用3.MixMonitor更换为Monitor方式(最终问题解决方式,测试成功) 阅读全文
posted @ 2013-05-09 15:59 RocTian 阅读(801) 评论(0) 推荐(0) 编辑
摘要: 12.4.ConfiguringyumBy default,yumis configured through/etc/yum.conf. The following is an example of a typical/etc/yum.conffile:[main]cachedir=/var/cache/yumkeepcache=0debuglevel=2logfile=/var/log/yum.logpkgpolicy=newestdistroverpkg=redhat-releasetolerant=1exactarch=1obsoletes=1gpgcheck=1plugins=1met 阅读全文
posted @ 2013-02-25 21:08 RocTian 阅读(1122) 评论(0) 推荐(0) 编辑
摘要: 当已经安装好freeswitch,需要安装一个未安装的模块步骤1.进入freeswitch-version源码目录修改module.conf 启动你的安装的模块如mod_cdr_pg_csv2.进入src/mod目录下,make mod_cdr_pg_csv3.回到源码跟目录make mod_cdr_pg_csv-install 阅读全文
posted @ 2012-12-30 17:04 RocTian 阅读(913) 评论(0) 推荐(0) 编辑
摘要: 报错[CRIT] switch_core_sqldb.c:433 Failure! ODBC NOT AVAILABLE!意思是odbc不可用1.首先检查unixODBC与unixODBC-devel安装是否有问题,在看下isql -v DSN是否能连接上Check you have theunixodbc development package installed when building (usuallyunixodbc-dev orunixodbc-devel).2.如果安装都没问题,那就可能是安装时没有./configure--enable-core-odbc-support,在进入 阅读全文
posted @ 2012-12-30 16:58 RocTian 阅读(979) 评论(1) 推荐(0) 编辑
摘要: 1.You'll likely need to install the development package for libeventUbuntu:apt-get install libevent-devRedhat/Fedora:yum install libevent-develGetwget http://memcached.googlecode.com/files/memcached-1.4.15.tar.gztar -zxvf memcached-1.x.x.tar.gzcd memcached-1.x.xConfigOptional install destination 阅读全文
posted @ 2012-12-20 16:11 RocTian 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明http://vontall.blogbus.com/logs/42854811.htmlAsterisk Dialplan Commands常规命令Authenticate:鉴别用户VMAuthenticate:根据“voicemail.conf”鉴别用户Bridge:连接两个专用来话 (1.6+)ChannelRedirect:重定向现有的通道到拨号计划Curl:允许接受外部的URLs。并且支持POSTing,不支持CURL。DUNDiLookup:用DUNDi查寻号码Log:向日志文件中添加文件 (1.6+)JabberSe 阅读全文
posted @ 2012-12-08 14:30 RocTian 阅读(690) 评论(0) 推荐(0) 编辑
摘要: Linux下如何查看版本信息, 包括位数和多核信息,今天我们就来一起看看linux 查看版本信息以及查看CPU内核信息、CPU具体型号等等,整个CPU信息一目了然。相信不会让大家失望。# uname -aLinux euis1 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux(Linux查看版本当前操作系统内核信息)# cat /etc/issue | grep LinuxRed Hat Enterprise Linux AS release 4 (Nahant Update 5)(Linux 阅读全文
posted @ 2012-11-27 11:38 RocTian 阅读(255) 评论(0) 推荐(0) 编辑
摘要: !ExecuteashellcommandagidumphtmlDumpsalistofAGIcommandsinHTMLformatagiexecAddAGIcommandtoachannelinAsyncAGIagisetdebug[on|off]Enable/DisableAGIdebuggingagishowcommands[topic]ListAGIcommandsorspecifichelpaocsetdebugenableclidebuggingofAOCmessagescccancelKillaCCtransactionccreportstatusReportsCCstatsc 阅读全文
posted @ 2012-11-14 22:30 RocTian 阅读(972) 评论(0) 推荐(0) 编辑