Keywords: Mode: All keywords (AND) |
Fri Feb 21, 2020 00:53
|
fctrtc: Hello sir,
What I finally did what replace Φ with é, but certanly I don't know why this happens. I test it with iphone 5 and iphone 6 with same PDU result :shock:
I guess i will have to keep an eye on sms and add more ocurrences to our replace portion of code just in case.
Thank you any way for your help.
|
Sat Feb 15, 2020 16:37
|
fctrtc: Same msg from android that works fine, just in case of comparation
( PRIVATE BLOCK )
|
Sat Feb 15, 2020 16:33
|
fctrtc: Thank you for your help and your time.
Here it is:
( PRIVATE BLOCK )
|
Fri Feb 14, 2020 23:55
|
fctrtc: How to keep all incoming sms in UCS2? Looks like when it automatically changes to ISO it is impossible to get it decoded.
|
Wed Feb 12, 2020 16:07
|
fctrtc: Hello there,
I'm having some issues with codification but that different point depending if i reply from my iphone or if i do from android,
For example:
IPHONE:
root@oem-desktop:/var/spool/sms/incoming# cat *
From: 50688xx
From_TOA: 91 international, ISDN/telephone
From_SMSC: 5058500111
Sent: 20-02-12 09:43:59
Received: 20-02-12 09:44:10
Subject: GSM2
Modem: GSM2
IMSI: 71203xx
IMEI: 3557xx
Report: no
Alphabet: ISO
Length: 61
Maâ–’ana es miâ–’rcoles y El Niâ–’o quiere jugar con el murciâ–’lago
ANDROID: (WORKS FINE)
From: 506501xxx
From_TOA: 91 international, ISDN/telephone
From_SMSC: 5058500111
Sent: 20-02-12 09:45:49
Received: 20-02-12 09:46:02
Subject: GSM2
Modem: GSM2
IMSI: 71203xxx
IMEI: 355xx
Report: no
Alphabet: UCS2
Length: 32
Maâ–’ana es miâ–’rcoles en el â–’rbol root@oem-desktop:/var/spool/sms/incoming#
I can decode incoming messages from android with:
root@oem-desktop:/var/spool/sms/incoming# tail -n1 GSM2.Tk0yvj | iconv -f ISO-8859-1
Mañana es miércoles en el árbol
But i cannot decode messages sent from my iphone:
root@oem-desktop:/var/spool/sms/incoming# tail -n1 GSM2.khhzPU | iconv -f ISO-8859-1
Ma¤ana es mi�rcoles y El Ni¤o quiere jugar con el murci�lago
I already try mixing incoming_utf8, decode_unicode_text and cs_convert_optical but nothing looks to work...
I have also try to identify the encoding of messages sent by iphone which say on file are:
root@oem-desktop:/var/spool/sms/incoming# chardetect GSM2.Tk0yvj (ANDROID)
GSM2.Tk0yvj: ISO-8859-1 with confidence 0.73
root@oem-desktop:/var/spool/sms/incoming# chardetect GSM2.khhzPU (iPhone)
GSM2.khhzPU: Windows-1252 with confidence 0.73
root@oem-desktop:/var/spool/sms/incoming#
But no matter what I tried i cannot decode the iPhone messages...
root@oem-desktop:/var/spool/sms/incoming# tail -n1 GSM2.khhzPU | iconv -f ISO-8859-1
Ma¤ana es mi�rcoles y El Ni¤o quiere jugar con el murci�lago root@oem-desktop:/var/spool/sms/incoming#
root@oem-desktop:/var/spool/sms/incoming# tail -n1 GSM2.khhzPU | iconv -f Windows-1252
Ma¤ana es mi‚rcoles y El Ni¤o quiere jugar con el murci‚lago
My current settings are:
root@oem-desktop:/var/spool/sms/incoming# cat /etc/smsd.conf | grep -v '^#'
devices = GSM1,GSM2
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
incoming = /var/spool/sms/incoming
logfile = /var/log/smstools/smsd.log
infofile = /var/run/smstools/smsd.working
pidfile = /var/run/smstools/smsd.pid
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
report = /var/spool/sms/reports
sent = /var/spool/sms/sent
stats = /var/log/smstools/smsd_stats
loglevel = 5
incoming_utf8 = no
receive_before_send = yes
autosplit = 3
eventhandler = /etc/tunnel/eventhandler.php
[queues]
ALL = /var/spool/sms/checked
GSM1 = /var/spool/sms/GSM1
GSM2 = /var/spool/sms/GSM2
[GSM1]
device = /dev/serial/by-path/pci-0000:00:14.0-usb-0:1:1.0-port0
queues = GSM1, ALL
incoming = yes
baudrate = 115200
report = yes
report_device_details = yes
decode_unicode_text = no
cs_convert_optical = no
[GSM2]
device = /dev/serial/by-path/pci-0000:00:14.0-usb-0:2:1.0-port0
queues = GSM2, ALL
incoming = yes
baudrate = 115200
report = yes
report_device_details = yes
decode_unicode_text = no
cs_convert_optical = no
root@oem-desktop:/var/spool/sms/incoming#
Any clue about it?
Thank you in advanced.
|
Sat Feb 08, 2020 22:38
|
fctrtc: That certainly did the trick. It worked like a charm. Thank you very much! Little tip sent to your paypal.
|
Sat Feb 08, 2020 04:06
|
fctrtc: Hi there everybody, amazing project running here! Firstable: Thank you.
I'm trying to achieve the option of send using specific device, then I tried to add the modem header to the outgoing/ file but after send (let's say GSM1) some tests I notice it is been ignored and when its being sent it just changed that header to the used device for sending (GSM2).
Is any option to send using GSM1 or any other number and keep that mandatory?
|