Updated handling of '+' in phone numbers, it is now never stripped but expected: all numbers should be full international phone numbers (including in contacts.tsv).
Ensure contacts from modem and contacts lists are all fully qualified phone numbers (starting with + and carrying a country prefix). This effectively filters out older/incompatible entries.
This commit is contained in:
parent
7f2f50c11a
commit
565eae8835
4 changed files with 7 additions and 5 deletions
|
@ -41,7 +41,7 @@ vid_to_number() {
|
|||
mmcli -m "$(modem_n)" -o "$1" -K |
|
||||
grep call.properties.number |
|
||||
cut -d ':' -f2 |
|
||||
tr -d ' +'
|
||||
tr -d ' '
|
||||
}
|
||||
|
||||
log_event() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue