All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marko Saukko <marko.saukko@gmail.com>
To: ofono@ofono.org
Subject: How to dismiss incoming call?
Date: Tue, 04 Aug 2009 15:53:04 +0300	[thread overview]
Message-ID: <4A782F30.70803@gmail.com> (raw)

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

Hi,

How can I dismiss incoming call without answering to it?

I tried the Busy method, as shown below:

$ sudo dbus-send --system --print-reply --dest=org.ofono
/modem1/voicecall01 org.ofono.VoiceCall.Busy
method return sender=:1.277 -> dest=:1.284 reply_serial=2

Here is what the ofonod prints out:
...
ofonod[2049]: clcc_poll_cb got result: 1
ofonod[2049]: Final response: OK
ofonod[2049]: Response line: +CLCC: 1,1,4,0,0,"+358000000000",145
ofonod[2049]: cring_notify got result: 1
ofonod[2049]: Final response: (null)
ofonod[2049]: Response line: +CRING: VOICE
ofonod[2049]: clip_notify got result: 1
ofonod[2049]: Final response: (null)
ofonod[2049]: Response line: +CLIP: "+358000000000",145
ofonod[2049]: clip_notify: +358000000000 145 0
ofonod[2049]: Got a voicecall event, status: 4, id: 1, number: +358000000000
ofonod[2049]: Found call with id: 1
ofonod[2049]: clcc_poll_cb got result: 1
ofonod[2049]: Final response: OK
ofonod[2049]: Response line: +CLCC: 1,1,4,0,0,"+358000000000",145
...

...
ofonod[2049]: generic_cb got result: 1
ofonod[2049]: Final response: OK
...

These messages do not have any effect to the call itself. With E51 the
only way to dismiss the call in receiving end is to first answer and
then hangup.

In above tests the Nokia E51 was used (connected with USB cable).




With Nokia 6100 connected with USB cable the the busy method worked
(call was ended), however the dbus send an error message as a response:

$ sudo dbus-send --system --print-reply --dest=org.ofono
/modem1/voicecall01 org.ofono.VoiceCall.Busy
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply.
Possible causes include: the remote application did not send a reply,
the message bus security policy blocked the reply, the reply timeout
expired, or the network connection was broken.

And here is the output by ofonod:

...
ofonod[1514]: Response line: +CRING: VOICE
ofonod[1514]: cring_notify
ofonod[1514]: clip_notify got result: 1
ofonod[1514]: Final response: (null)
ofonod[1514]: Response line: +CLIP: "+358000000000",145
ofonod[1514]: clip_notify: +358000000000 145 0
ofonod[1514]: Got a voicecall event, status: 4, id: 1, number: +358000000000
ofonod[1514]: Did not find a call with id: 1
ofonod[1514]: Resetting updating flag
ofonod[1514]: clcc_poll_cb got result: 0
ofonod[1514]: Final response: ERROR
ofonod[1514]: We are polling CLCC and CLCC resulted in an error
ofonod[1514]: All bets are off for call management


after this nothing else was printed even when the busy was sent.


oFono version 0.2 was used.



Regards,
Marko

             reply	other threads:[~2009-08-04 12:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04 12:53 Marko Saukko [this message]
2009-08-04 13:58 ` How to dismiss incoming call? Ceyhun =?unknown-8bit?q?Alye=C5=9Fil?=
2009-08-05  9:42 ` Marko Saukko
2009-08-06 15:43   ` Denis Kenzior
2009-08-07 11:36     ` Marko Saukko

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=4A782F30.70803@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.