DEBUG:路由失败,重新排队。的Kannel

时间:2014-10-15 05:04:54

标签: ubuntu-14.04 modem sms-gateway kannel

您好我正在尝试设置Kannel 1.4.3来发送和接收短信。但我收到路由失败错误 错误:AT2 [Huawei-E220-00]:无法连接(10秒后重试)。

浏览器中的消息:

3:排队等待以后交付

详细说明:

调制解调器 - 华为e220 Sim - AT& T. 操作系统 - Ubuntu 14.04 LTS

如果以下smskannel.conf中有任何错误,请告诉我:

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

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"

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

group = smsc
smsc = at
smsc-id = Huawei-E220-00
port = 10000
modemtype = huawei_e220_00
device = /dev/ttyUSB0
sms-center = +13123149810
my-number = +1xxxxxxxxxx
connect-allow-ip = 127.0.0.1
sim-buffering = true
keepalive = 5

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

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013

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

group = sendsms-user
username = tester
password = foobar

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

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

group = sms-service
keyword = default
text = "No service specified"

group = sms-service
keyword = complex
catch-all = yes
accept-x-kannel-headers = true
max-messages = 3
concatenation = true
get-url = "http://127.0.0.1:13013/cgi-bin/sendsms?username=tester&password=foobar&to=+16782304782&text=Hello World"

#---------------------------------------------
# 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 = 460800`

0 个答案:

没有答案