Huawei E173 3G Modem & Chan-Dongle for Asterisk 13

Huawei E1691 Specifications: AWS 1700/2100; GSM 1900/1800/900/850 MHz

lsusb: Bus 002 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd. Broadband stick (modem on)
sudo apt-get install usb-modeswitch
Edit /etc/usb_modeswitch.conf
#————–
# Huawei E1692
DefaultVendor= 0x12d1
DefaultProduct= 0x1446

TargetVendor= 0x12d1
TargetProduct= 0x140c

MessageContent=”55534243000000000000000000000011060000000000000000000000000000″

CheckSuccess=5
#—————————–

sudo usb_modeswitch -I -W -c /etc/usb_modeswitch.conf
#———-
found USB ID 12d1:140c
vendor ID matched
product ID matched
….

Found target device, open it

Found target device 004 on bus 002

Target device description data
————————-
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
————————-
Found correct target device

Mode switch succeeded. Bye!
#—————————–
lsusb: Bus 002 Device 004: ID 12d1:140c Huawei Technologies Co., Ltd. E180v

USB device 12d1:140c is handled in recent kernels by the option driver.

Usage of chan_dongle in Asterisk
wget https://github.com/jstasiak/asterisk-chan-dongle/archive/asterisk11.zip
wget https://github.com/oleg-krv/asterisk-chan-dongle/archive/asterisk13.zip

Compile

Edit: dongle.conf

module load chan_dongle.so

chan_dongle CLI commands and dialplan howto: chan-dongle-use

发表评论

电子邮件地址不会被公开。 必填项已用*标注