You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My gammu-smsd mixes received messages with previous.
I tried different versions of gammu(and updated from ppa).
I could not understand the patterns of the problem.
But apparently the problem is only with Cyrillic messages.
[gammu]
port = /dev/ttyUSB_utps_modem
connection = at115200
name = huawei_e1550
model = at
logfile = /var/log/gammu/gammu.log
logformat = textall
[smsd]
Service = files
InboxPath = /var/spool/gammu/inbox/
OutboxPath = /var/spool/gammu/outbox/
SentSMSPath = /var/spool/gammu/sent/
ErrorSMSPath = /var/spool/gammu/error/
InboxFormat = unicode
OutboxFormat = unicode
TransmitFormat = auto
debugLevel = 3
LogFile = /var/log/gammu/smsd.log
DeliveryReport = sms
DeliveryReportDelay = 7200
CheckSecurity = 0
I tried to disable gammu-smsd service to make sure that the problem was in it.
If you read the messages manually(gammu cli) without gammu-smsd - then no problem!
I decoded messages from gammu getallsms using a script:
#!/bin/bash
FILES=/var/spool/gammu/inbox/*
for f in $FILES
do
printf "Processing SMS file $f\n"
iconv -f UTF-16 -t UTF-8 $f
printf "\n"
done
Hello.
My gammu-smsd mixes received messages with previous.
I tried different versions of gammu(and updated from ppa).
I could not understand the patterns of the problem.
But apparently the problem is only with Cyrillic messages.
Device: Huawei E1550
OS: Debian 9(Proxmox 5.1)
gammu 1.39 (from ppa ppa:nijel/ppa)
nano /etc/gammu-smsdrc
I tried to disable gammu-smsd service to make sure that the problem was in it.
If you read the messages manually(gammu cli) without gammu-smsd - then no problem!
I decoded messages from gammu getallsms using a script:
Output:
Processing SMS file /var/spool/gammu/inbox/IN20180423_174826_00_+7XXXXXXXXXX_00.txt
тест1 тест2 тест3
Processing SMS file /var/spool/gammu/inbox/IN20180423_174828_00_+7XXXXXXXXXX_00.txt
тест1 тест2 тест3
Processing SMS file /var/spool/gammu/inbox/IN20180423_174856_00_+7XXXXXXXXXX_00.txt
Тестытест
Processing SMS file /var/spool/gammu/inbox/IN20180423_174901_00_+7XXXXXXXXXX_00.txt
тест1 тест2 тест3
Processing SMS file /var/spool/gammu/inbox/IN20180423_174933_00_+7XXXXXXXXXX_00.txt
Текстыест2
Processing SMS file /var/spool/gammu/inbox/IN20180423_175007_00_+7XXXXXXXXXX_00.txt
Test1
Processing SMS file /var/spool/gammu/inbox/IN20180423_175016_00_+7XXXXXXXXXX_00.txt
Test 2 test est
Processing SMS file /var/spool/gammu/inbox/IN20180423_175024_00_+7XXXXXXXXXX_00.txt
Тебе2 t
I highlighted bold text that is repeated in messages!
The text was updated successfully, but these errors were encountered: