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

Revision history [back]

click to hide/show revision 1
initial version

posted 2015-10-18 01:24:59 +0200

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

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

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

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