From 81f2f74dfdf5842c3c29683b7e21c00429309f97 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 25 Sep 2009 14:04:43 -0700 Subject: Add some more test scripts for SMS and voice call testing --- test/hangup-all | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 test/hangup-all (limited to 'test/hangup-all') diff --git a/test/hangup-all b/test/hangup-all new file mode 100755 index 00000000..d75a29c6 --- /dev/null +++ b/test/hangup-all @@ -0,0 +1,18 @@ +#!/usr/bin/python + +import sys +import dbus + +bus = dbus.SystemBus() + +manager = dbus.Interface(bus.get_object('org.ofono', '/'), + 'org.ofono.Manager') + +properties = manager.GetProperties() + +path = properties["Modems"][0] + +manager = dbus.Interface(bus.get_object('org.ofono', path), + 'org.ofono.VoiceCallManager') + +manager.HangupAll() -- cgit v1.2.3