Kannel 1.4.3华为e220初始化错误Ubuntu 14.04 LTS


0

我是Kannel的新手。尝试使用带有华为e220调制解调器的Kannel 1.4.3设置短信发送/接收。操作系统:Ubuntu 14.04 lts。

我在bearerbox中收到此错误:

2014-10-15 20:55:50 [3425] [6] DEBUG: AT2[Huawei-E220-00]: --> AT+CSCA="my number"
2014-10-15 20:55:51 [3425] [6] DEBUG: AT2[Huawei-E220-00]: <-- ERROR
2014-10-15 20:55:51 [3425] [6] ERROR: AT2[Huawei-E220-00]: Generic error: ERROR
2014-10-15 20:55:51 [3425] [6] ERROR: AT2[Huawei-E220-00]: Initialization of device failed.
2014-10-15 20:55:51 [3425] [6] INFO: AT2[Huawei-E220-00]: Closing device
2014-10-15 20:55:51 [3425] [6] ERROR: AT2[Huawei-E220-00]: Couldn't connect (retrying in 10 seconds).

无法从minicom AT命令重置CSCA,它会产生ERROR。

这是我的smskannel.conf设置:

#---------------------------------------------
# CORE
#

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo 
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem" 
#ssl-certkey-file = "mycertandprivkeyfile.pem"

#---------------------------------------------
# SMSC CONNECTIONS
#

group = smsc
smsc = at
smsc-id = Huawei-E220-00
port = 10000
modemtype = huawei_e220_00
device = /dev/ttyUSB0
sms-center = "my number"
my-number = "my number"
connect-allow-ip = 127.0.0.1
sim-buffering = true
keepalive = 5
log-level = 0

#---------------------------------------------
# SMSBOX SETUP
#

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = "my number"
#sendsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
log-level = 0
#access-log = "/tmp/access.log"

#---------------------------------------------
# SEND-SMS USERS
#

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""
concatenation= true
max-messages = 10

#---------------------------------------------
# SERVICES
#

group = sms-service
keyword = default
catch-all = yes
max-messages = 0
#get-url = "http://127.0.0.1:13013/cgi-bin/sendsms?username=tester&password=foobar&    to=number&text=Hello"
get-url = http://localhost/sms?phone=%p&text=%a

#---------------------------------------------
# MODEMS
#
group = modems
id = huawei_e220_00
name = "Huawei E220"
detect-string = "huawei"
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
message-storage = "SM"
need-sleep = true
speed = 9600 

有人可以帮忙吗?
Chaitanya Dvsk 2014年

Answers:


0

Kannel有很多问题。您尝试启动Kannel时是否使用USB调制解调器连接互联网?如果是这样,请断开互联网连接并尝试。

USB端口是否正常工作?有时,一些USB调制解调器会给Kannel带来问题。所以尝试另一个模型。我正在使用华为E173 for Kannel。它工作正常。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.