7 manager = dbus.Interface(bus.get_object('org.ofono', '/'),
10 modems = manager.GetModems()
12 for path, properties in modems:
13 print "[ %s ]" % (path)
15 if "org.ofono.VoiceCallManager" not in properties["Interfaces"]:
18 mgr = dbus.Interface(bus.get_object('org.ofono', path),
19 'org.ofono.VoiceCallManager')
21 calls = mgr.GetCalls()
23 for path, properties in calls:
24 state = properties["State"]
25 print "[ %s ] %s" % (path, state)
27 if state != "incoming":
30 call = dbus.Interface(bus.get_object('org.ofono', path),
31 'org.ofono.VoiceCall')