You can't get it, except from the log file, or via DLR.

There was a big fight over it a few months back, about protecting the code
and not making the code too specific; I don't know if anyone ever made a
patch.

Beckman

On Thu, 14 Apr 2005, Anand Gupta wrote:

Here is the response from my smsc while sending a message

2005-04-14 14:16:41 [15081] [7] DEBUG: SMPP[smsc11]: Got PDU:
2005-04-14 14:16:41 [15081] [7] DEBUG: SMPP PDU 0x87a7a18 dump:
2005-04-14 14:16:41 [15081] [7] DEBUG:   type_name: submit_sm_resp
2005-04-14 14:16:41 [15081] [7] DEBUG:   command_id: 2147483652 = 0x80000004
2005-04-14 14:16:41 [15081] [7] DEBUG:   command_status: 0 = 0x00000000
2005-04-14 14:16:41 [15081] [7] DEBUG:   sequence_number: 5 = 0x00000005
2005-04-14 14:16:41 [15081] [7] DEBUG:   message_id: "GFN1421584"
2005-04-14 14:16:41 [15081] [7] DEBUG: SMPP PDU dump ends.
2005-04-14 14:16:41 [15081] [7] DEBUG: DLR[internal]: Adding DLR
smsc=smsc1, ts=GFN1421584, src=gldf, dst=+xxxxxxxxx, mask=31, boxc=
2005-04-14 14:16:41 [15081] [7] DEBUG: SMSC[smsc1]: creating DLR message
2005-04-14 14:16:41 [15081] [7] DEBUG: SMSC[smsc1]: DLR =
http://xxx.xxx.xxx/dlr.php?type=%d&slid=54&uid=1&dlr-rep=%A&others=%t++++%i++++%I++++%u++++

Now i am trying to get the message_id "GFN1421584" which is being returned
in response to the submit_sm_resp. This is the message id i need to track
messages from my smsc. What should i use to pass that to the url so i can
track it.

I see 049ddeb5-64fb-44ec-b0af-3adc094f91d1 as the id inside access.log. I
guess this is some internal message id. What i want is the message id from
the smsc.

Any help would be highly appreciated.

--
regards,

Anand


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



Reply via email to