When you use the HTTP portion of the smsbox to send your SMS, you are
getting a response from the smsbox, not the bearerbox.

The smsbox takes your message, checks to see that you have all the minimum
necessary variables set and set correctly, then accepts the message, and
tells you that it as accepted the message by replying with "Sent."

The bearerbox is completely separate.  This is when the DLR comes into
usefulness -- to find out if the message was accepted by the SMSC or not.

I put each message into a mysql database, and use the primary key as the
smsid in my DLR url, then wrote a PHP script to update the row for that SMS
with the DLR and any other information passed back by the DLR report URL.

Beckman

On Fri, 30 Jul 2004, Roberto Carlos Navas wrote:

> Just wondering why if giving a well setup Kannel SMS gateway, using an
> SMSC over SMPP, I always receive the "Sent." HTTP response when sending
> over the sendsms interface, even when the SUBMIT_SM fails (on the SMPP
> side of the connection)???
> Am I missing something??
> I have enabled the store-file parameter on the bearerbox, so kannel
> always retries messages on the store when the SMSC responds with a
> negative ACK (submit_sm_resp status != 0).
> No matter if I enable or disable the store-file, It always responds
> with "Sent.", but watching the bearerbox logs, the message fails to
> reach the SMSC, since it receives an SMPP error code.
>
> Is it that the "Sent." only means it was sent from smsbox to the
> bearerbox succesfully??
>
> Thanks in advance for any reply,
> ______________________________________________
> Roberto Carlos Navas
> SubGerente T�cnico de Internet
> Telemovil El Salvador
> Centro Financiero Gigante, Torre "D", Piso 9
> San Salvador, El Salvador
> Mobile: +503 8832010
> NOC: +503 2080008
> Fax: +503 2809450
>
>

---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
[EMAIL PROTECTED]                             http://www.purplecow.com/
---------------------------------------------------------------------------

Reply via email to