gnokii-users
[Top][All Lists]
Advanced

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

Ecotel ISDN2-1 and gnokii-smsd-mysql


From: Gálos András
Subject: Ecotel ISDN2-1 and gnokii-smsd-mysql
Date: Wed, 11 Jan 2006 19:29:30 +0100

Hi Folks,

I just tried gnokii to send smses via a Vierling Ecotel ISDN2-1 device on a
test Debian 3.1 system. Debian stable uses gnokii 0.6.5, so I tried that.

'gnokii --identify' identifies the device as a Siemens phone:
IMEI         : 351250009482924
Manufacturer : SIEMENS
Model        : TC35i
Revision     : REVISION 02.07

I can send smses with 'echo test | gnokii --sendsms ...' successfully.

But I'm in trouble with gnokii-smsd-mysql.
'smsd -u gnokii -p ... -d sms -c localhost -m mysql' starts up fine and
starts communicate with the device. But it queries the database only once,
then seems just waiting.

Then I turned on debugging in /etc/gnokiirc to see what happens in the
background. I found that smsd queries incoming smses from the device in an
infinite-looking loop. Let me paste some output:

Message sent: 0x60 / 0x000a
41 54 2b 43 4d 47 46 3d 30 0d                   | AT+CMGF=0
write: [AT+CMGF=0<cr>]
read : [AT+CMGF=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x60 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d |  AT+CMGF=0   OK
Received message type 60
PDU mode set
Message sent: 0x18 / 0x000d
41 54 2b 43 4d 47 52 3d 34 30 37 37 0d          | AT+CMGR=4077
write: [AT+CMGR=4077<cr>]
read : [AT+CMGR=4077<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x18 / 0x0016
03 41 54 2b 43 4d 47 52 3d 34 30 37 37 0d 0d 0a |  AT+CMGR=4077
45 52 52 4f 52 0d                               | ERROR
Received message type 18

This was the 4077th try to read an sms from the device. And smsd just reads
and reads.
While it communicates the device it doesn't check the outbox table in the
mysql backend to see if there are messages there to send out, it looks to me
smsd is busy with talking the device. It looks to me it thinks somehow that
there are smses in the device it has to read from it.
Anyway reading the first 25 smses returns OK, but from 26 the device gives
back ERROR.
I also tried providing '-s 25' in smsd's command line but no difference.

Anyway I also tried compiling 0.6.10 from source, but that failed with a cpp
error, after that I gave that up. Or do you think using the latest gnokii
version solves this issue? I'm afraid the problem is rather in the device
than in gnokii.

I hope you can help me to find what causes this problem and how could I
resolve it.

Waiting for your kind answer.
Regards,
Andras Galos





reply via email to

[Prev in Thread] Current Thread [Next in Thread]