When I try to dial a call from 'more contacts', I get
Attempting to dial: +19362396134
Starting call with CALLID: 0
error: invalid call string specified: 'More contacts
0'
This is because dialmenu() is getting an extra 'More contacts'
prepended to the callid it returns on stdout. Make the grep
which is causing that quiet using -q.
I'm not sure why this isn't hitting everyone else.
Signed-off-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
The dialer only included recent callers, but there was no way to access
the full contact list (contacts.tsv). I added a "more contacts" options
that calls sxmo_contacts --all, providing an alphabetically sorted list
of all your contacts. It also works for the texting menu.
This is a cleaned up version of an earlier patch by Maarten van Gompel.
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Note prefix stripping was unreliable because any +1XX number would break things.
The advice should be to always dial with +1 / international prefixes and store
contacts in your contacts.tsv with international codes; this way we avoid any
duplicate errors since we can be assured things in mmcli always come back w/
international prefixing automatically.