unsubscribe

2018-04-08 Thread Сергей Сергеевич Батманов



-- 
Сергей Сергеевич Батманов

Re[4]: Couldnot parse DLR string sscanf way,fallback to old way. Please report

2018-03-25 Thread Сергей Сергеевич Батманов
Thanks for your answer, but the same error.




>Воскресенье, 25 марта 2018, 16:26 +05:00 от Willy Mularto 
><sangpr...@gmail.com>:
>
>Try set system-type = ""
>
>
>So Far Express VPN still the fastest
>https://www.expressrefer.com/refer-friend?referrer_id=15939000_campaign=referrals_medium=copy_link_source=referral_dashboard
>
>
>On Sun, Mar 25, 2018 at 5:46 PM Сергей Сергеевич Батманов < 
>sergeybatma...@mail.ru > wrote:
>>I try to set msg-id-type = 0x01, 0x02, 0x03 and still not working.
>>
>>
>>>Воскресенье, 25 марта 2018, 15:38 +05:00 от Willy Mularto < 
>>>sangpr...@gmail.com >:
>>>
>>>See how to set msg-id-type in user guide.
>>>
>>>
>>>So Far Express VPN still the fastest
>>>https://www.expressrefer.com/refer-friend?referrer_id=15939000_campaign=referrals_medium=copy_link_source=referral_dashboard
>>>
>>>
>>>On Sun, Mar 25, 2018 at 5:30 PM Сергей Сергеевич Батманов < 
>>>sergeybatma...@mail.ru > wrote:
>>>>Hi, there.
>>>>
>>>>I have a problem with incoming deliver_sm.
>>>>
>>>>Kannel can't parse DLR and gives error. The problem is that i don't send 
>>>>submit_sm, this pdu deliver_sm is special notification from provider with 
>>>>next short_message:
>>>>20180325102847+PayDay+0+20180326103303+2.5+28766
>>>>
>>>>Deliver_sm is not a delivery report and doesn't have message_id.
>>>>
>>>>1. What I can do with this erorr and how can i save this deliver_sm to db?
>>>>
>>>>2. I have another deliver_sm, that doesn't give same error, but kannel 
>>>>can't decode short_message.
>>>>
>>>>I try change msg-id-type, alt-charset and it doesn't work.
>>>>
>>>>Any ideas?
>>>>
>>>>
>>>>It's the first deliver_sm.
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP[smstele2]: Got PDU:
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP PDU 0x7f23c80025b0 dump:
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: type_name: deliver_sm
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: command_id: 5 = 0x0005
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: command_status: 0 = 0x
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: sequence_number: 1435116073 = 
>>>>0x558a2229
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: service_type: NULL
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: source_addr_ton: 1 = 0x0001
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: source_addr_npi: 1 = 0x0001
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: source_addr: "79519881890"
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: dest_addr_ton: 1 = 0x0001
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: dest_addr_npi: 1 = 0x0001
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: destination_addr: "683"
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: esm_class: 28 = 0x001c
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: protocol_id: 0 = 0x
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: priority_flag: 0 = 0x
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: schedule_delivery_time: NULL
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: validity_period: NULL
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: registered_delivery: 0 = 0x
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: replace_if_present_flag: 0 = 
>>>>0x
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: data_coding: 0 = 0x
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: sm_default_msg_id: 0 = 0x
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: sm_length: 51 = 0x0033
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: short_message:
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: Octet string at 0x7f23c8000b60:
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: len: 51
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: size: 52
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: immutable: 0
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: data: 32 30 31 38 30 33 32 35 31 30 
>>>>32 38 34 37 2b 50 20180325102847+P
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: data: 61 79 44 61 79 2b 30 2b 32 30 
>>>>31 38 30 33 32 36 ayDay+0 +20180326
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: data: 31 30 33 33 30 33 2b 32 2e 35 
>>>>2b 32 38 37 36 36 103303+2.5+28766
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: data: 31 33 32 132
>>>>2018-03-25 15:02:26 [2579] [6] DEBUG: Octet string dump ends.
>>>&g

Re[2]: Couldnot parse DLR string sscanf way,fallback to old way. Please report

2018-03-25 Thread Сергей Сергеевич Батманов
I try to set msg-id-type = 0x01, 0x02, 0x03 and still not working.


>Воскресенье, 25 марта 2018, 15:38 +05:00 от Willy Mularto 
><sangpr...@gmail.com>:
>
>See how to set msg-id-type in user guide.
>
>
>So Far Express VPN still the fastest
>https://www.expressrefer.com/refer-friend?referrer_id=15939000_campaign=referrals_medium=copy_link_source=referral_dashboard
>
>
>On Sun, Mar 25, 2018 at 5:30 PM Сергей Сергеевич Батманов < 
>sergeybatma...@mail.ru > wrote:
>>Hi, there.
>>
>>I have a problem with incoming deliver_sm.
>>
>>Kannel can't parse DLR and gives error. The problem is that i don't send 
>>submit_sm, this pdu deliver_sm is special notification from provider with 
>>next short_message:
>>20180325102847+PayDay+0+20180326103303+2.5+28766
>>
>>Deliver_sm is not a delivery report and doesn't have message_id.
>>
>>1. What I can do with this erorr and how can i save this deliver_sm to db?
>>
>>2. I have another deliver_sm, that doesn't give same error, but kannel can't 
>>decode short_message.
>>
>>I try change msg-id-type, alt-charset and it doesn't work.
>>
>>Any ideas?
>>
>>
>>It's the first deliver_sm.
>>2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP[smstele2]: Got PDU:
>>2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP PDU 0x7f23c80025b0 dump:
>>2018-03-25 15:02:26 [2579] [6] DEBUG: type_name: deliver_sm
>>2018-03-25 15:02:26 [2579] [6] DEBUG: command_id: 5 = 0x0005
>>2018-03-25 15:02:26 [2579] [6] DEBUG: command_status: 0 = 0x
>>2018-03-25 15:02:26 [2579] [6] DEBUG: sequence_number: 1435116073 = 0x558a2229
>>2018-03-25 15:02:26 [2579] [6] DEBUG: service_type: NULL
>>2018-03-25 15:02:26 [2579] [6] DEBUG: source_addr_ton: 1 = 0x0001
>>2018-03-25 15:02:26 [2579] [6] DEBUG: source_addr_npi: 1 = 0x0001
>>2018-03-25 15:02:26 [2579] [6] DEBUG: source_addr: "79519881890"
>>2018-03-25 15:02:26 [2579] [6] DEBUG: dest_addr_ton: 1 = 0x0001
>>2018-03-25 15:02:26 [2579] [6] DEBUG: dest_addr_npi: 1 = 0x0001
>>2018-03-25 15:02:26 [2579] [6] DEBUG: destination_addr: "683"
>>2018-03-25 15:02:26 [2579] [6] DEBUG: esm_class: 28 = 0x001c
>>2018-03-25 15:02:26 [2579] [6] DEBUG: protocol_id: 0 = 0x
>>2018-03-25 15:02:26 [2579] [6] DEBUG: priority_flag: 0 = 0x
>>2018-03-25 15:02:26 [2579] [6] DEBUG: schedule_delivery_time: NULL
>>2018-03-25 15:02:26 [2579] [6] DEBUG: validity_period: NULL
>>2018-03-25 15:02:26 [2579] [6] DEBUG: registered_delivery: 0 = 0x
>>2018-03-25 15:02:26 [2579] [6] DEBUG: replace_if_present_flag: 0 = 0x
>>2018-03-25 15:02:26 [2579] [6] DEBUG: data_coding: 0 = 0x
>>2018-03-25 15:02:26 [2579] [6] DEBUG: sm_default_msg_id: 0 = 0x
>>2018-03-25 15:02:26 [2579] [6] DEBUG: sm_length: 51 = 0x0033
>>2018-03-25 15:02:26 [2579] [6] DEBUG: short_message:
>>2018-03-25 15:02:26 [2579] [6] DEBUG: Octet string at 0x7f23c8000b60:
>>2018-03-25 15:02:26 [2579] [6] DEBUG: len: 51
>>2018-03-25 15:02:26 [2579] [6] DEBUG: size: 52
>>2018-03-25 15:02:26 [2579] [6] DEBUG: immutable: 0
>>2018-03-25 15:02:26 [2579] [6] DEBUG: data: 32 30 31 38 30 33 32 35 31 30 32 
>>38 34 37 2b 50 20180325102847+P
>>2018-03-25 15:02:26 [2579] [6] DEBUG: data: 61 79 44 61 79 2b 30 2b 32 30 31 
>>38 30 33 32 36 ayDay+0 +20180326
>>2018-03-25 15:02:26 [2579] [6] DEBUG: data: 31 30 33 33 30 33 2b 32 2e 35 2b 
>>32 38 37 36 36 103303+2.5+28766
>>2018-03-25 15:02:26 [2579] [6] DEBUG: data: 31 33 32 132
>>2018-03-25 15:02:26 [2579] [6] DEBUG: Octet string dump ends.
>>2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP PDU dump ends.
>>2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP[smstele2] handle_pdu, got DLR
>>2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP[smstele2]: Couldnot parse DLR 
>>string sscanf way,fallback to old way. Please report!
>>2018-03-25 15:02:26 [2579] [6] ERROR: SMPP[smstele2]: got DLR but could not 
>>find message or was not interested in it id<> dst<79519881890>, type<2>
>>2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP[smstele2]: Sending PDU:
>>2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP PDU 0x7f23c8006890 dump:
>>2018-03-25 15:02:26 [2579] [6] DEBUG: type_name: deliver_sm_resp
>>2018-03-25 15:02:26 [2579] [6] DEBUG: command_id: 2147483653 = 0x8005
>>2018-03-25 15:02:26 [2579] [6] DEBUG: command_status: 0 = 0x
>>2018-03-25 15:02:26 [2579] [6] DEBUG: sequence_number: 1435116073 = 0x558a2229
>>2018-03-25 15:02:26 [2579] [6] DEBUG: message_id: NULL
>>2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP PDU dump ends.
>>___

Couldnot parse DLR string sscanf way,fallback to old way. Please report

2018-03-25 Thread Сергей Сергеевич Батманов

Hi, there.

I have a problem with incoming deliver_sm.

Kannel can't parse DLR and gives error. The problem is that i don't send 
submit_sm, this pdu deliver_sm is special notification from provider with next 
short_message:
20180325102847+PayDay+0+20180326103303+2.5+28766

Deliver_sm is not a delivery report and doesn't have message_id.

1. What I can do with this erorr and how can i save this deliver_sm to db?

2. I have another deliver_sm, that doesn't give same error, but kannel can't 
decode short_message.

I try change msg-id-type, alt-charset and it doesn't work.

Any ideas?


It's the first deliver_sm.
2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP[smstele2]: Got PDU:
2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP PDU 0x7f23c80025b0 dump:
2018-03-25 15:02:26 [2579] [6] DEBUG: type_name: deliver_sm
2018-03-25 15:02:26 [2579] [6] DEBUG: command_id: 5 = 0x0005
2018-03-25 15:02:26 [2579] [6] DEBUG: command_status: 0 = 0x
2018-03-25 15:02:26 [2579] [6] DEBUG: sequence_number: 1435116073 = 0x558a2229
2018-03-25 15:02:26 [2579] [6] DEBUG: service_type: NULL
2018-03-25 15:02:26 [2579] [6] DEBUG: source_addr_ton: 1 = 0x0001
2018-03-25 15:02:26 [2579] [6] DEBUG: source_addr_npi: 1 = 0x0001
2018-03-25 15:02:26 [2579] [6] DEBUG: source_addr: "79519881890"
2018-03-25 15:02:26 [2579] [6] DEBUG: dest_addr_ton: 1 = 0x0001
2018-03-25 15:02:26 [2579] [6] DEBUG: dest_addr_npi: 1 = 0x0001
2018-03-25 15:02:26 [2579] [6] DEBUG: destination_addr: "683"
2018-03-25 15:02:26 [2579] [6] DEBUG: esm_class: 28 = 0x001c
2018-03-25 15:02:26 [2579] [6] DEBUG: protocol_id: 0 = 0x
2018-03-25 15:02:26 [2579] [6] DEBUG: priority_flag: 0 = 0x
2018-03-25 15:02:26 [2579] [6] DEBUG: schedule_delivery_time: NULL
2018-03-25 15:02:26 [2579] [6] DEBUG: validity_period: NULL
2018-03-25 15:02:26 [2579] [6] DEBUG: registered_delivery: 0 = 0x
2018-03-25 15:02:26 [2579] [6] DEBUG: replace_if_present_flag: 0 = 0x
2018-03-25 15:02:26 [2579] [6] DEBUG: data_coding: 0 = 0x
2018-03-25 15:02:26 [2579] [6] DEBUG: sm_default_msg_id: 0 = 0x
2018-03-25 15:02:26 [2579] [6] DEBUG: sm_length: 51 = 0x0033
2018-03-25 15:02:26 [2579] [6] DEBUG: short_message:
2018-03-25 15:02:26 [2579] [6] DEBUG: Octet string at 0x7f23c8000b60:
2018-03-25 15:02:26 [2579] [6] DEBUG: len: 51
2018-03-25 15:02:26 [2579] [6] DEBUG: size: 52
2018-03-25 15:02:26 [2579] [6] DEBUG: immutable: 0
2018-03-25 15:02:26 [2579] [6] DEBUG: data: 32 30 31 38 30 33 32 35 31 30 32 38 
34 37 2b 50 20180325102847+P
2018-03-25 15:02:26 [2579] [6] DEBUG: data: 61 79 44 61 79 2b 30 2b 32 30 31 38 
30 33 32 36 ayDay+0+20180326
2018-03-25 15:02:26 [2579] [6] DEBUG: data: 31 30 33 33 30 33 2b 32 2e 35 2b 32 
38 37 36 36 103303+2.5+28766
2018-03-25 15:02:26 [2579] [6] DEBUG: data: 31 33 32 132
2018-03-25 15:02:26 [2579] [6] DEBUG: Octet string dump ends.
2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP PDU dump ends.
2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP[smstele2] handle_pdu, got DLR
2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP[smstele2]: Couldnot parse DLR string 
sscanf way,fallback to old way. Please report!
2018-03-25 15:02:26 [2579] [6] ERROR: SMPP[smstele2]: got DLR but could not 
find message or was not interested in it id<> dst<79519881890>, type<2>
2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP[smstele2]: Sending PDU:
2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP PDU 0x7f23c8006890 dump:
2018-03-25 15:02:26 [2579] [6] DEBUG: type_name: deliver_sm_resp
2018-03-25 15:02:26 [2579] [6] DEBUG: command_id: 2147483653 = 0x8005
2018-03-25 15:02:26 [2579] [6] DEBUG: command_status: 0 = 0x
2018-03-25 15:02:26 [2579] [6] DEBUG: sequence_number: 1435116073 = 0x558a2229
2018-03-25 15:02:26 [2579] [6] DEBUG: message_id: NULL
2018-03-25 15:02:26 [2579] [6] DEBUG: SMPP PDU dump ends.


And it's the second deliver_sm:

2018-03-25 05:35:04 [9914] [6] DEBUG: Optional parameter tag (0x0202)
2018-03-25 05:35:04 [9914] [6] DEBUG: Optional parameter length read as 12
2018-03-25 05:35:04 [9914] [6] DEBUG: Optional parameter tag (0x0204)
2018-03-25 05:35:04 [9914] [6] DEBUG: Optional parameter length read as 2
2018-03-25 05:35:04 [9914] [6] DEBUG: SMPP[smstele2]: Got PDU:
2018-03-25 05:35:04 [9914] [6] DEBUG: SMPP PDU 0x7f103c000a60 dump:
2018-03-25 05:35:04 [9914] [6] DEBUG: type_name: deliver_sm
2018-03-25 05:35:04 [9914] [6] DEBUG: command_id: 5 = 0x0005
2018-03-25 05:35:04 [9914] [6] DEBUG: command_status: 0 = 0x
2018-03-25 05:35:04 [9914] [6] DEBUG: sequence_number: 1232498810 = 0x4976707a
2018-03-25 05:35:04 [9914] [6] DEBUG: service_type: NULL
2018-03-25 05:35:04 [9914] [6] DEBUG: source_addr_ton: 1 = 0x0001
2018-03-25 05:35:04 [9914] [6] DEBUG: source_addr_npi: 1 = 0x0001
2018-03-25 05:35:04 [9914] [6] DEBUG: source_addr: "79524022709"
2018-03-25 05:35:04 [9914] [6] DEBUG: dest_addr_ton: 0 = 0x
2018-03-25 05:35:04 [9914] [6] DEBUG: dest_addr_npi: 1 =