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

Handle Failed 'Call Cleared' event?

$
0
0

Hi Guys

 

Making some good progress and I'm onto testing different call scenario's. One I am stuck on but perhaps it's more my approach that is wrong.

 

If the user presses the button on the headset to clear the call.. but if the call is not in a state to clear. ( For example in my case if the call is in 'Hold' state locally the softphone API does not allow you to clear the call). , then I get out of sync with the call. Spokes seems to assume the call ended successfully and therefore any further presses of the button do not create a CallEnded event. ( only a button pressed)

 

What I am used to with CTI development is that the request to do something does not update the state. e.g I should request to clear the call.. and then the event back stating the call has cleared will update the Spokes state so it knows the call has cleared. I guess the call ended event from Spokes is not really a request to end the call.. but just informing the SPOKES call State has changed?

 

Perhaps this is a limitation / approach due to the way the events are being created in the SpokesWrapper?  ( I'm developing in VB.Net)

 

Your thoughts on what the best approach is would be greatly appreciated.

 

Thanks again

 

Rob


Viewing all articles
Browse latest Browse all 2541

Trending Articles