kneodev / ksmppd

Kurt's SMPP Daemon (SMPP Server for Kannel)
Other
56 stars 38 forks source link

Error in passing TLV parameter #135

Closed harshpareek closed 3 years ago

harshpareek commented 3 years ago

Kindly check below logs, its shows warning while passing TLV parameter from smpp

2020-11-18 15:16:50 [5322] [27] DEBUG: Load was 0.000000 for requeue (not busy), waiting before next check 2020-11-18 15:16:51 [5322] [27] DEBUG: Load was 0.000000 for requeue (not busy), waiting before next check 2020-11-18 15:16:52 [5322] [0] DEBUG: Got a read event for SMPP esme connection 135 1 2020-11-18 15:16:52 [5322] [0] DEBUG: Optional parameter tag (0x1400) 2020-11-18 15:16:52 [5322] [0] DEBUG: Optional parameter length read as 19 2020-11-18 15:16:52 [5322] [0] WARNING: SMPP: Unknown TLV(0x1400,0x0013,31373031313538303139383131313430303638) for PDU type (submit_sm) received! 2020-11-18 15:16:52 [5322] [16] DEBUG: SMPP[ptransserver70] Got queued PDU (1): 2020-11-18 15:16:52 [5322] [16] DEBUG: SMPP PDU 0xbab260 dump: 2020-11-18 15:16:52 [5322] [16] DEBUG: type_name: submit_sm 2020-11-18 15:16:52 [5322] [16] DEBUG: command_id: 4 = 0x00000004 2020-11-18 15:16:52 [5322] [16] DEBUG: command_status: 0 = 0x00000000 2020-11-18 15:16:52 [5322] [16] DEBUG: sequence_number: 18 = 0x00000012 2020-11-18 15:16:52 [5322] [16] DEBUG: service_type: NULL 2020-11-18 15:16:52 [5322] [16] DEBUG: source_addr_ton: 5 = 0x00000005 2020-11-18 15:16:52 [5322] [16] DEBUG: source_addr_npi: 0 = 0x00000000 2020-11-18 15:16:52 [5322] [16] DEBUG: source_addr: "VTLBOX" 2020-11-18 15:16:52 [5322] [16] DEBUG: dest_addr_ton: 2 = 0x00000002 2020-11-18 15:16:52 [5322] [16] DEBUG: dest_addr_npi: 1 = 0x00000001 2020-11-18 15:16:52 [5322] [16] DEBUG: destination_addr: "9829160808" 2020-11-18 15:16:52 [5322] [16] DEBUG: esm_class: 3 = 0x00000003 2020-11-18 15:16:52 [5322] [16] DEBUG: protocol_id: 0 = 0x00000000 2020-11-18 15:16:52 [5322] [16] DEBUG: priority_flag: 0 = 0x00000000 2020-11-18 15:16:52 [5322] [16] DEBUG: schedule_delivery_time: NULL 2020-11-18 15:16:52 [5322] [16] DEBUG: validity_period: NULL 2020-11-18 15:16:52 [5322] [16] DEBUG: registered_delivery: 17 = 0x00000011 2020-11-18 15:16:52 [5322] [16] DEBUG: replace_if_present_flag: 0 = 0x00000000 2020-11-18 15:16:52 [5322] [16] DEBUG: data_coding: 8 = 0x00000008 2020-11-18 15:16:52 [5322] [16] DEBUG: sm_default_msg_id: 0 = 0x00000000 2020-11-18 15:16:52 [5322] [16] DEBUG: sm_length: 24 = 0x00000018 2020-11-18 15:16:52 [5322] [16] DEBUG: short_message: 2020-11-18 15:16:52 [5322] [16] DEBUG: Octet string at 0xbabfc0: 2020-11-18 15:16:52 [5322] [16] DEBUG: len: 24 2020-11-18 15:16:52 [5322] [16] DEBUG: size: 25 2020-11-18 15:16:52 [5322] [16] DEBUG: immutable: 0 2020-11-18 15:16:52 [5322] [16] DEBUG: data: 00 53 00 4d 00 50 00 50 00 77 00 61 00 64 00 61 .S.M.P.P.w.a.d.a 2020-11-18 15:16:52 [5322] [16] DEBUG: data: 00 73 00 64 00 61 00 73 .s.d.a.s 2020-11-18 15:16:52 [5322] [16] DEBUG: Octet string dump ends.

hiteshkar commented 3 years ago

Have you got any solution for the same. please share. thanks in advance.

donald-jackson commented 3 years ago

You need to configure the TLV's otherwise they won't be known the ksmppd - share your config and we can check.

rajeev36 commented 3 years ago

Hi jackson, I'm also facing same issue. Can you please help me on this.

2021-03-22 23:09:29 [10768] [0] DEBUG: Optional parameter tag (0x1400) 2021-03-22 23:09:29 [10768] [0] DEBUG: Optional parameter length read as 10 2021-03-22 23:09:29 [10768] [0] WARNING: SMPP: Unknown TLV(0x1400,0x000a,31323334353637383930) for PDU type (submit_sm) received!

I have added below in the configuraiton. group = smpp-tlv name = EntityID tag = 0x1400 type = octetstring length = 10 smsc-id = KSMPPD

Do i need to add anything?

rajeev36 commented 3 years ago

@donald-jackson can you please suggest?

india-india commented 3 years ago

hello iam getting same problem kindly help me plz

my smpp client (ESME) sending sms via smpp connection with TLV params but iam getting above same error kindly @donald-jackson @rajesh6115 help me plz

rajeev36 commented 3 years ago

@india-india , remove smsc-id and try.

india-india commented 3 years ago

thanks you very much sir its working for me @rajeev sir

india-india commented 3 years ago

sir one more things i want to ask @rajeev36 @donald-jackson @harshpareek @hiteshkar

how to filter spam content and DND i have to do

kindly help me , i can pay you from my pocket for this

thanks in advance

india-india commented 3 years ago

hello any update @

india-india commented 3 years ago

hello sir

On Sun, Apr 25, 2021 at 12:39 PM rajeev36 @.***> wrote:

@india-india https://github.com/india-india , remove smsc-id and try.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kneodev/ksmppd/issues/135#issuecomment-826271586, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIO2CCWIWKFNIZP64P64QKLTKO53TANCNFSM4TZXRR2A .

hiteshkar commented 3 years ago

Need to change source code for this.

On Mon, Apr 26, 2021 at 3:27 PM DOLLORINFOTECH @.***> wrote:

sir one more things i want to ask @rajeev36 https://github.com/rajeev36 @donald-jackson https://github.com/donald-jackson @harshpareek https://github.com/harshpareek @hiteshkar https://github.com/hiteshkar

how to filter spam content and DND i have to do

kindly help me , i can pay you from my pocket for this

thanks in advance

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kneodev/ksmppd/issues/135#issuecomment-826695109, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEJ5552ZUSXPPCKKSIRX3DTKU2JXANCNFSM4TZXRR2A .

bharat-ux commented 3 years ago

Hi jackson, I'm also facing same issue. Can you please help me on this.

2021-03-22 23:09:29 [10768] [0] DEBUG: Optional parameter tag (0x1400) 2021-03-22 23:09:29 [10768] [0] DEBUG: Optional parameter length read as 10 2021-03-22 23:09:29 [10768] [0] WARNING: SMPP: Unknown TLV(0x1400,0x000a,31323334353637383930) for PDU type (submit_sm) received!

I have added below in the configuraiton. group = smpp-tlv name = EntityID tag = 0x1400 type = octetstring length = 10 smsc-id = KSMPPD

Do i need to add anything?

hello you have to remove smsc-id = KSMPPD**