Last active
June 15, 2020 22:18
-
-
Save lduboeuf/7ba1f54354a0aaaa30597770adc10e2b to your computer and use it in GitHub Desktop.
test ofono dial fail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#this test fails on my N5 devel: | |
#Pre-requisit: access UT device on terminal ( adb or ssh ) | |
#lanch this commands in UT: | |
#check the "object path" property from: | |
dbus-send --system --print-reply --dest=org.ofono / org.ofono.Manager.GetModems | |
#WARNING: those commands effectively interact with modem and trigger a call/hangup | |
#then dial a short number ( here `/ril_0` is my "object path" and 666 is my voicemail) | |
dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.VoiceCallManager.Dial string:"666" string:"default" | |
#my return output is: Error org.ofono.Error.Failed: Operation failed | |
#to hang up: | |
dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.VoiceCallManager.HangupAll |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should be doable with ofono scripts