Quantcast
Channel: Plantronics Developer Connection : Popular Discussions - Forums & Support
Viewing all articles
Browse latest Browse all 2541

Sending phonecall audio to headset in 2.7

$
0
0

Hello,

 

I'm writing a .NET 3.5 application that makes uses of the Spokes 2.7 SDK.

 

So far, my app does the following, and this much works great:

 

1. Headset rings on incoming phonecalls.

2. Headset Talk button answers or hangs-up a phonecall.

3. Headset Mute button mutes or unmutes a phonecall.

 

However, the phonecall doesn't actually reach the headset; I don't hear the phonecall audio on the headset, and my speech isn't picked-up by the headset microphone.

 

I'm using this code on an incoming call:

 

_ISession.CallCommand.IncomingCall(newCallId(myCallId), null, Plantronics.UC.Common.RingTone.Unknown, AudioRoute.ToHeadset);

 

... and this when the call is answered:

 

_ISession.CallCommand.AnsweredCall(newCallId(myCallId));

 

I have similar methods set-up for an outgoing call and a terminated call.  I'm also setting the AudioState on or off when the Talk button is pressed, such as:

 

_IDevice.HostCommand.AudioState = AudioType.MonoOn;

 

Do you know what else I need to do to get the phonecall on my headset?


Viewing all articles
Browse latest Browse all 2541

Trending Articles