From: Andres Salomon <dilinger@collabora.co.uk>
To: ofono@ofono.org
Subject: Re: How to hangup outgoing call, before terminating end answers?
Date: Tue, 18 Aug 2009 11:16:49 -0400 [thread overview]
Message-ID: <20090818111649.591dcdfc@mycelium.queued.net> (raw)
In-Reply-To: <4A892261.40504@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]
On Mon, 17 Aug 2009 12:26:57 +0300
Marko Saukko <marko.saukko@gmail.com>
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.
prev parent reply other threads:[~2009-08-18 15:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-17 9:26 How to hangup outgoing call, before terminating end answers? Marko Saukko
2009-08-17 15:40 ` Denis Kenzior
2009-08-18 8:42 ` Li, Zhigang
2009-08-18 15:16 ` Andres Salomon [this message]
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=20090818111649.591dcdfc@mycelium.queued.net \
--to=dilinger@collabora.co.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox