Skip to content

Instantly share code, notes, and snippets.

@lduboeuf
Last active June 15, 2020 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lduboeuf/7ba1f54354a0aaaa30597770adc10e2b to your computer and use it in GitHub Desktop.
Save lduboeuf/7ba1f54354a0aaaa30597770adc10e2b to your computer and use it in GitHub Desktop.
test ofono dial fail
#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
@lduboeuf
Copy link
Author

should be doable with ofono scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment