kneodev / ksmppd

Kurt's SMPP Daemon (SMPP Server for Kannel)
Other
57 stars 39 forks source link

ksmppd deducts only one credit while using TLV message_payload with more than 140 octets #138

Closed divyanshu0045 closed 3 years ago

divyanshu0045 commented 3 years ago

With prepaid billing enabled and cost=1, ksmppd should deduct credit after looking at DCS and octet length if message_payload TLV is being used

donald-jackson commented 3 years ago

This is incorrect.

Screenshot 2021-02-01 at 22 44 13

Screenshot 2021-02-01 at 22 43 02

divyanshu0045 commented 3 years ago

LOG SNAPSHOT:

2021-02-02 02:13:53 [9026] [11] DEBUG: Handling bind PDU 2021-02-02 02:13:53 [9026] [11] DEBUG: MySQL authenticating with ESME5:ESME5 2021-02-02 02:13:53 [9026] [11] INFO: SMPP[esme5] bind limit still ok (5/11), allowing 2021-02-02 02:13:53 [9026] [11] INFO: SMPP[esme5] Successfully authenticated 2021-02-02 02:13:53 [9026] [11] INFO: SMPP[esme5] has prepaid billing enabled. 2021-02-02 02:13:53 [9026] [21] DEBUG: SMPP[esme5:75] Got outbound queued PDU (1) seq 0: 2021-02-02 02:13:53 [9026] [21] DEBUG: SMPP[esme5] Sending bind_transceiver_resp: 2021-02-02 02:13:53 [9026] [21] DEBUG: SMPP PDU 0x7fd714036040 dump: 2021-02-02 02:13:53 [9026] [21] DEBUG: type_name: bind_transceiver_resp 2021-02-02 02:13:53 [9026] [21] DEBUG: command_id: 2147483657 = 0x80000009 2021-02-02 02:13:53 [9026] [21] DEBUG: command_status: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [21] DEBUG: sequence_number: 1 = 0x00000001 2021-02-02 02:13:53 [9026] [21] DEBUG: system_id: "PENNYBASE" 2021-02-02 02:13:53 [9026] [21] DEBUG: SMPP PDU dump ends. 2021-02-02 02:13:53 [9026] [0] DEBUG: Got a read event for SMPP esme connection 75 3 2021-02-02 02:13:53 [9026] [0] DEBUG: Optional parameter tag (0x0424) 2021-02-02 02:13:53 [9026] [0] DEBUG: Optional parameter length read as 573 2021-02-02 02:13:53 [9026] [0] DEBUG: Found configured optional parameter message_payload' 2021-02-02 02:13:53 [9026] [0] DEBUG: Optional parameter tag (0x1400) 2021-02-02 02:13:53 [9026] [0] DEBUG: Optional parameter length read as 20 2021-02-02 02:13:53 [9026] [0] DEBUG: Found configured optional parameterpeid' 2021-02-02 02:13:53 [9026] [13] DEBUG: SMPP[esme5] Got queued PDU (1): 2021-02-02 02:13:53 [9026] [13] DEBUG: SMPP PDU 0xf25240 dump: 2021-02-02 02:13:53 [9026] [13] DEBUG: type_name: submit_sm 2021-02-02 02:13:53 [9026] [13] DEBUG: command_id: 4 = 0x00000004 2021-02-02 02:13:53 [9026] [13] DEBUG: command_status: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: sequence_number: 2 = 0x00000002 2021-02-02 02:13:53 [9026] [13] DEBUG: service_type: NULL 2021-02-02 02:13:53 [9026] [13] DEBUG: source_addr_ton: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: source_addr_npi: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: source_addr: "BLOCK" 2021-02-02 02:13:53 [9026] [13] DEBUG: dest_addr_ton: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: dest_addr_npi: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: destination_addr: "919968244177" 2021-02-02 02:13:53 [9026] [13] DEBUG: esm_class: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: protocol_id: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: priority_flag: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: schedule_delivery_time: NULL 2021-02-02 02:13:53 [9026] [13] DEBUG: validity_period: NULL 2021-02-02 02:13:53 [9026] [13] DEBUG: registered_delivery: 1 = 0x00000001 2021-02-02 02:13:53 [9026] [13] DEBUG: replace_if_present_flag: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: data_coding: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: sm_default_msg_id: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: sm_length: 0 = 0x00000000 2021-02-02 02:13:53 [9026] [13] DEBUG: short_message: "" 2021-02-02 02:13:53 [9026] [13] DEBUG: message_payload: 2021-02-02 02:13:53 [9026] [13] DEBUG: Octet string at 0xeb63f0: 2021-02-02 02:13:53 [9026] [13] DEBUG: len: 573 2021-02-02 02:13:53 [9026] [13] DEBUG: size: 574 2021-02-02 02:13:53 [9026] [13] DEBUG: immutable: 0 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 4c 6f 72 65 6d 20 49 70 73 75 6d 20 69 73 20 73 Lorem Ipsum is s 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 69 6d 70 6c 79 20 64 75 6d 6d 79 20 74 65 78 74 imply dummy text 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 6f 66 20 74 68 65 20 70 72 69 6e 74 69 6e 67 of the printing 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 61 6e 64 20 74 79 70 65 73 65 74 74 69 6e 67 and typesetting 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 69 6e 64 75 73 74 72 79 2e 20 4c 6f 72 65 6d industry. Lorem 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 49 70 73 75 6d 20 68 61 73 20 62 65 65 6e 20 Ipsum has been 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 74 68 65 20 69 6e 64 75 73 74 72 79 27 73 20 73 the industry's s 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 74 61 6e 64 61 72 64 20 64 75 6d 6d 79 20 74 65 tandard dummy te 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 78 74 20 65 76 65 72 20 73 69 6e 63 65 20 74 68 xt ever since th 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 65 20 31 35 30 30 73 2c 20 77 68 65 6e 20 61 6e e 1500s, when an 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 75 6e 6b 6e 6f 77 6e 20 70 72 69 6e 74 65 72 unknown printer 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 74 6f 6f 6b 20 61 20 67 61 6c 6c 65 79 20 6f took a galley o 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 66 20 74 79 70 65 20 61 6e 64 20 73 63 72 61 6d f type and scram 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 62 6c 65 64 20 69 74 20 74 6f 20 6d 61 6b 65 20 bled it to make 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 61 20 74 79 70 65 20 73 70 65 63 69 6d 65 6e 20 a type specimen 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 62 6f 6f 6b 2e 20 49 74 20 68 61 73 20 73 75 72 book. It has sur 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 76 69 76 65 64 20 6e 6f 74 20 6f 6e 6c 79 20 66 vived not only f 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 69 76 65 20 63 65 6e 74 75 72 69 65 73 2c 20 62 ive centuries, b 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 75 74 20 61 6c 73 6f 20 74 68 65 20 6c 65 61 70 ut also the leap 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 69 6e 74 6f 20 65 6c 65 63 74 72 6f 6e 69 63 into electronic 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 74 79 70 65 73 65 74 74 69 6e 67 2c 20 72 65 typesetting, re 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 6d 61 69 6e 69 6e 67 20 65 73 73 65 6e 74 69 61 maining essentia 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 6c 6c 79 20 75 6e 63 68 61 6e 67 65 64 2e 20 49 lly unchanged. I 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 74 20 77 61 73 20 70 6f 70 75 6c 61 72 69 73 65 t was popularise 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 64 20 69 6e 20 74 68 65 20 31 39 36 30 73 20 77 d in the 1960s w 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 69 74 68 20 74 68 65 20 72 65 6c 65 61 73 65 20 ith the release 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 6f 66 20 4c 65 74 72 61 73 65 74 20 73 68 65 65 of Letraset shee 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 74 73 20 63 6f 6e 74 61 69 6e 69 6e 67 20 4c 6f ts containing Lo 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 72 65 6d 20 49 70 73 75 6d 20 70 61 73 73 61 67 rem Ipsum passag 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 65 73 2c 20 61 6e 64 20 6d 6f 72 65 20 72 65 63 es, and more rec 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 65 6e 74 6c 79 20 77 69 74 68 20 64 65 73 6b 74 ently with deskt 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 6f 70 20 70 75 62 6c 69 73 68 69 6e 67 20 73 6f op publishing so 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 66 74 77 61 72 65 20 6c 69 6b 65 20 41 6c 64 75 ftware like Aldu 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 73 20 50 61 67 65 4d 61 6b 65 72 20 69 6e 63 6c s PageMaker incl 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 75 64 69 6e 67 20 76 65 72 73 69 6f 6e 73 20 6f uding versions o 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 66 20 4c 6f 72 65 6d 20 49 70 73 75 6d f Lorem Ipsum 2021-02-02 02:13:53 [9026] [13] DEBUG: Octet string dump ends. 2021-02-02 02:13:53 [9026] [13] DEBUG: peid: 2021-02-02 02:13:53 [9026] [13] DEBUG: Octet string at 0xe2a650: 2021-02-02 02:13:53 [9026] [13] DEBUG: len: 20 2021-02-02 02:13:53 [9026] [13] DEBUG: size: 21 2021-02-02 02:13:53 [9026] [13] DEBUG: immutable: 0 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 31 37 30 31 31 35 38 30 38 38 38 37 30 35 36 39 1701158088870569 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 39 37 38 00 978. 2021-02-02 02:13:53 [9026] [13] DEBUG: Octet string dump ends. 2021-02-02 02:13:53 [9026] [13] DEBUG: message_payload: 2021-02-02 02:13:53 [9026] [13] DEBUG: Octet string at 0xeb6420: 2021-02-02 02:13:53 [9026] [13] DEBUG: len: 573 2021-02-02 02:13:53 [9026] [13] DEBUG: size: 574 2021-02-02 02:13:53 [9026] [13] DEBUG: immutable: 0 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 4c 6f 72 65 6d 20 49 70 73 75 6d 20 69 73 20 73 Lorem Ipsum is s 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 69 6d 70 6c 79 20 64 75 6d 6d 79 20 74 65 78 74 imply dummy text 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 6f 66 20 74 68 65 20 70 72 69 6e 74 69 6e 67 of the printing 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 61 6e 64 20 74 79 70 65 73 65 74 74 69 6e 67 and typesetting 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 69 6e 64 75 73 74 72 79 2e 20 4c 6f 72 65 6d industry. Lorem 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 49 70 73 75 6d 20 68 61 73 20 62 65 65 6e 20 Ipsum has been 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 74 68 65 20 69 6e 64 75 73 74 72 79 27 73 20 73 the industry's s 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 74 61 6e 64 61 72 64 20 64 75 6d 6d 79 20 74 65 tandard dummy te 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 78 74 20 65 76 65 72 20 73 69 6e 63 65 20 74 68 xt ever since th 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 65 20 31 35 30 30 73 2c 20 77 68 65 6e 20 61 6e e 1500s, when an 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 75 6e 6b 6e 6f 77 6e 20 70 72 69 6e 74 65 72 unknown printer 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 74 6f 6f 6b 20 61 20 67 61 6c 6c 65 79 20 6f took a galley o 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 66 20 74 79 70 65 20 61 6e 64 20 73 63 72 61 6d f type and scram 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 62 6c 65 64 20 69 74 20 74 6f 20 6d 61 6b 65 20 bled it to make 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 61 20 74 79 70 65 20 73 70 65 63 69 6d 65 6e 20 a type specimen 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 62 6f 6f 6b 2e 20 49 74 20 68 61 73 20 73 75 72 book. It has sur 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 76 69 76 65 64 20 6e 6f 74 20 6f 6e 6c 79 20 66 vived not only f 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 69 76 65 20 63 65 6e 74 75 72 69 65 73 2c 20 62 ive centuries, b 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 75 74 20 61 6c 73 6f 20 74 68 65 20 6c 65 61 70 ut also the leap 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 69 6e 74 6f 20 65 6c 65 63 74 72 6f 6e 69 63 into electronic 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 20 74 79 70 65 73 65 74 74 69 6e 67 2c 20 72 65 typesetting, re 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 6d 61 69 6e 69 6e 67 20 65 73 73 65 6e 74 69 61 maining essentia 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 6c 6c 79 20 75 6e 63 68 61 6e 67 65 64 2e 20 49 lly unchanged. I 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 74 20 77 61 73 20 70 6f 70 75 6c 61 72 69 73 65 t was popularise 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 64 20 69 6e 20 74 68 65 20 31 39 36 30 73 20 77 d in the 1960s w 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 69 74 68 20 74 68 65 20 72 65 6c 65 61 73 65 20 ith the release 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 6f 66 20 4c 65 74 72 61 73 65 74 20 73 68 65 65 of Letraset shee 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 74 73 20 63 6f 6e 74 61 69 6e 69 6e 67 20 4c 6f ts containing Lo 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 72 65 6d 20 49 70 73 75 6d 20 70 61 73 73 61 67 rem Ipsum passag 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 65 73 2c 20 61 6e 64 20 6d 6f 72 65 20 72 65 63 es, and more rec 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 65 6e 74 6c 79 20 77 69 74 68 20 64 65 73 6b 74 ently with deskt 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 6f 70 20 70 75 62 6c 69 73 68 69 6e 67 20 73 6f op publishing so 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 66 74 77 61 72 65 20 6c 69 6b 65 20 41 6c 64 75 ftware like Aldu 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 73 20 50 61 67 65 4d 61 6b 65 72 20 69 6e 63 6c s PageMaker incl 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 75 64 69 6e 67 20 76 65 72 73 69 6f 6e 73 20 6f uding versions o 2021-02-02 02:13:53 [9026] [13] DEBUG: data: 66 20 4c 6f 72 65 6d 20 49 70 73 75 6d f Lorem Ipsum 2021-02-02 02:13:53 [9026] [13] DEBUG: Octet string dump ends. 2021-02-02 02:13:53 [9026] [13] DEBUG: SMPP PDU dump ends. 2021-02-02 02:13:53 [9026] [13] DEBUG: Current load is ok 0.000000 2021-02-02 02:13:53 [9026] [13] DEBUG: new group created smpp' 2021-02-02 02:13:53 [9026] [13] DEBUG: group=smpp' key=peid' value=1701158088870569978' 2021-02-02 02:13:53 [9026] [13] DEBUG: group=smpp' key=message_payload' value=`Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum' 2021-02-02 02:13:53 [9026] [13] DEBUG: MySQL deducting credit from esme5 value 1.000000 2021-02-02 02:13:53 [9026] [13] INFO: SMPP[esme5] Using default routing for 919968244177 to FAKE_SMSC for cost 1.000000

donald-jackson commented 3 years ago

Check your bearerbox logs, this would have been sent as an empty message most likely because smpp version < 3.4

divyanshu0045 commented 3 years ago

I am using SMPP v3.4. Bearerbox logs show short_message as empty string and message_payload populated. I think this is supposed to work.

BEARERBOX LOG:

2021-02-02 02:13:53 [27666] [46] DEBUG: SMPP[FAKE_SMSC]: Sending PDU: 2021-02-02 02:13:53 [27666] [46] DEBUG: SMPP PDU 0x7f9d74002620 dump: 2021-02-02 02:13:53 [27666] [46] DEBUG: type_name: submit_sm 2021-02-02 02:13:53 [27666] [46] DEBUG: command_id: 4 = 0x00000004 2021-02-02 02:13:53 [27666] [46] DEBUG: command_status: 0 = 0x00000000 2021-02-02 02:13:53 [27666] [46] DEBUG: sequence_number: 511 = 0x000001ff 2021-02-02 02:13:53 [27666] [46] DEBUG: service_type: NULL 2021-02-02 02:13:53 [27666] [46] DEBUG: source_addr_ton: 5 = 0x00000005 2021-02-02 02:13:53 [27666] [46] DEBUG: source_addr_npi: 0 = 0x00000000 2021-02-02 02:13:53 [27666] [46] DEBUG: source_addr: "BLOCK" 2021-02-02 02:13:53 [27666] [46] DEBUG: dest_addr_ton: 0 = 0x00000000 2021-02-02 02:13:53 [27666] [46] DEBUG: dest_addr_npi: 1 = 0x00000001 2021-02-02 02:13:53 [27666] [46] DEBUG: destination_addr: "919968244177" 2021-02-02 02:13:53 [27666] [46] DEBUG: esm_class: 64 = 0x00000040 2021-02-02 02:13:53 [27666] [46] DEBUG: protocol_id: 0 = 0x00000000 2021-02-02 02:13:53 [27666] [46] DEBUG: priority_flag: 0 = 0x00000000 2021-02-02 02:13:53 [27666] [46] DEBUG: schedule_delivery_time: NULL 2021-02-02 02:13:53 [27666] [46] DEBUG: validity_period: NULL 2021-02-02 02:13:53 [27666] [46] DEBUG: registered_delivery: 1 = 0x00000001 2021-02-02 02:13:53 [27666] [46] DEBUG: replace_if_present_flag: 0 = 0x00000000 2021-02-02 02:13:53 [27666] [46] DEBUG: data_coding: 0 = 0x00000000 2021-02-02 02:13:53 [27666] [46] DEBUG: sm_default_msg_id: 0 = 0x00000000 2021-02-02 02:13:53 [27666] [46] DEBUG: sm_length: 0 = 0x00000000 2021-02-02 02:13:53 [27666] [46] DEBUG: short_message: "" 2021-02-02 02:13:53 [27666] [46] DEBUG: peid: 2021-02-02 02:13:53 [27666] [46] DEBUG: Octet string at 0x7f9d740096a0: 2021-02-02 02:13:53 [27666] [46] DEBUG: len: 20 2021-02-02 02:13:53 [27666] [46] DEBUG: size: 23 2021-02-02 02:13:53 [27666] [46] DEBUG: immutable: 0 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 31 37 30 31 31 35 38 30 38 38 38 37 30 35 36 39 1701158088870569 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 39 37 38 00 978. 2021-02-02 02:13:53 [27666] [46] DEBUG: Octet string dump ends. 2021-02-02 02:13:53 [27666] [46] DEBUG: message_payload: 2021-02-02 02:13:53 [27666] [46] DEBUG: Octet string at 0x7f9d74005560: 2021-02-02 02:13:53 [27666] [46] DEBUG: len: 573 2021-02-02 02:13:53 [27666] [46] DEBUG: size: 584 2021-02-02 02:13:53 [27666] [46] DEBUG: immutable: 0 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 4c 6f 72 65 6d 20 49 70 73 75 6d 20 69 73 20 73 Lorem Ipsum is s 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 69 6d 70 6c 79 20 64 75 6d 6d 79 20 74 65 78 74 imply dummy text 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 20 6f 66 20 74 68 65 20 70 72 69 6e 74 69 6e 67 of the printing 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 20 61 6e 64 20 74 79 70 65 73 65 74 74 69 6e 67 and typesetting 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 20 69 6e 64 75 73 74 72 79 2e 20 4c 6f 72 65 6d industry. Lorem 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 20 49 70 73 75 6d 20 68 61 73 20 62 65 65 6e 20 Ipsum has been 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 74 68 65 20 69 6e 64 75 73 74 72 79 27 73 20 73 the industry's s 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 74 61 6e 64 61 72 64 20 64 75 6d 6d 79 20 74 65 tandard dummy te 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 78 74 20 65 76 65 72 20 73 69 6e 63 65 20 74 68 xt ever since th 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 65 20 31 35 30 30 73 2c 20 77 68 65 6e 20 61 6e e 1500s, when an 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 20 75 6e 6b 6e 6f 77 6e 20 70 72 69 6e 74 65 72 unknown printer 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 20 74 6f 6f 6b 20 61 20 67 61 6c 6c 65 79 20 6f took a galley o 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 66 20 74 79 70 65 20 61 6e 64 20 73 63 72 61 6d f type and scram 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 62 6c 65 64 20 69 74 20 74 6f 20 6d 61 6b 65 20 bled it to make 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 61 20 74 79 70 65 20 73 70 65 63 69 6d 65 6e 20 a type specimen 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 62 6f 6f 6b 2e 20 49 74 20 68 61 73 20 73 75 72 book. It has sur 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 76 69 76 65 64 20 6e 6f 74 20 6f 6e 6c 79 20 66 vived not only f 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 69 76 65 20 63 65 6e 74 75 72 69 65 73 2c 20 62 ive centuries, b 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 75 74 20 61 6c 73 6f 20 74 68 65 20 6c 65 61 70 ut also the leap 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 20 69 6e 74 6f 20 65 6c 65 63 74 72 6f 6e 69 63 into electronic 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 20 74 79 70 65 73 65 74 74 69 6e 67 2c 20 72 65 typesetting, re 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 6d 61 69 6e 69 6e 67 20 65 73 73 65 6e 74 69 61 maining essentia 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 6c 6c 79 20 75 6e 63 68 61 6e 67 65 64 2e 20 49 lly unchanged. I 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 74 20 77 61 73 20 70 6f 70 75 6c 61 72 69 73 65 t was popularise 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 64 20 69 6e 20 74 68 65 20 31 39 36 30 73 20 77 d in the 1960s w 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 69 74 68 20 74 68 65 20 72 65 6c 65 61 73 65 20 ith the release 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 6f 66 20 4c 65 74 72 61 73 65 74 20 73 68 65 65 of Letraset shee 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 74 73 20 63 6f 6e 74 61 69 6e 69 6e 67 20 4c 6f ts containing Lo 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 72 65 6d 20 49 70 73 75 6d 20 70 61 73 73 61 67 rem Ipsum passag 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 65 73 2c 20 61 6e 64 20 6d 6f 72 65 20 72 65 63 es, and more rec 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 65 6e 74 6c 79 20 77 69 74 68 20 64 65 73 6b 74 ently with deskt 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 6f 70 20 70 75 62 6c 69 73 68 69 6e 67 20 73 6f op publishing so 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 66 74 77 61 72 65 20 6c 69 6b 65 20 41 6c 64 75 ftware like Aldu 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 73 20 50 61 67 65 4d 61 6b 65 72 20 69 6e 63 6c s PageMaker incl 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 75 64 69 6e 67 20 76 65 72 73 69 6f 6e 73 20 6f uding versions o 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 66 20 4c 6f 72 65 6d 20 49 70 73 75 6d f Lorem Ipsum 2021-02-02 02:13:53 [27666] [46] DEBUG: Octet string dump ends. 2021-02-02 02:13:53 [27666] [46] DEBUG: SMPP PDU dump ends. 2021-02-02 02:13:53 [27666] [46] DEBUG: SMPP[FAKE_SMSC]: throughput (1.00,5000.00) 2021-02-02 02:13:53 [27666] [46] DEBUG: SMPP[FAKE_SMSC]: throughput (1.00,5000.00) 2021-02-02 02:13:53 [27666] [46] DEBUG: SMPP[FAKE_SMSC]: Got PDU: 2021-02-02 02:13:53 [27666] [46] DEBUG: SMPP PDU 0x7f9d74009b00 dump: 2021-02-02 02:13:53 [27666] [46] DEBUG: type_name: submit_sm_resp 2021-02-02 02:13:53 [27666] [46] DEBUG: command_id: 2147483652 = 0x80000004 2021-02-02 02:13:53 [27666] [46] DEBUG: command_status: 0 = 0x00000000 2021-02-02 02:13:53 [27666] [46] DEBUG: sequence_number: 511 = 0x000001ff 2021-02-02 02:13:53 [27666] [46] DEBUG: message_id: 2021-02-02 02:13:53 [27666] [46] DEBUG: Octet string at 0x7f9d74001400: 2021-02-02 02:13:53 [27666] [46] DEBUG: len: 64 2021-02-02 02:13:53 [27666] [46] DEBUG: size: 65 2021-02-02 02:13:53 [27666] [46] DEBUG: immutable: 0 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 38 30 30 61 63 61 62 35 30 37 36 37 32 31 61 36 800acab5076721a6 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 35 31 30 35 64 63 64 39 63 34 64 64 30 61 66 64 5105dcd9c4dd0afd 2021-02-02 02:13:53 [27666] [46] DEBUG: data: 34 34 34 65 65 33 66 63 30 65 34 31 62 65 31 62 444ee3fc0e41be1b 2021-02-02 02:13:53 [27666] [46] DEBUG: Octet string dump ends. 2021-02-02 02:13:53 [27666] [46] DEBUG: SMPP PDU dump ends. 2021-02-02 02:13:53 [27666] [46] DEBUG: new group created smpp' 2021-02-02 02:13:53 [27666] [46] DEBUG: group=smpp' key=peid' value=1701158088870569978' 2021-02-02 02:13:53 [27666] [46] DEBUG: group=smpp' key=message_payload' value=`Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum' 2021-02-02 02:13:53 [27666] [46] DEBUG: DLR[mysql]: Adding DLR smsc=FAKE_SMSC, ts=800acab5076721a6d190c411e05ad9285105dcd9c4dd0afd444ee3fc0e41be1b, src=BLOCK, dst=919968244177, mask=19, boxc=KSMPPD 2021-02-02 02:13:53 [27666] [46] DEBUG: adding DLR entry into database

donald-jackson commented 3 years ago

Please share the bind PDU

donald-jackson commented 3 years ago

I'm assuming the bind PDU showed SMPP version < 3.4