Huawei E1750 Asterisk

http://wiki.e1550.mobi/doku.php?id=installation

https://wiki.asterisk.org/wiki/display/AST/Mobile+Channel+Requirements

 https://www.google.com.hk/search?lr=lang_zh-CN|lang_zh-TW&newwindow=1&safe=off&client=ubuntu&hs=BLR&channel=fs&biw=1024&bih=601&tbs=lr%3Alang_1zh-CN|lang_1zh-TW&q=Asterisk+%E5%85%A5%E9%97%A8&oq=Asterisk+%E5%85%A5%E9%97%A8&gs_l=serp.3..0i30l2.10364.13197.0.13493.8.6.2.0.0.0.78.349.6.6.0.msedr...0...1c.1.60.serp..2.6.259.EPlQlQS8Ix4

 

Asterisk權威指南- 維基教科書,自由的

asterisk入門| 在水一方

Asterisk 入门教程_百度文库

Asterisk新手经常问及的问题(zz) - 技术文

 

/usr/sbin/asterisk -vvvgc

CLI>module load chan_dongle.so
CLI>module unload chan_dongle.so
CLI>module reload chan_dongle.so


Hello world example http://www.informit.com/articles/article.aspx?p=1439183&seqNum=2

Using your favorite console text editor 2 enter the following text into /etc/asterisk/extensions.conf:

[default]
exten => 1001,1,Answer()
exten => 1001,2,Playback(hello-world)
exten => 1001,3,Hangup()
*CLI> console dial 1001
*CLI>  << Console call has been answered >>
 << Hangup on console >>

*CLI>


客户端
F:\eyeBeam\eyeBeam

vmware 桥接 上网

Setting up the Asterisk HTTP server - Asterisk Project Wiki

 

俺的设置

 

extensions.conf定义接收电话规则(以9开头的通过dongle打出去外线,其余的)

[default]
exten => 1001,1,Answer()
exten => 1001,n,Playback(hello-world)
exten => 1001,n,SayDigits(${EXTEN:1})
exten => 1001,n,Playback(hello-world)
exten => 1001,n,SayDigits(${num})
exten => 1001,n,Hangup()

exten => 2000,1,Dial(SIP/2000,20)
exten => 2000,2,VoiceMail(2000,u)

exten => 2001,1,Dial(SIP/2001,20)
exten => 2001,2,VoiceMail(2001,u)

exten => 2999,1,VoiceMailMain(${CALLERID(num)},s)

exten => _9X.,1,Dial(Dongle/dongle0/${EXTEN:1})

sip.conf定义sip账号

[general]
port=5060
bindaddr=0.0.0.0

[2000]
type=friend
secret=1234
host=dynamic

[2001]
type=friend
secret=1234
host=dynamic

 

你可能感兴趣的:(AS)