Hello everyone,
I'm trying to connect to an smc and kannel receives MO but I can't send the reply.
Everytime I send it I get an unknown error code:
2011-06-30 14:57:43 [875] [6] ERROR: SMPP[test]: SMSC returned error code 0x0000003b (Unknown/Reserved) in response to submit_sm.

I get this warning too: 2011-06-30 14:57:43 [875] [6] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL.
Is this important?

This is the smsc config (kannel v1.4.3):

group                 = smsc

smsc                  = smpp

interface-version     = 34

smsc-id               = test

host                  = 111.111.111.111

port                  = 1111

transceiver-mode      = false

enquire-link-interval = 30

receive-port          = 1111

smsc-username         = "username"

smsc-password         = "password"

system-type           = "smpp"

source-addr-ton       = 2

source-addr-npi       = 1

dest-addr-ton         = 2

dest-addr-npi         = 1

address-range         = ""



And this is the detailed smsc log:
2011-06-30 16:20:26 [2038] [7] DEBUG: SMPP[test]: Got PDU:
2011-06-30 16:20:26 [2038] [7] DEBUG: SMPP PDU 0x84a02e8 dump:
2011-06-30 16:20:26 [2038] [7] DEBUG:   type_name: enquire_link
2011-06-30 16:20:26 [2038] [7] DEBUG:   command_id: 21 = 0x00000015
2011-06-30 16:20:26 [2038] [7] DEBUG:   command_status: 0 = 0x00000000
2011-06-30 16:20:26 [2038] [7] DEBUG: sequence_number: 533812553 = 0x1fd15549
2011-06-30 16:20:26 [2038] [7] DEBUG: SMPP PDU dump ends.
2011-06-30 16:20:26 [2038] [7] DEBUG: SMPP[test]: Sending PDU:
2011-06-30 16:20:26 [2038] [7] DEBUG: SMPP PDU 0x84a03c0 dump:
2011-06-30 16:20:26 [2038] [7] DEBUG:   type_name: enquire_link_resp
2011-06-30 16:20:26 [2038] [7] DEBUG:   command_id: 2147483669 = 0x80000015
2011-06-30 16:20:26 [2038] [7] DEBUG:   command_status: 0 = 0x00000000
2011-06-30 16:20:26 [2038] [7] DEBUG: sequence_number: 533812553 = 0x1fd15549
2011-06-30 16:20:26 [2038] [7] DEBUG: SMPP PDU dump ends.
2011-06-30 16:20:29 [2038] [7] DEBUG: SMPP[test]: Got PDU:
2011-06-30 16:20:29 [2038] [7] DEBUG: SMPP PDU 0x84a02e8 dump:
2011-06-30 16:20:29 [2038] [7] DEBUG:   type_name: deliver_sm
2011-06-30 16:20:29 [2038] [7] DEBUG:   command_id: 5 = 0x00000005
2011-06-30 16:20:29 [2038] [7] DEBUG:   command_status: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [7] DEBUG: sequence_number: 8825471 = 0x0086aa7f
2011-06-30 16:20:29 [2038] [7] DEBUG:   service_type: NULL
2011-06-30 16:20:29 [2038] [7] DEBUG:   source_addr_ton: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [7] DEBUG:   source_addr_npi: 1 = 0x00000001
2011-06-30 16:20:29 [2038] [7] DEBUG:   source_addr: "11111111111"
2011-06-30 16:20:29 [2038] [7] DEBUG:   dest_addr_ton: 2 = 0x00000002
2011-06-30 16:20:29 [2038] [7] DEBUG:   dest_addr_npi: 1 = 0x00000001
2011-06-30 16:20:29 [2038] [7] DEBUG:   destination_addr: "2222"
2011-06-30 16:20:29 [2038] [7] DEBUG:   esm_class: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [7] DEBUG:   protocol_id: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [7] DEBUG:   priority_flag: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [7] DEBUG:   schedule_delivery_time: NULL
2011-06-30 16:20:29 [2038] [7] DEBUG:   validity_period: NULL
2011-06-30 16:20:29 [2038] [7] DEBUG:   registered_delivery: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [7] DEBUG: replace_if_present_flag: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [7] DEBUG:   data_coding: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [7] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [7] DEBUG:   sm_length: 5 = 0x00000005
2011-06-30 16:20:29 [2038] [7] DEBUG:   short_message: "Sabe "
2011-06-30 16:20:29 [2038] [7] DEBUG: SMPP PDU dump ends.
2011-06-30 16:20:29 [2038] [7] DEBUG: SMPP[test]: Sending PDU:
2011-06-30 16:20:29 [2038] [7] DEBUG: SMPP PDU 0x84a03f8 dump:
2011-06-30 16:20:29 [2038] [7] DEBUG:   type_name: deliver_sm_resp
2011-06-30 16:20:29 [2038] [7] DEBUG:   command_id: 2147483653 = 0x80000005
2011-06-30 16:20:29 [2038] [7] DEBUG:   command_status: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [7] DEBUG: sequence_number: 8825471 = 0x0086aa7f
2011-06-30 16:20:29 [2038] [7] DEBUG:   message_id: NULL
2011-06-30 16:20:29 [2038] [7] DEBUG: SMPP PDU dump ends.
2011-06-30 16:20:29 [2038] [6] DEBUG: SMPP[test]: Manually forced source addr ton = 2, source add npi = 1 2011-06-30 16:20:29 [2038] [6] DEBUG: SMPP[test]: Manually forced dest addr ton = 2, dest add npi = 1
2011-06-30 16:20:29 [2038] [6] DEBUG: SMPP[test]: Sending PDU:
2011-06-30 16:20:29 [2038] [6] DEBUG: SMPP PDU 0x84a0860 dump:
2011-06-30 16:20:29 [2038] [6] DEBUG:   type_name: submit_sm
2011-06-30 16:20:29 [2038] [6] DEBUG:   command_id: 4 = 0x00000004
2011-06-30 16:20:29 [2038] [6] DEBUG:   command_status: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [6] DEBUG:   sequence_number: 5 = 0x00000005
2011-06-30 16:20:29 [2038] [6] DEBUG:   service_type: NULL
2011-06-30 16:20:29 [2038] [6] DEBUG:   source_addr_ton: 2 = 0x00000002
2011-06-30 16:20:29 [2038] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2011-06-30 16:20:29 [2038] [6] DEBUG:   source_addr: "2222"
2011-06-30 16:20:29 [2038] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2011-06-30 16:20:29 [2038] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2011-06-30 16:20:29 [2038] [6] DEBUG:   destination_addr: "11111111111"
2011-06-30 16:20:29 [2038] [6] DEBUG:   esm_class: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [6] DEBUG:   protocol_id: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [6] DEBUG:   priority_flag: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [6] DEBUG:   schedule_delivery_time: NULL
2011-06-30 16:20:29 [2038] [6] DEBUG:   validity_period: NULL
2011-06-30 16:20:29 [2038] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [6] DEBUG:   data_coding: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2011-06-30 16:20:29 [2038] [6] DEBUG:   sm_length: 15 = 0x0000000f
2011-06-30 16:20:29 [2038] [6] DEBUG:   short_message: "hey"
2011-06-30 16:20:29 [2038] [6] DEBUG: SMPP PDU dump ends.
2011-06-30 16:20:29 [2038] [6] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL.
2011-06-30 16:20:29 [2038] [6] DEBUG: SMPP[test]: Got PDU:
2011-06-30 16:20:29 [2038] [6] DEBUG: SMPP PDU 0x84a0860 dump:
2011-06-30 16:20:29 [2038] [6] DEBUG:   type_name: submit_sm_resp
2011-06-30 16:20:29 [2038] [6] DEBUG:   command_id: 2147483652 = 0x80000004
2011-06-30 16:20:29 [2038] [6] DEBUG:   command_status: 59 = 0x0000003b
2011-06-30 16:20:29 [2038] [6] DEBUG:   sequence_number: 5 = 0x00000005
2011-06-30 16:20:29 [2038] [6] DEBUG:   message_id: NULL
2011-06-30 16:20:29 [2038] [6] DEBUG: SMPP PDU dump ends.
2011-06-30 16:20:29 [2038] [6] ERROR: SMPP[test]: SMSC returned error code 0x0000003b (Unknown/Reserved) in response to submit_sm.
2011-06-30 16:20:31 [2038] [7] DEBUG: SMPP[test]: Got PDU:
2011-06-30 16:20:31 [2038] [7] DEBUG: SMPP PDU 0x84a0860 dump:
2011-06-30 16:20:31 [2038] [7] DEBUG:   type_name: enquire_link
2011-06-30 16:20:31 [2038] [7] DEBUG:   command_id: 21 = 0x00000015
2011-06-30 16:20:31 [2038] [7] DEBUG:   command_status: 0 = 0x00000000
2011-06-30 16:20:31 [2038] [7] DEBUG: sequence_number: 533848430 = 0x1fd1e16e
2011-06-30 16:20:31 [2038] [7] DEBUG: SMPP PDU dump ends.
2011-06-30 16:20:31 [2038] [7] DEBUG: SMPP[test]: Sending PDU:
2011-06-30 16:20:31 [2038] [7] DEBUG: SMPP PDU 0x84a02e8 dump:
2011-06-30 16:20:31 [2038] [7] DEBUG:   type_name: enquire_link_resp
2011-06-30 16:20:31 [2038] [7] DEBUG:   command_id: 2147483669 = 0x80000015
2011-06-30 16:20:31 [2038] [7] DEBUG:   command_status: 0 = 0x00000000
2011-06-30 16:20:31 [2038] [7] DEBUG: sequence_number: 533848430 = 0x1fd1e16e
2011-06-30 16:20:31 [2038] [7] DEBUG: SMPP PDU dump ends.

Do you have any idea about what is this Unknown/Reserved error?

Thanks a lot,
Guillermo Martínez

Reply via email to