On Mon, 17 Aug 2009 12:26:57 +0300
Marko Saukko <[email protected]>
wrote:

> Hi,
> 
> Currently when a call is created with Dial method the object path for
> the call (e.g. /modem1/voicecall01) is returned only after the
> terminating end has answered to the call. So is it possible to Hangup
> the call from the originating end before terminating end answers the
> call?
> 
> 
> Create the call:
> $ dbus-send --print-reply --system --dest=org.ofono /modem1
> org.ofono.VoiceCallManager.Dial string:"+358000000000"
> string:"default"
> 
> The following do not work as the /modem1/voicecall01 does not exist:
> $ dbus-send --system --print-reply
> --dest=org.ofono /modem1/voicecall01 org.ofono.VoiceCall.Hangup
> Error org.freedesktop.DBus.Error.UnknownMethod: Method "Hangup" with
> signature "" on interface "org.ofono.VoiceCall" doesn't exist

FWIW, I just tried this on my G1 and it worked fine:

localhost:~/ofono# !109
dbus-send --system --print-reply --dest=org.ofono / org.ofono.at.Manager.Create 
string:"dev:/dev/smd0" string:"at"
method return sender=:1.0 -> dest=:1.1 reply_serial=2
   object path "/modem1"
localhost:~/ofono# dbus-send --system --print-reply --dest=org.ofono /modem1 
org.ofono.VoiceCallManager.Dial string:"617501XXXX" string:"default"
method return sender=:1.0 -> dest=:1.2 reply_serial=2
   object path "/modem1/voicecall01"
localhost:~/ofono# dbus-send --system --print-reply --dest=org.ofono 
/modem1/voicecall01 org.ofono.VoiceCall.Hangup
method return sender=:1.0 -> dest=:1.3 reply_serial=2

Hangup returned successfully prior to the other end picking up.




_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to