Active Topics

 


Reply
Thread Tools
Posts: 187 | Thanked: 41 times | Joined on May 2010
#1
Hi , i am trying to use the dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.CreateWith string:"$NUMBER" uint32:0 where number starts with #31# followed by the real number which means my caller id will be hidden, but apparently it does not work. If i type #31#NUMBER on the caller-ui it works just fine. What is the matter ?
 
Posts: 3 | Thanked: 2 times | Joined on Dec 2010
#2
Try:
Code:
def call(NUMBER):
	PATH = '/org/freedesktop/Telepathy/Account/ring/tel/ring'
	account = sbus.get_object('org.freedesktop.Telepathy.AccountManager', PATH)
	account.EnsureChannel( \
        	dbus.Dictionary({
                	dbus.String(u'org.freedesktop.Telepathy.Channel.TargetHandleType'): dbus.UInt32(1),
	                dbus.String(u'org.freedesktop.Telepathy.Channel.ChannelType'): dbus.String(u'org.freedesktop.Telepathy.Channel.Type.StreamedMedia'),
	                dbus.String(u'org.freedesktop.Telepathy.Channel.TargetID'): dbus.String(TARGET),
        	}, signature='sv'),
        dbus.UInt64(0),
        dbus.String(''),
        dbus_interface='com.nokia.Account.Interface.ChannelRequests')
use call(number) , it will work with the prefix #31# , probably :P
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:11.