Rory Campbell-Lange wrote:
> 
> 10:28:37 [8] DEBUG: SMPP[duckalorange]: Manually forced source addr ton = 1, source 
> add npi = 1
> 10:28:37 [8] DEBUG: SMPP[duckalorange]: Manually forced dest addr ton = 1, dest add 
> npi = 1
> 10:28:37 [8] DEBUG: SMPP[duckalorange]: Sending PDU:
> 10:28:37 [8] DEBUG: SMPP PDU 0x8129a10 dump:
> 10:28:37 [8] DEBUG:   type_name: submit_sm
> 10:28:37 [8] DEBUG:   command_id: 4 = 0x00000004
> 10:28:37 [8] DEBUG:   command_status: 0 = 0x00000000
> 10:28:37 [8] DEBUG:   sequence_number: 34171 = 0x0000857b
> 10:28:37 [8] DEBUG:   service_type: NULL
> 10:28:37 [8] DEBUG:   source_addr_ton: 1 = 0x00000001
> 10:28:37 [8] DEBUG:   source_addr_npi: 1 = 0x00000001
> 10:28:37 [8] DEBUG:   source_addr: "xxxxxxxxxxxx"
> 10:28:37 [8] DEBUG:   dest_addr_ton: 1 = 0x00000001
> 10:28:37 [8] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 10:28:37 [8] DEBUG:   destination_addr: "xxxxxxxxxxxx"
> 10:28:37 [8] DEBUG:   esm_class: 3 = 0x00000003
> 10:28:37 [8] DEBUG:   protocol_id: 0 = 0x00000000
> 10:28:37 [8] DEBUG:   priority_flag: 0 = 0x00000000
> 10:28:37 [8] DEBUG:   schedule_delivery_time: NULL
> 10:28:37 [8] DEBUG:   validity_period: NULL
> 10:28:37 [8] DEBUG:   registered_delivery: 0 = 0x00000000
> 10:28:37 [8] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 10:28:37 [8] DEBUG:   data_coding: 0 = 0x00000000
> 10:28:37 [8] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 10:28:37 [8] DEBUG:   sm_length: 61 = 0x0000003d
> 10:28:37 [8] DEBUG:   short_message:
> 10:28:37 [8] DEBUG:    Octet string at 0x8128490:
> 10:28:37 [8] DEBUG:      len:  61
> 10:28:37 [8] DEBUG:      size: 62
> 10:28:37 [8] DEBUG:      immutable: 0
> 10:28:37 [8] DEBUG:      data: 48 69 20 4a 75 6c 69 61   Hi Julia
> 10:28:37 [8] DEBUG:      data: 6e 2e 20 54 68 6f 75 67   n. Thoug
> 10:28:37 [8] DEBUG:      data: 68 74 20 49 27 64 20 73   ht I'd s
> 10:28:37 [8] DEBUG:      data: 65 6e 64 20 74 68 69 73   end this
> 10:28:37 [8] DEBUG:      data: 20 61 6e 64 20 73 65 65    and see
> 10:28:37 [8] DEBUG:      data: 20 69 66 20 79 6f 75 20    if you
> 10:28:37 [8] DEBUG:      data: 67 65 74 20 69 74 2e 20   get it.
> 10:28:37 [8] DEBUG:      data: 52 6f 72 79 2e            Rory.
> 10:28:37 [8] DEBUG:    Octet string dump ends.
> 10:28:37 [8] DEBUG: SMPP PDU dump ends.
> 10:28:37 [8] WARNING: SMPP: PDU NUL terminated string has no NUL.
> 10:28:37 [8] DEBUG: SMPP[duckalorange]: Got PDU:
> 10:28:37 [8] DEBUG: SMPP PDU 0x8129a10 dump:
> 10:28:37 [8] DEBUG:   type_name: submit_sm_resp
> 10:28:37 [8] DEBUG:   command_id: 2147483652 = 0x80000004
> 10:28:37 [8] DEBUG:   command_status: 69 = 0x00000045
> 10:28:37 [8] DEBUG:   sequence_number: 34171 = 0x0000857b
> 10:28:37 [8] DEBUG:   message_id: NULL
> 10:28:37 [8] DEBUG: SMPP PDU dump ends.
> 10:28:37 [8] ERROR: SMPP[duckalorange]: SMSC returned error code 0x00000045 in 
> response to submit_sm.

hmmm the WARNING indicates that smpp_pdu.c:copy_until_nul() could not
find a \0 inside the string.

If this is a MT messages, this should not happen.

Does this happen for every message or only for some messages? Is there
a determined way to reproduce this?

Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

Reply via email to