How would you pass the message_id received by Kannel in the submit_sm_resp, used to send the SMS, to the dlr_url for processing? Does anyone have a hack for this?
Thanks -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rodrigo A. Cremaschi Sent: Wednesday, November 17, 2004 5:46 AM To: kannel users list Subject: Re: Retrieving the SMSC Message ID for a queued message I support the idea of retrieving the message_id as a proof the message was handled to the SMSC. When we cannot use DLR's, due to an added traffic cost for the SMSC, this is a near perfect solution for an ESME. I suggest simply logging the message_id, no need to be part of the DLR mechanism. Rodrigo Cremaschi ----- Original Message ----- From: "Peter Beckman" <[EMAIL PROTECTED]> To: "kannel users list" <[EMAIL PROTECTED]> Sent: Tuesday, November 16, 2004 9:15 PM 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/ > -------------------------------------------------------------------------- - Este mensaje se dirige exclusivamente a su destinatario y puede contener información CONFIDENCIAL sometida a secreto profesional o cuya divulgación esté prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía o por teléfono (54.11 5776-5000) y proceda a su destrucción. Nótese que el correo electrónico vía Internet no permite asegurar ni la confidencialidad de los mensajes que se transmiten ni la correcta recepción de los mismos. En caso de que el destinatario de este mensaje no consintiera la utilización de correo electrónico vía Internet rogamos lo ponga en nuestro conocimiento de manera inmediata.