Re: Determining Success or Failure

2005-09-23 Thread Linkas




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.





RE: Determining Success or Failure

2005-09-23 Thread Alejandro Ramírez












Why dont you give SQLBOX a try it has
helped me a lot!



Alejandro



-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre
de Brent Goldspring
Enviado el: Jueves, 22 de
Septiembre de 2005 11:55 p.m.
Para: users@kannel.org
Asunto: Determining Success or
Failure







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.



Regards,

Brent