On Fri, 29 Jul 2005, enzo labrador wrote:

Is it normal that the dlr that came from smsc takes quite long to deliver back to kannel?I was thinking the DLR should be returned a couple of seconds after it was sent. I'm getting DLR of type 1 and sometime type 2. Is it an indication that the dlr came from smsc and not from kannel?

 Here's the process, as I understand it.

 sendSMS --> You (kannel) --> SMSC --> Carrier --> Handset
        "Sent."           16|8     4           2|1

 DLR's occur upon every --> except the first, which is the http submit to
 kannel in the first place. Where do they come from?

 DLR ==16 Kannel --> DLR-URL
 DLR == 8 Kannel --> DLR-URL
 DLR == 4 SMSC --> Kannel --> DLR-URL
 DLR == 2 Carrier --> SMSC --> Kannel --> DLR-URL
 DLR == 1 Carrier --> SMSC --> Kannel --> DLR-URL

 At 16 & 8, Kannel gets a response from the SMSC upon the sm_submit.
 Either they accept (8) or reject (16).

 At 4, The SMSC submits the SMS to the Carrier, and the carrier either
 accepts (4) or rejects (??? I believe 2, but I don't know... it may be
 16).

 At 2 and 1, the Carrier submits the message to the phone, and either the
 phone is available on the network and is sent (1), or it is not available
 (or the phone rejects it, or many other things) and you get a (2).

 Sometimes the handset will go off-network, and your SMS will get stuck at
 DLR == 4... then the handset comes back 3 hours/3 days later, and voila,
 you get an update to your message of DLR == 1.  Sometimes the carrier will
 immediately accept then fail the message when the handset is roaming, and
 sometimes it will accept and hold until either it gets delivered, or
 fails.

 Sometimes the carrier doesn't tell you, because they don't know.
 Sometimes the carrier holds the message, but then expires them and doesn't
 tell you it failed.
 Sometimes the SMSC doesn't pass along messages from the carrier back to
 you.

 How's that?  It's VERY inconsistent, especially carrier to carrier, but
 even within a carrier sometimes.  Fun, eh?

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

Reply via email to