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

How to check if phone in call now (CLI) ? [answered]

asked 2015-10-18 01:24:59 +0300

Schturman gravatar image

updated 2015-10-19 00:07:06 +0300

Hi Can someone help me to get the right command for this ? I need to know if phone active now or not.
After update to 1.1.9.28 this command is stopped working for me (probably service changed):

/usr/lib/qt5/bin/qdbus --user org.freedesktop.Telepathy.Client.voicecall /calls/active org.nemomobile.voicecall.VoiceCall.statusText

Thanks

EDIT:
You can use this command:

/usr/lib/qt5/bin/qdbus --system com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.get_call_state|head -1
edit retag flag offensive close delete

Comments

Hei, mcetool knows the state and type of the call in progress.

LVPVS out.

LVPVS ( 2015-10-18 22:20:26 +0300 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-10-19 00:08:40 +0300

Schturman gravatar image

Thanks for answer, now I can use this command to know if phone in call now (active) or not (none):

/usr/lib/qt5/bin/qdbus --system com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.get_call_state|head -1
edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2015-10-18 01:24:59 +0300

Seen: 217 times

Last updated: Oct 19 '15