2

I have installed kannel and it is working , i am not sure how to configure kannel.conf so that sms is sent from browser to blue tooth nokia phone.

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 contains

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

any help would be helpful.

4

2 回答 2

1

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

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

谢谢 :)

于 2012-03-27T15:02:50.393 回答
0

您最好使用 USB 调制解调器而不是蓝牙。所有其他设置都是正确的。我正在使用 Kannel 没有问题。

于 2015-07-23T00:35:38.997 回答