No description
Find a file
Stacy Harper 91fe7fbeab Fix the unreliable modem numbers prefix issues
Sometime, the modem will give 0611924312 as incoming text or
call number instead of +33611924312 (example in france).

This cause two issues cause of format missmatch:

* Notifications sometime come from "Unknown" when we actually know
the contact
* Text/Dial menu entries are duplicated with "Unknown" persons

We try here to fix boths issues with a simple idea. We will fallback
to a default prefix when it is missing (on phone like numbers,
composed of 10 numbers).

This prefix is an environment variable that cause 0 impact if missing.

* sxmo_contacts.sh will fix the recent numbers prefixes with the default
* sxmo_modemmonitor.sh will also fix the prefix with the default one

This should solve missmatch issues as both will use country code format

I only recommend to always store contacts in the prefixed format in the
contacts.tsv file.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-04-10 13:20:19 +02:00
configs Fix the unreliable modem numbers prefix issues 2021-04-10 13:20:19 +02:00
programs Revert "Workaround for reliable incoming calls waking up from CRUST", no longer needed with eg25-manager and caused ModemManager restart issues 2021-04-05 12:01:32 +02:00
resources increased volume 2021-03-31 11:37:32 +02:00
scripts Fix the unreliable modem numbers prefix issues 2021-04-10 13:20:19 +02:00
.build.yml adding icons to menus 2021-02-01 18:32:32 +01:00
.editorconfig editorcheck update: restrict to shell scripts and C programs for now, and removing the maximum line length check for now. 2020-11-20 18:13:31 +01:00
.gitignore Initial commit 2020-03-15 18:42:35 -05:00
.shellcheckrc implemented lookupcontactname() in call/text handler, removes non posix-compliant substitutions 2020-12-09 15:46:21 +01:00
LICENSE Add license 2020-06-19 18:02:09 -05:00
Makefile Added a more detailed xinit_template and added some default media resources (wallpaper,startup tune,keypress sound) that are preconfigured in the template 2021-03-29 14:00:09 +02:00
README.md fix builds button to only show sxmo-utils tests 2020-11-08 22:08:43 -05:00

sxmo-utils

builds.sr.ht status

This repository contains scripts and C programs to support Sxmo.

Note all scripts pass shellcheck and are tab-idented.