All of lore.kernel.org
 help / color / mirror / Atom feed
* Attending skype calls from bluetooth headset
@ 2009-11-03  5:49 bluezprofile kernel
  2009-11-03  8:21 ` Johan Hedberg
  0 siblings, 1 reply; 3+ messages in thread
From: bluezprofile kernel @ 2009-11-03  5:49 UTC (permalink / raw)
  To: Linux Kernel Mailing List, linux-bluetooth

Hi ,

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?

Regards,
Bala.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Attending skype calls from bluetooth headset
  2009-11-03  5:49 Attending skype calls from bluetooth headset bluezprofile kernel
@ 2009-11-03  8:21 ` Johan Hedberg
  2009-11-03  9:11   ` alok barsode
  0 siblings, 1 reply; 3+ messages in thread
From: Johan Hedberg @ 2009-11-03  8:21 UTC (permalink / raw)
  To: bluezprofile kernel; +Cc: linux-bluetooth

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Attending skype calls from bluetooth headset
  2009-11-03  8:21 ` Johan Hedberg
@ 2009-11-03  9:11   ` alok barsode
  0 siblings, 0 replies; 3+ messages in thread
From: alok barsode @ 2009-11-03  9:11 UTC (permalink / raw)
  To: bluezprofile kernel, linux-bluetooth

Hi Bala,

On Tue, Nov 3, 2009 at 1:51 PM, Johan Hedberg <johan.hedberg@gmail.com> wrote:
> 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.

This might help.
https://developer.skype.com/Docs/ApiDoc/FrontPage

>
> Johan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Cheers,
Alok.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-03  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-03  5:49 Attending skype calls from bluetooth headset bluezprofile kernel
2009-11-03  8:21 ` Johan Hedberg
2009-11-03  9:11   ` alok barsode

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.