Hi, Have you tried Benaiad's suggestion? If it didn't help please attach also the submit_sm PDU along with its corresponding submit_sm_resp.
Best to comment out paswords and IPs. BR, Nikos ----- Original Message ----- From: Hemant Gmail To: 'Nikos Balkanas' ; [email protected] Sent: Wednesday, October 28, 2009 6:25 AM Subject: RE: Message Length is invalid Hi Nikos, Please find below the logs. KANNEL CONFIGURATION ----------------------------------------------------------------------------- group = smsc smsc = smpp smsc-id = test-smsc host = ******** port = ****** smsc-username = "***" smsc-password = **** system-type = "" transceiver-mode = yes enquire-link-interval = 20 address-range = "" source-addr-ton = 1 source-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 msg-id-type = 0x01 allowed-smsc-id = test-smsc throughput = 50 max-sms-octets = 150 ---------------------------------------------------------------------------------- Kannel LOG ---------------------------------------------------------------------------------------------------------------------------- 2009-10-27 09:37:11 [10049] [7] DEBUG: SMPP[test-smsc]: Got PDU: 2009-10-27 09:37:11 [10049] [7] DEBUG: SMPP PDU 0x2aaaac0018b0 dump: 2009-10-27 09:37:11 [10049] [7] DEBUG: type_name: submit_sm_resp 2009-10-27 09:37:11 [10049] [7] DEBUG: command_id: 2147483652 = 0x80000004 2009-10-27 09:37:11 [10049] [7] DEBUG: command_status: 1 = 0x00000001 2009-10-27 09:37:11 [10049] [7] DEBUG: sequence_number: 22581 = 0x00005835 2009-10-27 09:37:11 [10049] [7] DEBUG: message_id: "00000000" 2009-10-27 09:37:11 [10049] [7] DEBUG: SMPP PDU dump ends. 2009-10-27 09:37:11 [10049] [7] ERROR: SMPP[test-smsc]: SMSC returned error code 0x00000001 (Message Length is invalid) in response to submit_sm. 2009-10-27 09:37:11 [10049] [7] DEBUG: Set split msg status to 3 2009-10-27 09:37:12 [10049] [7] DEBUG: SMPP[test-smsc]: Got PDU: 2009-10-27 09:37:12 [10049] [7] DEBUG: SMPP PDU 0x2aaaac0018b0 dump: 2009-10-27 09:37:12 [10049] [7] DEBUG: type_name: submit_sm_resp 2009-10-27 09:37:12 [10049] [7] DEBUG: command_id: 2147483652 = 0x80000004 2009-10-27 09:37:12 [10049] [7] DEBUG: command_status: 1 = 0x00000001 2009-10-27 09:37:12 [10049] [7] DEBUG: sequence_number: 22582 = 0x00005836 2009-10-27 09:37:12 [10049] [7] DEBUG: message_id: "00000000" 2009-10-27 09:37:12 [10049] [7] DEBUG: SMPP PDU dump ends. 2009-10-27 09:37:12 [10049] [7] ERROR: SMPP[test-smsc]: SMSC returned error code 0x00000001 (Message Length is invalid) in response to submit_sm. 2009-10-27 09:37:12 [10049] [7] DEBUG: Set split msg status to 3 2009-10-27 09:37:12 [10049] [7] DEBUG: SMPP[test-smsc]: Got PDU: 2009-10-27 09:37:12 [10049] [7] DEBUG: SMPP PDU 0x2aaaac0018b0 dump: 2009-10-27 09:37:12 [10049] [7] DEBUG: type_name: submit_sm_resp 2009-10-27 09:37:12 [10049] [7] DEBUG: command_id: 2147483652 = 0x80000004 2009-10-27 09:37:12 [10049] [7] DEBUG: command_status: 0 = 0x00000000 2009-10-27 09:37:12 [10049] [7] DEBUG: sequence_number: 22583 = 0x00005837 2009-10-27 09:37:12 [10049] [7] DEBUG: message_id: "108554B2" 2009-10-27 09:37:12 [10049] [7] DEBUG: SMPP PDU dump ends. 2009-10-27 09:37:12 [10049] [7] DEBUG: Parts of concatenated message failed. 2009-10-27 09:37:12 [10049] [7] DEBUG: SMPP[test-smsc]: Got PDU: 2009-10-27 09:37:12 [10049] [7] DEBUG: SMPP PDU 0x2aaaac0018b0 dump: 2009-10-27 09:37:12 [10049] [7] DEBUG: type_name: submit_sm_resp 2009-10-27 09:37:12 [10049] [7] DEBUG: command_id: 2147483652 = 0x80000004 2009-10-27 09:37:12 [10049] [7] DEBUG: command_status: 1 = 0x00000001 2009-10-27 09:37:12 [10049] [7] DEBUG: sequence_number: 22584 = 0x00005838 2009-10-27 09:37:12 [10049] [7] DEBUG: message_id: "00000000" 2009-10-27 09:37:12 [10049] [7] DEBUG: SMPP PDU dump ends. ---------------------------------------------------------------------------------------------------------------------------- Hope this helps. Please let me know if you need anything else. Regards, Hemant. From: Nikos Balkanas [mailto:[email protected]] Sent: Wednesday, October 28, 2009 8:52 AM To: Hemant Gmail; [email protected] Subject: Re: Message Length is invalid Hi, Please post detailed relevant logs and full configuration. BR, Nikos ----- Original Message ----- From: Hemant Gmail To: [email protected] Sent: Wednesday, October 28, 2009 4:34 AM Subject: Message Length is invalid Hello All, I have started getting the following error “SMSC returned error code 0x00000001 (Message Length is invalid) in response to submit_sm.” I have applied the below configuration parameters. sms-service: max-messages = 4 concatenation = true group = smsc max-sms-octets = 150 Am I missing something here? Please let me know. Regards, Hemant
