Project

General

Profile

Bug #806

Kannel doesn't send DCS from MO-SMS

Added by And And 19 days ago. Updated 11 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/03/2019
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Dear Colleagues,

I see that Kannel doesn't send proper DCS value from sms-service group.
For example:

  1. For Receiving SMS
    group = sms-service
    keyword = default
    catch-all = yes
    max-messages = 0
    concatenation= true
    get-url = "http://localhost/getsms.php?ORIGINATOR=%p&RECEIVER=%P&SMS=%a&SOURCE_PRV=%o&MD=%D&dcs=%O&coding=%C"

Kannel fill DCS variable in URL as "00" when i'm sending MO-SMS in UCS-2 with DCS=8

Could you please fix it?

kannel_dcs04102019.pcapng (1.8 KB) kannel_dcs04102019.pcapng And And, 10/04/2019 08:31 AM
smsbox04102019 (6.28 KB) smsbox04102019 And And, 10/04/2019 08:37 AM

History

#1 Updated by And And 19 days ago

Kannel 1.4.5

#2 Updated by Alexander Malysh 19 days ago

Hi,

please provide bearerbox and smsbox debug log.

Thanks,
Alex

#3 Updated by And And 19 days ago

Hi Alex,

I have just added pcap trace for my test attempt.
Also, you can find smsbox debug log in the attachment.

Tell me please where i can find bearerbox log?

#4 Updated by Alexander Malysh 11 days ago

Hi,

looks like you enabled MO charset recoding therefore Kannel recode MO from USC-2 to UTF-8 and logged it in smsbox log:

2019-10-04 09:29:01 [5501] [4] INFO: MO message converted from UCS-2 to UTF-8

After the recoding of charset Kannel sets dcs to correct value 0x0.

Here is the documentation for the option:

mo-recode    boolean    If enabled, Kannel will try to convert received messages with UCS-2 charset to WINDOWS-1252 or to UTF-8, simplifying external servers jobs. If Kannel is able to recode message, it will also change coding to 7 bits and charset to windows-1252 or to utf-8.

Thanks,
Alex

#5 Updated by Alexander Malysh 11 days ago

  • Status changed from New to Resolved

#6 Updated by And And 11 days ago

Alexander Malysh wrote:

Hi,

looks like you enabled MO charset recoding therefore Kannel recode MO from USC-2 to UTF-8 and logged it in smsbox log:
[...]

After the recoding of charset Kannel sets dcs to correct value 0x0.

Here is the documentation for the option:
[...]

Thanks,
Alex

Alexander,

Many thanks for your help!

Also available in: Atom PDF