Hello,
 
I've just downloaded and installed Kannel 1.4.0 and now I'm trying to send SMS over an Siemens S35i mobile phone connected via /dev/ttyS0.
My SMSC part of the config is this:
group = smsc
smsc = at
modemtype = auto
device = /dev/ttyS0
speed = 19200 (I've also tried it with 9600 which doesn't work either)
 
As modem used:
group = modems
id = siemens_s35i
name = "S35"
detect-string = "SIEMENS"
detect-string2 = "s35i"
 
Starting bearbox with this config prints the following log output:
2005-03-09 19:31:23 [15118] [0] INFO: AT2[/dev/ttyS0]: configuration doesn't show modemtype. will autodetect
2005-03-09 19:31:23 [15118] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread)
2005-03-09 19:31:23 [15118] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)
2005-03-09 19:31:23 [15118] [0] INFO: ----------------------------------------
2005-03-09 19:31:23 [15118] [0] INFO: Kannel bearerbox II version 1.4.0 starting
2005-03-09 19:31:23 [15118] [0] INFO: MAIN: Start-up done, entering mainloop
2005-03-09 19:31:23 [15118] [0] DEBUG: AT2[/dev/ttyS0]: start called
2005-03-09 19:31:23 [15118] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 15118.
2005-03-09 19:31:23 [15118] [7] DEBUG: sms_router: time to sleep
2005-03-09 19:31:23 [15118] [7] DEBUG: sms_router: list_len = 0
2005-03-09 19:31:23 [15118] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 15118.
2005-03-09 19:31:23 [15118] [6] DEBUG: AT2[/dev/ttyS0]: detecting modem type
2005-03-09 19:31:23 [15118] [6] INFO: AT2[/dev/ttyS0]: opening device
2005-03-09 19:31:23 [15118] [6] DEBUG: AT2[/dev/ttyS0]: device opened
2005-03-09 19:31:24 [15118] [6] DEBUG: AT2[/dev/ttyS0]: device opened
2005-03-09 19:31:24 [15118] [6] INFO: AT2[/dev/ttyS0]: speed set to 19200
2005-03-09 19:31:24 [15118] [6] DEBUG: AT2[/dev/ttyS0]: --> ^M
2005-03-09 19:31:26 [15118] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M
2005-03-09 19:31:30 [15118] [6] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M
2005-03-09 19:31:34 [15118] [6] DEBUG: AT2[/dev/ttyS0]: detecting modem type
2005-03-09 19:31:34 [15118] [6] INFO: AT2[/dev/ttyS0]: opening device
2005-03-09 19:31:34 [15118] [6] WARNING: AT2[/dev/ttyS0]: trying to open device with not closed device!!! Please report!!!
2005-03-09 19:31:34 [15118] [6] INFO: AT2[/dev/ttyS0]: closing device
2005-03-09 19:31:34 [15118] [6] DEBUG: AT2[/dev/ttyS0]: device opened
2005-03-09 19:31:35 [15118] [6] DEBUG: AT2[/dev/ttyS0]: device opened
2005-03-09 19:31:35 [15118] [6] INFO: AT2[/dev/ttyS0]: speed set to 19200
 
It tries over and over again and the only thing I see is the warning.
 
I tried sending an SMS using http:
hostname:13013/cgi-bin/sendsms?username=tester&password=foobar&to=12345678&text=Hello
which says "Sent", no error message.
 
Can somebody help me with this problem? Might this be a problem with the AT2 init string or something like that?
 
Best Regards,
Tom

--
Thomas Hofmann, System Administrator, IT
3SOFT GmbH - Member of the Elektrobit Group
Frauenweiherstr. 14, 91058 Erlangen, Germany
Phone: +49-9131-7701-284, mailto: [EMAIL PROTECTED]
Fax: +49-9131-7701-333, http://www.3SOFT.de

PGP-Key: http://keyserver.3soft.de

 

Reply via email to