Hi Mattew,

To get the message-id, i dont think we have a provision in the kannel to
get it, but there is a way if UR SMSC provides the message-id in the
deliver report, for the msg submitted to the SMSC, then u can ask for a
deliver report for the msg submited and then store the msg-id from the
deliver report sent by UR SMSC.

On Wed, 2005-01-26 at 22:41, Matthew Hixson wrote:
> In bearerbox.log I see this:
> 
> SMPP PDU 0x81a00a0 dump:
> 2005-01-26 09:02:42 [394] [7] DEBUG:   type_name: submit_sm
> 2005-01-26 09:02:42 [394] [7] DEBUG:   command_id: 4 = 0x00000004
> 2005-01-26 09:02:42 [394] [7] DEBUG:   command_status: 0 = 0x00000000
> 2005-01-26 09:02:42 [394] [7] DEBUG:   sequence_number: 1154 =  
> 0x00000482
> 2005-01-26 09:02:42 [394] [7] DEBUG:   service_type: NULL
> 2005-01-26 09:02:42 [394] [7] DEBUG:   source_addr_ton: 1 = 0x00000001
> 2005-01-26 09:02:42 [394] [7] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2005-01-26 09:02:42 [394] [7] DEBUG:   source_addr: "55416"
> 2005-01-26 09:02:42 [394] [7] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 2005-01-26 09:02:42 [394] [7] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2005-01-26 09:02:42 [394] [7] DEBUG:   destination_addr: "4252837796"
> 2005-01-26 09:02:42 [394] [7] DEBUG:   esm_class: 3 = 0x00000003
> 2005-01-26 09:02:42 [394] [7] DEBUG:   protocol_id: 0 = 0x00000000
> 2005-01-26 09:02:42 [394] [7] DEBUG:   priority_flag: 0 = 0x00000000
> 2005-01-26 09:02:42 [394] [7] DEBUG:   schedule_delivery_time: NULL
> 2005-01-26 09:02:42 [394] [7] DEBUG:   validity_period: NULL
> 2005-01-26 09:02:42 [394] [7] DEBUG:   registered_delivery: 1 =  
> 0x00000001
> 2005-01-26 09:02:42 [394] [7] DEBUG:   replace_if_present_flag: 0 =  
> 0x00000000
> 2005-01-26 09:02:42 [394] [7] DEBUG:   data_coding: 0 = 0x00000000
> 2005-01-26 09:02:42 [394] [7] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2005-01-26 09:02:42 [394] [7] DEBUG:   sm_length: 5 = 0x00000005
> 2005-01-26 09:02:42 [394] [7] DEBUG:   short_message: "test\n"
> 2005-01-26 09:02:42 [394] [7] DEBUG: SMPP PDU dump ends.
> 2005-01-26 09:02:43 [394] [7] DEBUG: SMPP[wsc_wireless_services]: Got  
> PDU:
> 2005-01-26 09:02:43 [394] [7] DEBUG: SMPP PDU 0x81a00a0 dump:
> 2005-01-26 09:02:43 [394] [7] DEBUG:   type_name: submit_sm_resp
> 2005-01-26 09:02:43 [394] [7] DEBUG:   command_id: 2147483652 =  
> 0x80000004
> 2005-01-26 09:02:43 [394] [7] DEBUG:   command_status: 0 = 0x00000000
> 2005-01-26 09:02:43 [394] [7] DEBUG:   sequence_number: 1154 =  
> 0x00000482
> 2005-01-26 09:02:43 [394] [7] DEBUG:   message_id: "F39E35D"
> 
> I was hoping that Kannel 1.4.0 would send me the message_id value when  
> I used the escape code %I, however I'm seeing this instead.
> 
> /notification?smsc-id=wsc_wireless_services&smsid=da03662a-731a-4e22 
> -8a18 
> -2d982663eb4f&msg=ACK%2F&status=8&answer=ACK%2F&to=55416&from=4252837796 
> &time=2005-01-26+17:02:43
> 
> What is "da03662a-731a-4e22-8a18-2d982663eb4f" from?  I can't find it  
> anywhere in bearerbox.log.
>    Is there a way to get Kannel to send me the message_id value of  
> "F39E35D"?
>    Thanks,
>      -M@
> 
-- 
shyam kumar <[EMAIL PROTECTED]>
tanlasolutions ltd




*****************************************************************************

This e-mail and any files transmitted with it are for the sole use
of the intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the 
sender by reply e-mail and destroy all copies of the original message.
 
Any unauthorized review, use, disclosure, dissemination, forwarding, 
printing or copying of this email or any action taken in reliance on 
this e-mail is strictly prohibited and may be unlawful.

*****************************************************************************

Reply via email to