Carlos,

For sure, the error means that the Bearerbox can't find the device. You should check the device address again.

Personally I have not been successful connecting a bluetooth device with Kannel. Only serial and USB.

Eduardo

Carlos Ruiz Diaz wrote:
Hello all.
I am new in kannel  but once I started it keeps very busy :) .
I am testing the gateway and when I ran bearerbox I get the following
error again and again:

2008-10-15 10:41:50 [6373] [6] DEBUG: AT2[/dev/rfcomm0]: <-- ERROR
2008-10-15 10:41:50 [6373] [6] ERROR: AT2[/dev/rfcomm0]: Generic error: ERROR
2008-10-15 10:41:50 [6373] [6] ERROR: AT2[/dev/rfcomm0]: Opening
failed. Terminating

When i first configure it I use the system device /dev/ttyACM0 but i
replaced it with a bluetooth connection trough /dev/rfcomm0.
My phone is a nokia n80 and i am pretty sure that it's working fine.

The following conf snippet is /etc/kannel.conf:

include = "/usr/src/gateway-1.4.1/doc/examples/modems.conf"

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = test
#log-file = "/tmp/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

group = smsc
smsc = at
modemtype = auto
#modemtype = nokia-n80
#device=/dev/ttyACM0
device=/dev/rfcomm0
my-number = +595981xxxxxx  #I remove part of the number
sms-center = +595981yyyyyy  #I remove part of the number
connect-allow-ip = 127.0.0.1
log-level = 0

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = +595981xxxxxx
log-level = 0

group = sendsms-user
username = tester
password = test
concatenation= true
max-messages = 10

group = sms-service
keyword =
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = "http://localhost/sms?phone=%p&text=%a";


I don't know exactly how is the format of my-number. I guess that is
"+" + DDI + operator-prefix + user-number.

Thanks in advance. Any help will be highly appreciated!


Reply via email to