Hmm. Interesting. I misspelled "DLR" to "DKR" and I think this caused the 
problem. When asking for detailed DLR excerpt from bb logs, I didn't have half 
a PDU in mind! Are you trying to save lines on copy and paste? Please resubmit 
the whole PDU entry from bb logs. 

Nikos
  ----- Original Message ----- 
  From: Latitude Test 
  To: users 
  Sent: Friday, October 16, 2009 11:21 AM
  Subject: getting delivery report: delivery failure






  This is what I see in the log:

  DEBUG: data: 69 64 3a 32 34 35 31 37 33 33 31 33 34 20 73 75 id:2451733134 su
  DEBUG: data: 62 6d 69 74 20 64 61 74 65 3a 30 39 31 30 31 33 bmit date:091013
  DEBUG: data: 30 37 30 34 20 64 6f 6e 65 20 64 61 74 65 3a 30 0704 done date:0
  DEBUG: data: 39 31 30 31 33 30 39 35 31 20 73 74 61 74 3a 44 910130951 stat:D
  DEBUG: data: 45 4c 49 56 52 44 ELIVRD
  DEBUG: Octet string dump ends.
  DEBUG: SMPP PDU dump ends.
  DEBUG: SMPP[abc3] handle_pdu, got DLR
  DEBUG: SMPP[abc3]: Couldnot parse DLR string sscanf way,fallback to old way. 
Please report!
  DEBUG: DLR[internal]: Looking for DLR smsc=abc3, ts=2451733134, 
dst=491733114042, type=2
  DEBUG: DLR[internal]: created DLR message for URL 
<http://192.xxx.xxx.xxx:80/DServlet?dlrStatus=%d&dlrData=%A> 



  2009/10/13 Nikos Balkanas <nbalka...@gmail.com>


    Hi,

    Please post detailed bb logs with the respond_sm PDU from your SMSc. I 
suspect that your SMSc is sending the wrong DKR.

    BR,
    Nikos
      ----- Original Message ----- 
      From: Latitude Test 
      To: users 
      Sent: Tuesday, October 13, 2009 2:15 PM
      Subject: getting delivery report: delivery failure


      Hi all,

      My kannel is configured to send me delivery reports for the SMS messages:

      ?dlrStatus=%d&dlrData=%A&dlr-mask=7

      From Kannel docs:
            1: delivery success
            2: delivery failure
            4: message buffered
            8: smsc submit
            16: smsc reject
            
      I was getting the correct response codes from Kannel but as soon as I 
switched to another SMSC (SMPP), I am always getting status 2 (failure)
      ?dlrStatus=2... even though the message gets delivered to the device. 

      What could be the problem here? How Kannel maps the return codes from 
SMSC to the standard codes?

      Thanks a lot.




Reply via email to