首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > PB >

筹建自己的PBX-asterisk

2012-07-20 
搭建自己的PBX-asterisk原文地址:http://blog.tech4k.com/?p23不小心看到了Cisco加入开源推广Asterisk.忠

搭建自己的PBX-asterisk
原文地址:http://blog.tech4k.com/?p=23
不小心看到了Cisco加入开源推广Asterisk.忠心一片的我当然要看看这是啥东西。不堪不知道,居然据说要replace call manager.然后好奇心强烈的我当然要看看怎么让它run起来。run起来以后当然要找Phone来用咯。79XX貌似很难配置的样子,突然之间发现原来还有传说中的free SIP softphones –X Lite.于是Asterisk + Xlite 3的组合就诞生了了。晚上终于自己革自己打了第一个电话,特此纪念。?Asterisk的安装Asterisk主页Asterisk on UbuntuAsterisk quickstart入门级的安装几乎没有任何要求?Asterisk GUI的安装AstRecipes ? Installing the Asterisk GUI?Xlite的安装X Lite 3XLite and Asterisk?基本的配置就是两个电话,两个线路sip.conf

[1000]
type=friend
secret=1000
callerid="Jane Smith" <1000>
host=dynamic
canreinvite=no??????????????? ; Typically set to NO if behind NAT
disallow=all
allow=gsm???????????????????? ; GSM consumes far less bandwidth than G711-u (ulaw)
allow=ulaw
allow=alaw
dtmfmode=rfc2833
context=xiuxiu

[2000]
type=friend
secret=2000
callerid="Jane Smith" <2000>
host=dynamic
canreinvite=no??????????????? ; Typically set to NO if behind NAT
disallow=all
allow=gsm???????????????????? ; GSM consumes far less bandwidth than G711-u (ulaw)
allow=ulaw
allow=alaw
dtmfmode=rfc2833
context=xiuxiu

[callmanager]
type=friend
context=xiuxiu
host=*.*.*.*disallow=all
allow=ulaw
allow=alaw
nat=no
canreinvite=yes
qualify=yes

extensions.conf

[xiuxiu]

exten => 1/1000,1,Answer()
exten => 1/1000,2,Dial(SIP/2000)
exten => 1/1000,3,Hangup()
exten => 1/2000,1,Answer()
exten => 1/2000,2,Dial(SIP/1000)
exten => 1/2000,3,Hangup()?exten => 9000,1,Answer()
exten => 9000,2,Dial(SIP/1000)
exten => 9000,3,Hangup()exten => 5555,1,Dial(SIP/5555@*.*.*.*,30,rT)
exten => 5555,2,Hangup()下一步的课题
    sip.conf的配置extension.conf的配置(重点,dianplan的编写)asterisk与79XX的连接配置asterisk与CallManager的连接配置 (完成,已更新) Asterisk and Call Managerasterisk的VoiceMail功能sip协议深入(重点)

热点排行