can anyone help me set this up.
i am using a nokia 6600 as my virtual SMSC. im connecting it to my PC through Bluetooth. i tried using the rfcomm command to bind the rfcomm0 device with the bluetooth address of the phone and used channel 2. <1,3,9 and 10 are also available as shown by the "sdptool browse" command>. but i can't get the bearerbox running.

here's the SMSC group in my smskannel.conf..............

# SMSC GSM
group = smsc
smsc = at
modemtype = nokiaphone
device = /dev/rfcomm0
speed = 115200

in modems.conf................

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 = "SM"
enable-mms = true

here's the result when running bearbox with these confs.....

2006-03-15 12:21:27 [3670] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2006-03-15 12:21:27 [3670] [0] DEBUG: Loading include file `modems.conf' (on line 38 of file smskannel.conf).
2006-03-15 12:21:27 [3670] [0] WARNING: DLR: using default 'internal' for storage type.
2006-03-15 12:21:27 [3670] [0] INFO: DLR using storage type: internal
2006-03-15 12:21:27 [3670] [0] DEBUG: Kannel bearerbox version `1.4.0'.
Build `Mar  8 2006 14:18:52', compiler `3.4.2 20041017 (Red Hat 3.4.2-6.fc3)'.
System Linux, release 2.6.9-1.667, version #1 Tue Nov 2 14:41:25 EST 2004, machine i686.
Hostname x2.itso-xingu.com, IP 192.168.3.244.
Libxml version 2.6.23.
Using OpenSSL 0.9.7a Feb 19 2003.
Using native malloc.

2006-03-15 12:21:27 [3670] [0] INFO: Added logfile `/tmp/kannel.log' with level `0'.
2006-03-15 12:21:27 [3670] [0] INFO: HTTP: Opening server at port 13000.
2006-03-15 12:21:27 [3670] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2006-03-15 12:21:27 [3670] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2006-03-15 12:21:27 [3670] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2006-03-15 12:21:27 [3670] [0] DEBUG: starting smsbox connection module
2006-03-15 12:21:27 [3670] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2006-03-15 12:21:27 [3670] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 3670.
2006-03-15 12:21:27 [3670] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 3670.
2006-03-15 12:21:27 [3670] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 3670.
2006-03-15 12:21:27 [3670] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes)
2006-03-15 12:21:27 [3670] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2006-03-15 12:21:27 [3670] [0] INFO: DLR rerouting for smsc id <(null)> disabled.
2006-03-15 12:21:27 [3670] [0] INFO: AT2[/dev/rfcomm0]: configuration shows modemtype <nokiaphone>
2006-03-15 12:21:27 [3670] [0] DEBUG: AT2[/dev/rfcomm0]: Reading modem definitions from <smskannel.conf>
2006-03-15 12:21:27 [3670] [0] DEBUG: Loading include file `modems.conf' (on line 38 of file smskannel.conf).
2006-03-15 12:21:27 [3670] [0] DEBUG: AT2[/dev/rfcomm0]: Found <11> modems in config
2006-03-15 12:21:27 [3670] [0] INFO: AT2[/dev/rfcomm0]: read modem definition for <Nokia Phone>
2006-03-15 12:21:27 [3670] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread)
2006-03-15 12:21:27 [3670] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)
2006-03-15 12:21:27 [3670] [0] INFO: ----------------------------------------
2006-03-15 12:21:27 [3670] [0] INFO: Kannel bearerbox II version 1.4.0 starting
2006-03-15 12:21:27 [3670] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 3670.
2006-03-15 12:21:27 [3670] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 3670.
2006-03-15 12:21:27 [3670] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 3670.
2006-03-15 12:21:27 [3670] [6] INFO: AT2[/dev/rfcomm0]: opening device
2006-03-15 12:21:27 [3670] [0] INFO: MAIN: Start-up done, entering mainloop
2006-03-15 12:21:27 [3670] [0] DEBUG: AT2[/dev/rfcomm0]: start called
2006-03-15 12:21:27 [3670] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 3670.
2006-03-15 12:21:27 [3670] [7] DEBUG: sms_router: time to sleep
2006-03-15 12:21:27 [3670] [7] DEBUG: sms_router: list_len = 0
2006-03-15 12:21:57 [3670] [6] DEBUG: AT2[/dev/rfcomm0]: device opened
2006-03-15 12:21:57 [3670] [6] ERROR: AT2[/dev/rfcomm0]: at_data_link: fail to set termios attribute
2006-03-15 12:21:57 [3670] [6] ERROR: System error 5: Input/output error
2006-03-15 12:21:57 [3670] [6] DEBUG: AT2[/dev/rfcomm0]: device opened
2006-03-15 12:21:57 [3670] [6] INFO: AT2[/dev/rfcomm0]: init device
2006-03-15 12:21:57 [3670] [6] ERROR: AT2[/dev/rfcomm0]: at_data_link: fail to set termios attribute
2006-03-15 12:21:57 [3670] [6] ERROR: System error 5: Input/output error
2006-03-15 12:21:57 [3670] [6] INFO: AT2[/dev/rfcomm0]: speed set to 115200
2006-03-15 12:21:57 [3670] [6] DEBUG: AT2[/dev/rfcomm0]: --> ATZ^M
2006-03-15 12:21:57 [3670] [6] ERROR: AT2[/dev/rfcomm0]: Couldnot write to device.
2006-03-15 12:21:57 [3670] [6] ERROR: System error 5: Input/output error
2006-03-15 12:22:01 [3670] [6] ERROR: AT2[/dev/rfcomm0]: Opening failed. Terminating
2006-03-15 12:22:01 [3670] [6] INFO: AT2[/dev/rfcomm0]: closing device
2006-03-15 12:22:01 [3670] [6] INFO: AT2[/dev/rfcomm0]: opening device
2006-03-15 12:22:31 [3670] [6] DEBUG: AT2[/dev/rfcomm0]: device opened
2006-03-15 12:22:31 [3670] [6] ERROR: AT2[/dev/rfcomm0]: at_data_link: fail to set termios attribute
2006-03-15 12:22:31 [3670] [6] ERROR: System error 5: Input/output error
2006-03-15 12:22:31 [3670] [6] DEBUG: AT2[/dev/rfcomm0]: device opened
2006-03-15 12:22:31 [3670] [6] INFO: AT2[/dev/rfcomm0]: init device
2006-03-15 12:22:31 [3670] [6] ERROR: AT2[/dev/rfcomm0]: at_data_link: fail to set termios attribute
2006-03-15 12:22:31 [3670] [6] ERROR: System error 5: Input/output error
2006-03-15 12:22:31 [3670] [6] INFO: AT2[/dev/rfcomm0]: speed set to 115200
2006-03-15 12:22:31 [3670] [6] DEBUG: AT2[/dev/rfcomm0]: --> ATZ^M
2006-03-15 12:22:31 [3670] [6] ERROR: AT2[/dev/rfcomm0]: Couldnot write to device.
2006-03-15 12:22:31 [3670] [6] ERROR: System error 5: Input/output error
2006-03-15 12:22:35 [3670] [6] ERROR: AT2[/dev/rfcomm0]: Opening failed. Terminating
.......................

also, using the channels 1,2,3 and 10 triggers the phone to input a passcode for the computer ,<probably for pairing purposes> while channel 9 simply asks me if i would like to receive the message from my computer. im trying to find out if its teh configuration or the binding part. i despearately need help on this one. or if you could direct me to the answers i would greatly appreciate it. good day


Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.

Reply via email to