02 2012 档案

摘要:今天找资料时候,发现这文章写的比较全面。转过来,以备查找。Asterisk译为星号(*)在很多应用中被用做通配符,Astrisk做为PBX系统的完美名称,原因之一是Asterisk可以连接数目庞大的接口类型,包括: 1模拟接接口,如你的电话线或模拟电话. 2数字线路,如T-1和E-1线路 3Voip协议,如SIP和IAX 目前正式版本是IAX2,但是IAX1的所有格式都已经停掉.所以当说到IAX都是特拽IAX2 使用接口配置文件 1.Zaptel.conf:硬件接口基层配置,我们将建立一个FX0和一个FXS通道. 2.zapata.conf:硬件配置Asterisk的接口. ... 阅读全文
posted @ 2012-02-26 07:34 孙同海 阅读(999) 评论(4) 推荐(1) 编辑
摘要:目录说明/etc/asteriskAsterisk主目录,包含其它关于Asterisk的配置文件; *zaptel.conf这个配置文件放在/etc,因为其它软件也可以使用Zaptel这个硬件及其驱动,所以不是放在/etc/asterisk里./usr/lib/asterisk/modules这个目录包含所有可以加载Asterisk模块(应用程序/编辑器/格式和有用通道),在Asterisk启运时会加载这些模块(可以编辑modules.conf)./var/lib/asterisk比较重要的是astdb文件与agi-bin目录; astdb包含Asterisk当地数据库信息.sounds/.. 阅读全文
posted @ 2012-02-08 09:29 孙同海 阅读(363) 评论(0) 推荐(1) 编辑
摘要:Asterisk配置文件说明列表名称描述asterisk.conf主配置文件,通知Asterisk环境目录位置,包含其他所有配置文件所包含的目录,缺省Asterisk会在/etc/asterisk/目录下找到,也可以通过命令参数使用不同的asterisk.confzaptel.conf配置板卡驱动,配置通道adtranvofr.conf配置帧中继语音通道agents.conf配置代理通道h323.conf配置H323通道iax.conf配置IAX通道mgcp.conf配置MGCP(媒体网关控制协议,应用于多媒体网关单元之间)modem.conf配置ISDN,不是modemphone.conf. 阅读全文
posted @ 2012-02-08 09:27 孙同海 阅读(1337) 评论(0) 推荐(1) 编辑
摘要:Fun with the CRM StringMapEver wonder how (or where) CRM stores the related values for picklists? The answer is in the Stringmap table. Unfortunately, there's not a quick and easy method for looking at and comparing picklist values in CRM - you're pretty much stuck with the In this post, I&# 阅读全文
posted @ 2012-02-01 11:53 孙同海 阅读(391) 评论(0) 推荐(0) 编辑
摘要:1.FOR XML RAW 2.FOR XML AUTO3.FOR XML EXPLICIT4.更改显示Tag为中文5.同表 多层6.异表 多层7.处理数据及日期等的Null值==================数据库Person表中的数据为personName personAge lisi 30 zhangsan 30 1. ----------[ RAW ]---------SELECT [personName], [personAge] FROM [TestDB].[dbo].[person]FOR XML RAW结果:<row personName="lisi &quo 阅读全文
posted @ 2012-02-01 11:51 孙同海 阅读(243) 评论(0) 推荐(0) 编辑