2010-08-20 21:12:42 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import dbus
|
|
|
|
|
|
|
|
bus = dbus.SystemBus()
|
|
|
|
|
|
|
|
manager = dbus.Interface(bus.get_object('org.ofono', '/'),
|
|
|
|
'org.ofono.Manager')
|
|
|
|
|
2010-09-09 19:37:37 +00:00
|
|
|
modems = manager.GetModems()
|
2010-08-20 21:12:42 +00:00
|
|
|
|
2010-09-09 19:37:37 +00:00
|
|
|
path, properties = modems[0]
|
2010-08-20 21:12:42 +00:00
|
|
|
|
|
|
|
manager = dbus.Interface(bus.get_object('org.ofono', path),
|
|
|
|
'org.ofono.VoiceCallManager')
|
|
|
|
|
|
|
|
mpty = manager.CreateMultiparty()
|
|
|
|
|
|
|
|
for path in mpty:
|
|
|
|
print path
|