possible reason could be:

2012-11-12 17:34:41 [11250] [7] WARNING: SMPP[SMPPSim]: Mallformed addr
`9908', generally expected at least 7 digits.

try using well-formatted destination address

2012/11/12 techbrainless <[email protected]>

> Thanks Selenium Software for your reply ,
>
> now the udh([udh:050003510403]) appears in kannel logs but after very long
> time of sending the message ( between 30 minutes to 1 hour)
>
> I can see the message logs in bearbox , but can not reach kannel fastly but
> it takes long time to received by kannel.
>
> after sending the message from smpp simulator the logs are as the following
>
> bearbox logs
> 2012-11-12 17:34:41 [11250] [7] DEBUG: SMPP[SMPPSim]: Got PDU:
> 2012-11-12 17:34:41 [11250] [7] DEBUG: SMPP PDU 0x8f473a8 dump:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   type_name: deliver_sm
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   command_id: 5 = 0x00000005
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   command_status: 0 = 0x00000000
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   sequence_number: 43 = 0x0000002b
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   service_type: NULL
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   source_addr_ton: 1 = 0x00000001
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   source_addr: "4477665544"
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   destination_addr: "9908"
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   esm_class: 64 = 0x00000040
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   protocol_id: 0 = 0x00000000
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   priority_flag: 0 = 0x00000000
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   schedule_delivery_time: NULL
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   validity_period: NULL
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   registered_delivery: 0 =
> 0x00000000
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   replace_if_present_flag: 0 =
> 0x00000000
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   data_coding: 0 = 0x00000000
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   sm_length: 10 = 0x0000000a
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   short_message:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    Octet string at 0x8f3f9f0:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:      len:  10
> 2012-11-12 17:34:41 [11250] [7] DEBUG:      size: 11
> 2012-11-12 17:34:41 [11250] [7] DEBUG:      immutable: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:      data: 05 00 03 51 04 03 20 73
> 61
> 74                     ...Q.. sat
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    Octet string dump ends.
> 2012-11-12 17:34:41 [11250] [7] DEBUG: SMPP PDU dump ends.
> 2012-11-12 17:34:41 [11250] [7] WARNING: SMPP[SMPPSim]: Mallformed addr
> `9908', generally expected at least 7 digits.
> 2012-11-12 17:34:41 [11250] [7] DEBUG: SMPP[SMPPSim]: UDH length read as 6
> 2012-11-12 17:34:41 [11250] [7] DEBUG: Got part 3 [ref 81, total parts 4]
> of
> message from +4477665544. Dump follows:
> 2012-11-12 17:34:41 [11250] [7] DEBUG: Msg object at 0x8f47d48:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  type: sms
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.sender:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  Octet string at 0x8f3f9a0:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    len:  11
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    size: 12
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    immutable: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    data: 2b 34 34 37 37 36 36 35 35
> 34 34                  +4477665544
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  Octet string dump ends.
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.receiver:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  Octet string at 0x8f4a408:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    len:  5
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    size: 6
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    immutable: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    data: 2b 39 39 30 38
> +9908
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  Octet string dump ends.
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.udhdata:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  Octet string at 0x8f47ec8:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    len:  6
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    size: 7
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    immutable: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    data: 05 00 03 51 04 03
> ...Q..
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  Octet string dump ends.
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.msgdata:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  Octet string at 0x8f4a498:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    len:  4
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    size: 5
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    immutable: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    data: 20 73 61 74
> sat
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  Octet string dump ends.
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.time: 1352730881
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.smsc_id:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  Octet string at 0x8f47e88:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    len:  7
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    size: 8
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    immutable: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:    data: 53 4d 50 50 53 69 6d
> SMPPSim
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  Octet string dump ends.
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.smsc_number:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.foreign_id:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.service:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.account:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.id:
> bb8262a7-687f-49aa-8964-c5682bcc1331
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.sms_type: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.mclass: -1
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.mwi: -1
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.coding: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.compress: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.validity: -1
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.deferred: -1
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.dlr_mask: -1
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.dlr_url:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.pid: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.alt_dcs: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.rpi: -1
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.charset:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.boxc_id:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.binfo:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.msg_left: -1
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.split_parts: (nil)
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.priority: 0
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.resend_try: -1
> 2012-11-12 17:34:41 [11250] [7] DEBUG:  sms.resend_time: -1
> 2012-11-12 17:34:41 [11250] [7] DEBUG: Msg object ends.
> 2012-11-12 17:34:41 [11250] [7] DEBUG: SMPP[SMPPSim]: Sending PDU:
> 2012-11-12 17:34:41 [11250] [7] DEBUG: SMPP PDU 0x8f47738 dump:
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   type_name: deliver_sm_resp
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   command_id: 2147483653 =
> 0x80000005
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   command_status: 0 = 0x00000000
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   sequence_number: 43 = 0x0000002b
> 2012-11-12 17:34:41 [11250] [7] DEBUG:   message_id: NULL
> 2012-11-12 17:34:41 [11250] [7] DEBUG: SMPP PDU dump ends.
>
>
> kannel logs is empty
>
>
>
> --
> View this message in context:
> http://kannel.6189.n7.nabble.com/Udh-always-0-and-can-not-send-long-messages-using-SMPPSim-tp27314p27337.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
>
>

Reply via email to