kannel蓝牙配置需要

时间:2012-01-03 17:02:38

标签: kannel

我已经安装了kannel并且它正在工作,我不知道如何配置kannel.conf以便将短信从浏览器发送到蓝牙诺基亚手机。

http://127.0.0.1:13013/cgi-bin/sendsms?username=tester&password=foobar&to=+91XXXXXXXX&text=hello%20from%20kannel

i get   3: Queued for later delivery in browser

kannel.conf包含

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/tmp/kannel.log"
log-level = 0

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


group = sendsms-user
username = tester
password = foobar


#Nokia Modem

# SMSC GSM
group = smsc
smsc = at
smsc-id = nokia_smsc
modemtype = nokiaphone
device = /dev/rfcomm0
speed = 9600
pin = BlueZ


group = modems
id = nokiaphone
name = "Nokia Phone"
detect-string = "Nokia Mobile Phone"
init-string = "AT+CNMI=1,2,0,0,0"
speed = 115200
enable-hwhs = "AT+IFC=2,2"
need-sleep = false
no-pin = true
no-smsc = false
sendline-sleep = 100
keepalive-cmd = "AT+CBC;+CSQ"
broken = true
message-storage = "ME"
enable-mms = true

任何帮助都会有所帮助。

2 个答案:

答案 0 :(得分:1)

它是调制解调器问题...此消息表示kannel正确接收了短信,但不知道将其发送到何处和/或路由不可用。

检查日志和/或错误并将其粘贴到此处......我们可以为您提供进一步的帮助。

由于 :)

答案 1 :(得分:0)

最好使用USB调制解调器代替蓝牙。所有其他设置都是正确的。我在没有问题的情况下使用了Kannel。