We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

How to show Voicemail number in terminal ? [answered]

asked 2015-01-11 18:46:06 +0300

Schturman gravatar image

Can someone know how to show voicemail number by terminal command ? Thanks

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by eric
close date 2015-01-12 10:36:51.798084

Comments

Thanks, found. But no more simple way ?

Schturman ( 2015-01-11 20:59:33 +0300 )edit

I 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

2 Answers

Sort by » oldest newest most voted
1

answered 2015-01-11 19:40:53 +0300

rudi gravatar image

seems to be the Voicemail from contacts, so - should be visible via:
https://together.jolla.com/question/44513/access-contacts-command-line/

edit flag offensive delete publish link more
0

answered 2015-01-12 00:04:34 +0300

Schturman gravatar image

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
edit flag offensive delete publish link more

Question tools

Follow
1 follower

Stats

Asked: 2015-01-11 18:46:06 +0300

Seen: 159 times

Last updated: Jan 11 '15