On Mon, 31 May 2004, Julien Buratto wrote:
> Actually the smsbox prints "Sent." on the web interface if called
> by a browser when an sms is sent.
>
> This "Sent." only means "Hey Dude, the bearerbox got the called".
>
> The bearerbox opens the smsc connection and tries to send the message.
> If achieved, stores a DLR and waits for a response from the carrier.
>
> If the carrier sends the DLR, bearerbox deletes the DLR row stored before
> and invoke a
> HTTP-GET request to a web page configured.
>
> What I would like to GET is if the smsc will take care of the message or
> not.
I use a DLR to invoke an HTTP-GET when the message is delivered/deleted or
whatnot. The bearerbox handles whether or not the message is actually
delivered to the SMSC, and thus should give you a DLR report on that
message when the smsc connection does become available.
See dlrmask and dlrurl in the kannel.org documentation. Since you can
write a script to handle the DLR URL GET, you can put it in a database or
update a row in a DB based on the ID you put in your DLR URL.
With my messages, the DLR URL looks like this:
http://host/dlr.php?smsid=%d& some other stuff I can't remember.
Before I "send" the message to the smsbox I insert a row with an SMS id
(auto-incremented). That is the ID I include in the dlrurl variable I
pass to sendsms.
Beckman
---------------------------------------------------------------------------
Peter Beckman Internet Guy
[EMAIL PROTECTED] http://www.purplecow.com/
---------------------------------------------------------------------------