[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kannel sms gateway



2009/7/15 Matteo Magni <matteo.magni@ilbonzo.org>:
> Ciao a tutti, qualcuno lo ha usato?
>

sto cercando di configurarlo per spedire e ricevere sms dal gateway
gsm attaccato alla seriale.

Ho trovato questo:

http://chipmunkninja.com/Setting-up-Configuring-and-Using-13@

ma se lancio ho questo errore

debiansms:/home/# /usr/sbin/smsbox -v 0 /etc/kannel/kannel.conf &
[1] 4992
2009-07-21 16:09:19 [4992] [0] INFO: Debug_lvl = 0, log_file = <none>,
log_lvl = 0
2009-07-21 16:09:19 [4992] [0] ERROR: Group does not contain variable 'group'.
2009-07-21 16:09:19 [4992] [0] ERROR: Error found on line 22 of file
`/etc/kannel/kannel.conf'.
2009-07-21 16:09:19 [4992] [0] PANIC: Couldn't read configuration from
`/etc/kannel/kannel.conf'.
debiansms:/home/# 2009-07-21 16:09:19 [4992] [0] PANIC:
/usr/sbin/smsbox(gw_panic+0x101) [0x8087051]
2009-07-21 16:09:19 [4992] [0] PANIC: /usr/sbin/smsbox(main+0x1372) [0x8053fe2]
2009-07-21 16:09:19 [4992] [0] PANIC:
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb78d1455]
2009-07-21 16:09:19 [4992] [0] PANIC: /usr/sbin/smsbox [0x80524c1]


questo è kannel.conf

#
# Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 13000

#bonzo
smsbox-port = 13001
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = ""
wapbox-port = 13002
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

#group = wapbox
#bearerbox-host = localhost
#log-file = "/var/log/kannel/wapbox.log"


#BONZO
#smscgroup
group = smsc
smsc = at
modemtype = auto
device =/dev/ttyS0
my-number = 3#########
connect-allow-ip = 127.0.0.1
log-level = 0

#smsbox group
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port=13013
global-sender=3##########
log-level=0

#sendsms group
group=sendsms-user
username=kanneluser
password=password
concatenation=true
max-messages = 10



qualcuno sa darmi un aiutino?



-- 
http://ilbonzo.org
tel: 051 0546614
via A. Spinelli 15
40068 San Lazzaro di Savena (BO)


Reply to: