Hi Guillermo,

Command_status 59 is not known to me (not listed in enumeration http://www.inetlab.com/Products/Inetlab.SMPP/Help/html/T_Inetlab_SMPP_Common_CommandStatus.htm ), that code is not specified in standard (http://www.nowsms.com/discus/messages/1/SMPP_v3_4_Issue1_2-24857.pdf page 113).

So try to contact your provider (smsc) and ask them what that status means for them and why they use it.

Slavoj.

Dňa 30. 6. 2011 17:11, Guillermo Martínez  wrote / napísal(a):
Thanks Slavoj.
I'm not using DLR by now so I will check the warning later.
About the "hey" it was my mistake reading and editing log. The complete text is "hey i'm testing".

Thanks a lot,
Guillermo Martínez

On 06/30/2011 11:49 AM, XEN-Housing s.r.o. wrote:
short_message: "hey" have length 3 not 15

sm_length: 15 = 0x0000000f

that could caused on other side "reading after buffer" and that can caused that error. or not ?

that error does not related to WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL.

that warning just telling u that kannel can not parse message id from smsc (other side) response, and you could have problems wit DLR.

Slavoj.


Dňa 30. 6. 2011 16:41, Guillermo Martínez wrote / napísal(a):
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