Hi, I'm still using the now deprecated JABRA .NET SDK v3.1.13407, but I guess this issue is generic and still valid (please correct me if it is fixed with the new SDK).
When I call SetHookState(true), I receive a corresponding ButtonInput event ButtonId.HookSwitch for hook off.
When I call SetHookState(false), I receive a corresponding ButtonInput event ButtonId.HookSwitch for hook on.
When I handle the ButtonInput event, I cannot tell the difference if this event is caused by SetHookState or by a real button press by the user.
I had situations where the software calls SetHookState(false) because a first call was actively hangup via button click in the softphone, a second call was accepted viy UI, SetHookState(false) is called, but then the ButtonInput event (hook on) for the first SetHookState(false) was received and the second call was disconnected in response - the software handled the event as a button press by the user.
Is there a way to suppress this "feedback" event or to differentiate it from a real button press?