cl77: Darn. phonecalls_purge=yes did it....
|
cl77: Phonebook entries in MC storage cant be deleted in some of my modems.
at+cpbs="MC"
OK
at+cmee=1
OK
at+cpbw=1
+CME ERROR: 3
smstools logs:
2021-08-31 15:51:38,6, XRUSB325: Removing processed phonecall entries (2)
2021-08-31 15:51:38,7, XRUSB325: -> AT+CPBW=2
2021-08-31 15:51:38,7, XRUSB325: Command is sent, waiting for the answer. (5)
2021-08-31 15:51:38,7, XRUSB325: <- ERROR
2021-08-31 15:51:38,4, XRUSB325: Ignoring phonecalls, too many errors
Every time smstools gets restarted I get same events again. Like in this post it would be possible do accept CME ERROR when trying to deleted an entry. But that would not solve our problem. I think events would be fired repeated every time PB gets read.
Docs about m39i says: "In theâ€MCâ€, â€RC†and â€LD†phonebooks, automatic deletion of the entries stored in ME will be performed if the SIM card is changed. If the same SIM is removed and reinserted, no automatic deletion
is performed. "
Is there any possibility to avoid these duplicates? Maybe read a timestamp of the missed call?
Or maybe only fire event when RING comes in? This would be a great solution to avoid PB usage and receive incoming call events in real time.
Thanks in advance.
Operating system name and version: Ubuntu 20.04.2 LTS
Version of smsd: 3.1.21
Smsd installed from: sources
Name and model of a modem / phone: Siemens MC39i
Interface: Exar
|
Mon Oct 22, 2018 07:50
|
cl77: I've changed the code to the following:
iconv -f UTF-16BE -t UTF-8 >> $TMPFILE
This seems to work better with unicode and emojis. With UNICODEBIG incoming messages has been cut at emojis.
smstools version 3.1.21
|