Hi! I'm trying to build an application that mutes the ring tone that is played when I receive a phone call. I have been browsing through the documentation and trying to find the dbus call for this purpose using dbus-monitor, but up til now, have had slim success.
Thus far I have tried the following: I've tried to call the org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestMute dbus method with the argument set to true. I have read the documentation from http://wiki.maemo.org/Dialer, and AFAIK it this should do just what I want. However if I call that method, nothing happens. Here is the command I've used: dbus-send --session --type=method_call --print-reply --dest=org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestMute boolean:true Reply: method return sender=:1.2 -> dest=:1.105 reply_serial=2 After trying the approach above I tried to find something by monitoring dbus. I noticed that there is one interesting call made: method call sender=:1.74 -> dest=com.nokia.HildonSVNotificationDaemon serial=73 path=/com/nokia/HildonSVNotificationDaemon; interface=com.nokia.HildonSVNotificationDaemon; member=StopEvent int32 1 I tried to call this method with dbus-send, but it had no effect either. Here's the dbus-send command I used: dbus-send --session --type=method_call --print-reply --dest=com.nokia.HildonSVNotificationDaemon /com/nokia/HildonSVNotificationDaemon com.nokia.HildonSVNotificationDaemon.StopEvent int32:1 Reply: method return sender=:1.21 -> dest=:1.104 reply_serial=2 I have not found any other methods calls from the dbus-monitor logs and have not got any further ideas on what to try. Has anyone been successful at achieving this kind of behavior? Cheers, Miko Kiiski -- View this message in context: http://maemo-community-mailing-lists.2589537.n2.nabble.com/Muting-the-ring-tone-on-incoming-call-on-N900-tp6724361p6724361.html Sent from the maemo-developers mailing list archive at Nabble.com. _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers