Hi all!

Does Kannel support Nokia 6110/6150 as SMSC at all?

I am trying to use Nokia 6110 and 6150 phones as SMSC with Kannel,
connected to PC with DAU-9P data cable. According to logs Kannel
initializes connection to the phone, but Kannel does not read arriving
messages. Another thing that makes me feel that Kannel does not get any
connection at all is that when I connect to the phone with gnokii, the
phone says "Accessory connected" before transmission starts, but with
Kannel this never happens.

I am using Kannel CVS snapshot of 2002-02-06 and at2 gateway. I also
tried with at gateway and with Kannel 1.1.5 with similar results.
2002-02-27 nightly build panicced with at2, so I could test it.

Am I doing something wrong, or should I just go to shop and buy an 6210
and data cable or internal "GSM modem"?

Attached is my configuration file and bearerbox log.

group = smsc
smsc = at2
smsc-id = gsm-modem
modemtype = nokiaphone
device = /dev/ttyS0
keepalive = 4


Bearerbox log when using 2002-02-06 nightly build:
2002-03-28 01:07:46 [0] INFO: ----------------------------------------
2002-03-28 01:07:46 [0] INFO: Kannel bearerbox II version cvs starting
2002-03-28 01:07:46 [0] DEBUG: Started thread 1
(gw/bb_store.c:store_cleanup)
2002-03-28 01:07:46 [0] INFO: SSL not supported, no SSL initialization
done.
2002-03-28 01:07:46 [0] DEBUG: HTTP: Opening server at port 13000.
2002-03-28 01:07:46 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2002-03-28 01:07:46 [0] DEBUG: Started thread 3
(gwlib/http.c:server_thread)
2002-03-28 01:07:46 [0] DEBUG: Started thread 4
(gw/bb_http.c:httpadmin_run)
2002-03-28 01:07:46 [0] DEBUG: starting smsbox connection module
2002-03-28 01:07:46 [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2002-03-28 01:07:46 [0] DEBUG: Started thread 6
(gw/smsc_fake.c:fake_listener)
2002-03-28 01:07:46 [0] INFO: configuration shows modemtype=nokiaphone
2002-03-28 01:07:46 [0] INFO: configured for modem-id 5
2002-03-28 01:07:46 [0] INFO: configured for speed 9600
2002-03-28 01:07:46 [0] DEBUG: Started thread 7
(gw/smsc_at2.c:at2_device_thread)
2002-03-28 01:07:46 [0] DEBUG: Started thread 8
(gw/bb_smscconn.c:sms_router)
2002-03-28 01:07:46 [0] INFO: Store-file size 0, starting to unpack
2002-03-28 01:07:46 [0] INFO: Retrieved 0 messages, non-acknowledged
messages: 0
2002-03-28 01:07:46 [0] INFO: MAIN: Start-up done, entering mainloop
2002-03-28 01:07:46 [0] DEBUG: smsc_fake: start called
2002-03-28 01:07:46 [0] DEBUG: smsc_at2: start called
2002-03-28 01:07:46 [7] INFO: AT2[/dev/ttyS0]: opening device
2002-03-28 01:07:46 [7] DEBUG: AT2[/dev/ttyS0]: device opened
2002-03-28 01:07:46 [7] INFO: AT2[/dev/ttyS0]: speed set to 9600
2002-03-28 01:07:46 [8] DEBUG: sms_router: time to sleep
2002-03-28 01:07:46 [8] DEBUG: sms_router: list_len = 0
2002-03-28 01:07:47 [7] DEBUG: AT2[/dev/ttyS0]: device opened
2002-03-28 01:07:47 [7] INFO: AT2[/dev/ttyS0]: init device
2002-03-28 01:07:47 [7] INFO: AT2[/dev/ttyS0]: speed set to 9600
2002-03-28 01:07:47 [7] DEBUG: AT2[/dev/ttyS0]: --> AT^M


Bearerbox log when using 1.1.5:
2002-03-27 22:58:05 [0] INFO: Kannel bearerbox II version 1.1.5 starting
2002-03-27 22:58:05 [0] DEBUG: Started thread 1
(gw/bb_store.c:store_cleanup)
2002-03-27 22:58:05 [0] DEBUG: HTTP: Opening server at port 13000.
2002-03-27 22:58:05 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2002-03-27 22:58:05 [0] DEBUG: Started thread 3
(gwlib/http.c:server_thread)
2002-03-27 22:58:05 [0] DEBUG: Started thread 4
(gw/bb_http.c:httpadmin_run)
2002-03-27 22:58:05 [0] DEBUG: starting smsbox connection module
2002-03-27 22:58:05 [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2002-03-27 22:58:05 [0] DEBUG: Started thread 6
(gw/smsc_fake.c:fake_listener)
2002-03-27 22:58:06 [0] DEBUG: AT: Command: ATE0
2002-03-27 22:58:16 [0] ERROR: Failed to create Smsc wrapper
2002-03-27 22:58:16 [0] PANIC: Cannot start with SMSC connection failing
2002-03-27 22:58:37 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl
= 0
2002-03-27 22:58:37 [0] DEBUG: Kannel bearerbox version `1.1.5'.


Bearerbox log when using 2002-03-27 nightly build:
2002-03-27 23:23:02 [0] DEBUG: Started thread 1
(gw/bb_store.c:store_cleanup)
2002-03-27 23:23:02 [0] INFO: SSL not supported, no SSL initialization
done.
2002-03-27 23:23:02 [0] DEBUG: HTTP: Opening server at port 13000.
2002-03-27 23:23:02 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2002-03-27 23:23:02 [0] DEBUG: Started thread 3
(gwlib/http.c:server_thread)
2002-03-27 23:23:02 [0] DEBUG: Started thread 4
(gw/bb_http.c:httpadmin_run)
2002-03-27 23:23:02 [0] DEBUG: starting smsbox connection module
2002-03-27 23:23:02 [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2002-03-27 23:23:02 [0] DEBUG: Started thread 6
(gw/smsc_fake.c:fake_listener)
2002-03-27 23:23:02 [0] INFO: AT2[gsm-modem]: configuration shows
modemtype <nokiaphone>
2002-03-27 23:23:02 [0] DEBUG: AT2[gsm-modem]: Reading modem definitions
from <smskannel.conf>
2002-03-27 23:23:02 [0] DEBUG: Loading include file
`/opt/kannel/kannel-snapshot/doc/modems.conf' (on line 52 of file
smskannel.conf).
2002-03-27 23:23:02 [0] DEBUG: AT2[gsm-modem]: Found <10> modems in
config
2002-03-27 23:23:02 [0] ERROR: Start marker was damaged for area
0x81f5330
2002-03-27 23:23:02 [0] ERROR: Could not find area information.
2002-03-27 23:23:02 [0] PANIC: gwlib/octstr.c:2070: seems_valid_real:
Assertion `gw_check_is_allocated(ostr)' failed. (Called from
gwlib/octstr.c:247:octstr_destroy.)

-- 
Jari Juslin, Development Team Leader   MatchEm Ltd   
[EMAIL PROTECTED]                http://www.matchem.com/
Mob. +358-44-380 0012                  fax: +358-9-644 091

Reply via email to