0

I've a Problem with the gammu smsd-daemon. I wan't to customize some mysql querys to write something into my database.

I found this http://wammu.eu/docs/manual/smsd/sql.html#gammu-smsd-sql

So I added this line to my config:

[sql]

refresh_phone_state = "UPDATEstatesetsignal='%2',battery='%1' WHEREid='1'"

Then I killed all smsd Instances and restarted the smsd-daemon but the refresh_phone_state is always the same, my table state is never touched:

May 24 18:43:01 debian gammu-smsd[2567]: Execute SQL: UPDATEphonesSETTimeOut= (NOW() + INTERVAL 10 SECOND)+0,Battery= 0,Signal= 57 WHEREIMEI= '354483029016862'

My config file is this: http://pastie.org/pastes/3961819/text?key=kbkpmkalyybediaqxfb1a

What did I wrong?

4

1 回答 1

0

I figured out the Problem, I used gammu from the Debian Stable, so I had an older Version.

customization of the sql querys is since this version: 20101202 - 1.28.93

于 2012-05-28T09:31:13.017 回答