public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: bluezprofile kernel <bluezprofile@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Attending skype calls from bluetooth headset
Date: Tue, 3 Nov 2009 10:21:43 +0200	[thread overview]
Message-ID: <20091103082143.GA21755@jh-x301> (raw)
In-Reply-To: <ba5648fa0911022149y544fcfbcsd81a68a731f0604c@mail.gmail.com>

Hi Bala,

(lkml left out from the recipients since this is pretty obviously
off-topic there)

On Tue, Nov 03, 2009, Bala wrote:
> I am trying to attend skype calls from bluetooth headset.
> I am hearing the ringtone but I am not able to answer the call by
> pressing the call button in the headset.
> 
> Control comes to function telephony_key_press_req() in
> audio/telephone_dummy.c [bluez 4.32] when call button in the headset
> is pressed.
> Any idea how to communicate this event to skype so that the call can
> be answered?

As you see from audio/headset.c the event will also emit a
"AnswerRequested" D-Bus signal. So all you need to do is get the source
code for skype and fix it to listen for and react to this signal. Oh wait,
skype is closed source ;)
However, if the rumors are true we might see an open source skype UI for
Linux soon and then the issue could really be solved. This is btw assuming
that skype doesn't already have some API for external call control. If it
does, you might be able to hack together a telephony-skype.c which calls
into this API.

Johan

  reply	other threads:[~2009-11-03  8:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-03  5:49 Attending skype calls from bluetooth headset bluezprofile kernel
2009-11-03  8:21 ` Johan Hedberg [this message]
2009-11-03  9:11   ` alok barsode

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=20091103082143.GA21755@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=bluezprofile@gmail.com \
    --cc=linux-bluetooth@vger.kernel.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