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
要做什么? |
指引 |
下载固件 |
F:\newifi\openwrt-ramips-mt7620a-Lenovo-y1-squashfs-sysupgrade.bin |
设置openwrt的vlan |
参考上一节 |
上传固件 |
进入恢复模式 (参考http://bbs.zuk.cn/yinghuo/t3244/) 1,修改本地IP地址为192.168.1.x 2,拔掉路由器WAN口网线和电源线,按住reset,然后插上电源,通电后保持按住reset键不大约3秒不放,此时如果USB灯和2.4G灯同时闪烁,证明当前已进入恢复模式 3,打开浏览器,输入192.168.1.1进入固件恢复页面
|
安装设置 asterisk |
|
安装设置 chandongle |
1,使用系统--》软件包进入安装界面,可以搜索安装 2,安装之后,使用ssh连接 3,输入命令“module show”查看已安装的模块,没有找到,为啥呢? 4,尝试使用“module load chan_dongle.so”自己加载,结果报错 WARNING[2566]: loader.c:835 inspect_module: Module 'chan_dongle.so' was not compiled with the same compile-time options as this version of Asterisk
相关连接 1,https://lists.openwrt.org/pipermail/openwrt-devel/2011-October/012603.html |
Ssh设置 |
|
编译openwrt |
|
设置华为e1750 dongle 为modem模式 |
??
|
如何连接到已经运行的asterisk service |
/usr/sbin/asterisk -rvvvgc |
Chan_dongle常见用法 |
dongle show devices
|
How can get user inputs from called party after dial |
Link: http://lists.digium.com/pipermail/asterisk-users/2010-July/250899.html
1, exten => s,n,Read(numb,,10)
exten => s,n,NoOp(${numb}) |