Re: [Kannel-Devel] SMS message ids in DLR reports generated by Kannel
Peter Beckman <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 27 Jan 2005, Matthew Hixson wrote: > Any chance we could get the dlr notification to include the message_ids that > can be found in bearerbox.log? More to the point: 2005-01-27 04:11:53 [30186] [8] DEBUG: SMPP PDU 0xb5d9d4b0 dump: 2005-01-27 04:11:53 [30186] [8] DEBUG: type_name: submit_sm_resp 2005-01-27 04:11:53 [30186] [8] DEBUG: command_id: 2147483652 = 0x80000004 2005-01-27 04:11:53 [30186] [8] DEBUG: command_status: 0 = 0x00000000 2005-01-27 04:11:53 [30186] [8] DEBUG: sequence_number: 6002 = 0x00001772 2005-01-27 04:11:53 [30186] [8] DEBUG: message_id: "18f9b0e8" 2005-01-27 04:11:53 [30186] [8] DEBUG: SMPP PDU dump ends. 2005-01-27 04:11:53 [30186] [8] DEBUG: DLR[internal]: Adding DLR smsc=mysmsc, ts=419016936, src=12345, dst=12125551212, mask=31, boxc=default 2005-01-27 04:11:53 [30186] [1] DEBUG: Dumping 0 messages and 0 acks to store 2005-01-27 04:11:53 [30186] [8] DEBUG: SMSC[mysmsc]: creating DLR message 2005-01-27 04:11:53 [30186] [8] DEBUG: SMSC[mysmsc]: DLR = http://localhost/dlr2.php?smsid=3228117&type=%d&to=%P&time=%t&resp=%a Kannel already takes a HEX message_id, and uses it as the information in the DLR: 0x18F9B0E8 == 419016936 decimal If it is already there, please add an escape code so that we might include the remote SMSC message ID in the kannel-generated DLR report of type=8. Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy [email protected] http://www.purplecow.com/ ---------------------------------------------------------------------------