Brent Goldspring wrote:
Hello all,
We are using Kannel
with a GSM modem: what is the
quickest and easiest way (for an application) to determine if the modem
sent
the SMS or not? I do not need delivery reports, just wether the modem
said,
“OK” or “Error”. Am I going to have to run a web-server and use dlr-url
etc? I
could probably parse the bearerbox access log, but that is a bit ugly,
clunky
and will get really slow when the log gets full.
DLR url is quick, easy and no time consuming for you as soon as you
have a webserver running, but can also implement it as a simple
listening port 80 on that machine.
Don't use dlr-mask 31 but a simple 28 (error+sent to smsc+queued to
smsc)
Parsing logs it's a very bad idea I think, it's really better than to
modify the C code of the log writing snip.