Hi, I agree that would be very useful as if anything goes wrong with the SMS you can go back to the mobile operator and ask for an explanation for that specific SMS. The mobile operator tracks their SMSs via the message_id which is unique per SMSC.
Is their anyway to retrieve the message_id given back by the SMSC after the SMS is sent? Or is anyone looking at developing code to retrieve this? Thanks -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter Beckman Sent: Tuesday, November 16, 2004 4:16 PM To: kannel users list Subject: Retrieving the SMSC Message ID for a queued message There's been a lot of talk on the list about DLRs, delivery reports, dlr-urls, dlrurls, etc. One thing I find sorely missing from the functionality of the delivery report is the SMSC's message ID. I give you an example: 2004-11-16 xx:xx:xx [xxxxx] [x] DEBUG: SMPP PDU 0x8122a00 dump: 2004-11-16 xx:xx:xx [xxxxx] [x] DEBUG: type_name: submit_sm_resp 2004-11-16 xx:xx:xx [xxxxx] [x] DEBUG: command_id: 2147483652 = 0x80000004 2004-11-16 xx:xx:xx [xxxxx] [x] DEBUG: command_status: 0 = 0x00000000 2004-11-16 xx:xx:xx [xxxxx] [x] DEBUG: sequence_number: 63 = 0x0000003f 2004-11-16 xx:xx:xx [xxxxx] [x] DEBUG: message_id: "1234abcd" 2004-11-16 xx:xx:xx [xxxxx] [x] DEBUG: SMPP PDU dump ends. 2004-11-16 xx:xx:xx [xxxxx] [x] DEBUG: DLR[internal]: Adding DLR smsc=xxxxx, ts=1234abcd, src=12345, dst=12345678910, mask=31, boxc=default 2004-11-16 xx:xx:xx [xxxxx] [x] DEBUG: SMSC[xxxxx]: creating DLR message 2004-11-16 xx:xx:xx [xxxxx] [x] DEBUG: SMSC[xxxxx]: DLR = http://xxx.xxx/dlr.php?smsid=xxx&time=%t&to=%P&type=%d&smscr=%A&msgno=%I&res p=%a I want 1234abcd to be passed back to be. In this message, I didn't see anything that would lead me to believe that the message_id passed back by my SMPP friend is able to be grabbed via DLR. Am I wrong? Or doesn't it exist? Internally I'm tracking my messages via smsid that I pass via the DLR. Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy [EMAIL PROTECTED] http://www.purplecow.com/ ---------------------------------------------------------------------------
