Hi,

I am still rather new at setting up tlv, so what I am about to say could be
very nieve / incorrect.

What is the error message that you get if you set the length of the tlv to
something like 1, what I have noted im my case is that it would tell you
what length to give tlv if the length that I set is too small.

The reason that I suggest this is that I think the problem could be that the
tlv is trying to retrieve to much info and therefore interfering with the
message, but as I say I am by no means a expert just trying to help




On 4 June 2010 17:41, Thomas Hansen <hansen...@gmail.com> wrote:

> Hi ,
>
> This is regarding that Kannel drops incoming message larger then 160
> characters.
>
>
> Is there a way to fix this?
>
> Where do I Define  smpp-tlv group for 0x0424?
> Thanks in advance.
>
>
>
> 2010-06-04 14:31:57 [1944] [7] DEBUG:   user_message_reference: 186 =
> 0x000000ba
> 2010-06-04 14:31:57 [1944] [7] DEBUG: SMPP PDU dump ends.
> 2010-06-04 14:31:57 [1944] [7] DEBUG: SMPP[ft-smsc01]: UDH length read as 0
> 2010-06-04 14:31:57 [1944] [7] DEBUG: SMPP[ft-smsc01]: Sending PDU:
> 2010-06-04 14:31:57 [1944] [7] DEBUG: SMPP PDU 0x8865c18 dump:
> 2010-06-04 14:31:57 [1944] [7] DEBUG:   type_name: deliver_sm_resp
> 2010-06-04 14:31:57 [1944] [7] DEBUG:   command_id: 2147483653 = 0x80000005
> 2010-06-04 14:31:57 [1944] [7] DEBUG:   command_status: 0 = 0x00000000
> 2010-06-04 14:31:57 [1944] [7] DEBUG:   sequence_number: 98 = 0x00000062
> 2010-06-04 14:31:57 [1944] [7] DEBUG:   message_id: NULL
> 2010-06-04 14:31:57 [1944] [7] DEBUG: SMPP PDU dump ends.
> 2010-06-04 14:31:58 [1944] [7] DEBUG: Optional parameter tag (0x0204)
> 2010-06-04 14:31:58 [1944] [7] DEBUG: Optional parameter length read as 2
> 2010-06-04 14:31:58 [1944] [7] DEBUG: Optional parameter tag (0x1401)
> 2010-06-04 14:31:58 [1944] [7] DEBUG: Optional parameter length read as 13
> 2010-06-04 14:31:58 [1944] [7] WARNING: SMPP: Unknown
> TLV(0x1401,0x000d,31303036303431343238343000) for PDU type (deliver_sm)
> received!
> 2010-06-04 14:31:58 [1944] [7] DEBUG: Optional parameter tag (0x0424)
> 2010-06-04 14:31:58 [1944] [7] DEBUG: Optional parameter length read as 14
> 2010-06-04 14:31:58 [1944] [7] ERROR: SMPP: Optional field
> (message_payload) with invalid length (14) (should be 0 - 65536) dropped.
> 2010-06-04 14:31:58 [1944] [7] DEBUG: SMPP[ft-smsc01]: Got PDU:
> 2010-06-04 14:31:58 [1944] [7] DEBUG: SMPP PDU 0x8865be0 dump:
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   type_name: deliver_sm
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   command_id: 5 = 0x00000005
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   command_status: 0 = 0x00000000
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   sequence_number: 99 = 0x00000063
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   service_type: NULL
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   source_addr_ton: 1 = 0x00000001
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   source_addr: "298243390"
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   destination_addr: "298220039"
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   esm_class: 64 = 0x00000040
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   protocol_id: 0 = 0x00000000
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   priority_flag: 0 = 0x00000000
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   schedule_delivery_time: NULL
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   validity_period: NULL
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   registered_delivery: 0 = 0x00000000
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   replace_if_present_flag: 0 =
> 0x00000000
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   data_coding: 0 = 0x00000000
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   sm_length: 0 = 0x00000000
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   short_message: ""
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   user_message_reference: 187 =
> 0x000000bb
> 2010-06-04 14:31:58 [1944] [7] DEBUG: SMPP PDU dump ends.
> 2010-06-04 14:31:58 [1944] [7] DEBUG: SMPP[ft-smsc01]: UDH length read as 0
> 2010-06-04 14:31:58 [1944] [7] DEBUG: SMPP[ft-smsc01]: Sending PDU:
> 2010-06-04 14:31:58 [1944] [7] DEBUG: SMPP PDU 0x8865d08 dump:
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   type_name: deliver_sm_resp
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   command_id: 2147483653 = 0x80000005
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   command_status: 0 = 0x00000000
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   sequence_number: 99 = 0x00000063
> 2010-06-04 14:31:58 [1944] [7] DEBUG:   message_id: NULL
> 2010-06-04 14:31:58 [1944] [7] DEBUG: SMPP PDU dump ends.
>
> --
> --------------------------------------------------
> Blíðar Heilsur /  Best Regards
> Thomas Hansen
>
> @:            hansen...@gmail.com
>
>
>  please don't print this e-mail unless you really need to
>
>


-- 
FONTERA - Expanding your Mobile Horizon
www.fontera.com

Office: +27 21 439 9059
Mobile: +27 82 820 3587

Confidentiality: This email is from Fontera. The contents are confidential
and may be protected by professional privilege. The contents are intended
only for the named recipient of this email. If you are not the intended
recipient you are hereby notified that any use, reproduction, disclosure or
distribution of the information contained in this email is prohibited. If
you have received this email in error, please reply to us immediately and
delete the document.

VIRUSES: Any loss/damage incurred by using this material is not the sender's
responsibility. Fontera's entire liability will be limited to re-supplying
the material. No warranty is made that this material is free from computer
virus or defect.

Reply via email to