Auto-reject incoming phone calls
lanzo
lanzato at gmail.com
Mon Oct 27 23:59:12 CET 2008
member kamituel wrote:
>
> script works on the FSO and is using Call and SMS DBus interfaces.
>
> Kamil
>
> #!/usr/bin/python
> import dbus
> [...]
>
I am trying executing this script in FDOM but i get lots of errors (see
below)...
is there an easy way to make it work with this distro too?
root at om-gta02:~# ./auto-reject.py
Traceback (most recent call last):
File "./auto-reject.py", line 14, in <module>
gsm_device_obj = bus.get_object( 'org.freesmartphone.ogsmd',
'/org/freesmartphone/GSM/Device' )
File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 244, in
get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 241, in
__init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 183, in
activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 281, in
start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in
call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown:
The name org.freesmartphone.ogsmd was not provided by any .service files
root at om-gta02:~#
tnx very much
lanzo
--
View this message in context: http://n2.nabble.com/Auto-reject-incoming-phone-calls-tp1375533p1384780.html
Sent from the Openmoko Community mailing list archive at Nabble.com.
More information about the community
mailing list