All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marko Saukko <marko.saukko@gmail.com>
To: ofono@ofono.org
Subject: How to hangup outgoing call, before terminating end answers?
Date: Mon, 17 Aug 2009 12:26:57 +0300	[thread overview]
Message-ID: <4A892261.40504@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

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

$ dbus-send --system --print-reply --dest=org.ofono /modem1/voicecall01
org.ofono.VoiceCall.Busy
Error org.freedesktop.DBus.Error.UnknownMethod: Method "Busy" with
signature "" on interface "org.ofono.VoiceCall" doesn't exist


The VoiceCallManager.HangupAll does not work either:
$ dbus-send --print-reply --system --dest=org.ofono /modem1
org.ofono.VoiceCallManager.HangupAll
Error org.ofono.Error.InProgress: Operation already in progress


Regards,
Marko

             reply	other threads:[~2009-08-17  9:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-17  9:26 Marko Saukko [this message]
2009-08-17 15:40 ` How to hangup outgoing call, before terminating end answers? Denis Kenzior
2009-08-18  8:42 ` Li, Zhigang
2009-08-18 15:16 ` Andres Salomon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A892261.40504@gmail.com \
    --to=marko.saukko@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.