Alejandro, 
Copy the logs. 
A clarification: the error response is sent by ESME on purpose.  

Regards.
G


DEBUG: new group created `smpp'
DEBUG: SMPP[smsc2-TX]: Sending PDU:
DEBUG: SMPP PDU 0x101527e0 dump:
DEBUG:   type_name: submit_sm
DEBUG:   command_id: 4 = 0x00000004
DEBUG:   command_status: 0 = 0x00000000
DEBUG:   sequence_number: 64 = 0x00000040
DEBUG:   service_type: NULL
DEBUG:   source_addr_ton: 2 = 0x00000002
DEBUG:   source_addr_npi: 1 = 0x00000001
DEBUG:   source_addr: "77832274"
DEBUG:   dest_addr_ton: 2 = 0x00000002
DEBUG:   dest_addr_npi: 1 = 0x00000001
DEBUG:   destination_addr: "138000"
DEBUG:   esm_class: 0 = 0x00000000
DEBUG:   protocol_id: 0 = 0x00000000
DEBUG:   priority_flag: 0 = 0x00000000
DEBUG:   schedule_delivery_time: NULL
DEBUG:   validity_period: NULL
DEBUG:   registered_delivery: 0 = 0x00000000
DEBUG:   replace_if_present_flag: 0 = 0x00000000
DEBUG:   data_coding: 0 = 0x00000000
DEBUG:   sm_default_msg_id: 0 = 0x00000000
DEBUG:   sm_length: 7 = 0x00000007
DEBUG:   short_message: "TEST OK"
DEBUG: SMPP PDU dump ends.
WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL.
DEBUG: SMPP[smsc2-TX]: Got PDU:
DEBUG: SMPP PDU 0x101b7ac0 dump:
DEBUG:   type_name: submit_sm_resp
DEBUG:   command_id: 2147483652 = 0x80000004
DEBUG:   command_status: 101 = 0x00000065
DEBUG:   sequence_number: 64 = 0x00000040
DEBUG:   message_id: NULL
DEBUG: SMPP PDU dump ends.
ERROR: SMPP[smsc2-TX]: SMSC returned error code 0x00000065 (ESME Receiver 
Permanent App Error Code) in response
to submit_sm.
 
 
 
DEBUG: SMPP[smsc2-TX]: Sending PDU:
DEBUG: SMPP PDU 0x100c6410 dump:
DEBUG:   type_name: submit_sm
DEBUG:   command_id: 4 = 0x00000004
DEBUG:   command_status: 0 = 0x00000000
DEBUG:   sequence_number: 50 = 0x00000032
DEBUG:   service_type: NULL
DEBUG:   source_addr_ton: 2 = 0x00000002
DEBUG:   source_addr_npi: 1 = 0x00000001
DEBUG:   source_addr: "77832274"
DEBUG:   dest_addr_ton: 2 = 0x00000002
DEBUG:   dest_addr_npi: 1 = 0x00000001
DEBUG:   destination_addr: "138000"
DEBUG:   esm_class: 0 = 0x00000000
DEBUG:   protocol_id: 0 = 0x00000000
DEBUG:   priority_flag: 0 = 0x00000000
DEBUG:   schedule_delivery_time: NULL
DEBUG:   validity_period: NULL
DEBUG:   registered_delivery: 0 = 0x00000000
DEBUG:   replace_if_present_flag: 0 = 0x00000000
DEBUG:   data_coding: 0 = 0x00000000
DEBUG:   sm_default_msg_id: 0 = 0x00000000
DEBUG:   sm_length: 7 = 0x00000007
DEBUG:   short_message: "TEST OK"
DEBUG: SMPP PDU dump ends.
DEBUG: SMPP[smsc2-TX]: Got PDU:
DEBUG: SMPP PDU 0x1012c4f8 dump:
DEBUG:   type_name: submit_sm_resp
DEBUG:   command_id: 2147483652 = 0x80000004
DEBUG:   command_status: 255 = 0x000000ff
DEBUG:   sequence_number: 50 = 0x00000032
DEBUG:   message_id: NULL
DEBUG: SMPP PDU dump ends.
ERROR: SMPP[smsc2-TX]: SMSC returned error code 0x000000ff (Unknown Error) in 
response to submit_sm.

 
 

________________________________

From: Alejandro Guerrieri [mailto:[email protected]] 
Sent: Wednesday, February 04, 2009 11:50 AM
To: Villada, Gustavo
Subject: Re: Falling send sms via balanced conections


Gustavo,

It depends on which error messages you're dealing with.

Kannel fails on some and retries on others. For example, an invalid_dest_addr 
is a permanent error and kannel discards it, while a throttling_error is 
temporary and kannel retries.

Please post log details showing the PDU's for the submit_sm and submit_sm_resp

Regards,

Alejandro


On Wed, Feb 4, 2009 at 2:13 PM, Villada, Gustavo <[email protected]> 
wrote:


        Hi,
        
        We have load balanced connections ( 2RX & 2TX connections with same 
provider)
        
        Kannel are working ok.
        But in homologation test cases with the provider, we have the next 
problem:
        
        On one TX connection the provider send us the submit_sm_resp message 
with error status, kannel receive this status and drop the sms.
        
        The ask is:
        What we do for recovering these failed messages or any other workaround 
for resend the failed messages?
        
        We need recover and resend this...
        
        Best regards
        Gustavo
        
        
        
        



Reply via email to