Sun, 05/29/2016 - 17:09
#1
Plantronics Hub v3.8 is not working for call control with softphone client
I have identified the issue and it seems to happen with Hub v3.8
We have used spokeswrapper.cs as reference code, to provide support for plantronics headset.
The issue is that for Incoming call we have used following code of spokeswrapper.cs
.. public bool IncomingCall(int callid, string contactname = "")
{
bool success = false;
try
{
if (m_comSession != null) { ContactCOM contact = new ContactCOM(); contact.SetName(contactname); CallCOM call = new CallCOM(); call.SetId(callid); m_comSession.GetCallCommand().IncomingCall(call, contact, CallRingTone.RingTone_Unknown, CallAudioRoute.AudioRoute_ToHeadset); success = true; } } catch (Exception) { success = false; } return success; }
In the above code, we pass a incremental number as "callid" for each call in "call.SetId(callid);"
However, when we try to retireve the call from hub and the "callid" retrieved is altogether different. It is not the same "callid", which we had passed and therefore our headsupport to answer an incoming call is getting affected.
Would request to have a look and comment further...
Please note we used correct callid in v 3.6
Thanks, Abhiraj
Add new comment