[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: have smsd call a script on incoming sms
From: |
Pawel Kot |
Subject: |
Re: have smsd call a script on incoming sms |
Date: |
Sun, 27 Feb 2011 10:27:01 +0100 |
Hi,
On Sun, Feb 27, 2011 at 01:53, Jon Berg <address@hidden> wrote:
> If you want to do something with an incoming sms and have a bit of snappy
> response I suppose the only way is to poll mysql database every 15 second.
> It is not that difficult to do, but if there is not that many incoming sms
> messages then it seems to generate a bit of unnecessary polling.
> Do you think it would be useful to have an option to be able to configure a
> script to be called after something was received?
You may either use the file smsd module, which has the action
explicitly defined.
Or, with mysql module, just create the trigger on the inbox table.
take care,
--
Pawel Kot