How to show Voicemail number in terminal ? [answered]
Can someone know how to show voicemail number by terminal command ? Thanks
Can someone know how to show voicemail number by terminal command ? Thanks
seems to be the Voicemail from contacts, so - should be visible via:
https://together.jolla.com/question/44513/access-contacts-command-line/
I did it this way:
phone1=$(sqlite3 /home/nemo/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db "select * from contacts;"|grep "Voice Mail"|grep sim|cut -d '|' -f1)
phone2=$(sqlite3 /home/nemo/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db "select * from phonenumbers where contactId=$phone1;"|cut -d '|' -f3)
echo $phone2
Asked: 2015-01-11 18:46:06 +0300
Seen: 182 times
Last updated: Jan 11 '15
Thanks, found. But no more simple way ?
Schturman ( 2015-01-11 20:59:33 +0300 )editI think, the phone number id will not be changed, so maybe a script for the sql-statement will help
rudi ( 2015-01-11 21:19:19 +0300 )edit