On Tue, 1 Jun 2004, Julien Buratto wrote: > My problem is about the fact that if no smsc are connected to the bearerbox, > then the smsbox (that it's the real incoming door for sms) will always get > "Sent." even if the sms has not been sent to the smsc.
That's because the smsbox has successfully queued it with YOUR SMS Gateway. The DLR's purpose is to report back when the bearerbox sends the message to the SMSC. Smsbox would have to block messages from being accepted and would be significantly slower if it had to wait to see what the bearerbox did with it. smsbox will always reply "Sent" unless you had something wrong, like a bad user. DLR's purpose is to let you know when the message was sent to the SMSC. If you set the DLR when you send your message to the SMSbox/sendsms, then when the message is finally sent, the DLR URL will be called and you will be notified (if you've set up your DLR URL to notify you in some way). To reiterate -- sendsms and the smsbox only accept valid messages and respond as "sent" but the sent refers to sending to the bearerbox, not that the message was successfully sent to the SMSC. THE DLR URL is what is used to notify "you" of a success or failure in sending that sms to the SMSC. Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy [EMAIL PROTECTED] http://www.purplecow.com/ ---------------------------------------------------------------------------
