Page Index Toggle Pages: [1] 2 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Mute button on USB handset hangs up call (Read 22082 times)
MarcF
YaBB Newbies
*
Offline


Phoner is great!

Posts: 39
Joined: 15. Aug 2016
Mute button on USB handset hangs up call
18. Aug 2016 at 14:31
Print Post  
Hello

We have noticed something strange - can answer calls with the phone button on the USB headset, however the mute button can cause the call to be hanged up. Sometimes it mutes/unmutes and then the second time muting will hang up the call.

This is using different USB headsets - Microsoft LX-6000 and Logitech H650e. Both headsets correctly mute/unmute the microphone input on Windows when pressing the mute button.

So it looks like something in PhonerLite is causing it to behave incorrectly when pressing mute/unmute. We were even able to answer a call by pressing mute!

Marcus
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11475
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #1 - 23. Aug 2016 at 08:33
Print Post  
The problem is, that I have no possibility to test with all such kind of headsets. The development of PhonerLite is just a hobby project of mine. I just managed to handle that headsets I could test with. Sorry.
  
Back to top
WWW  
IP Logged
 
MarcF
YaBB Newbies
*
Offline


Phoner is great!

Posts: 39
Joined: 15. Aug 2016
Re: Mute button on USB handset hangs up call
Reply #2 - 23. Aug 2016 at 13:02
Print Post  
Thanks - wasn't sure if it was a bug in the software as two different makes of headsets are doing the same thing.

Is there a way to disable PhonerLite reacting to the buttons on the headset as right now we can't make use of the Mute button on the headsets as it can cause PhonerLite to end the call?
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11475
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #3 - 23. Aug 2016 at 13:14
Print Post  
The only way to disable that HID support is NOT to select that headset device in PhonerLite. By right clicking in PhonerLite on the microphone and speaker button you can chose "Default". 
In Windows you should select the headset device as default communication device.
Then the headset is used too by PhonerLite but without handling any of the headset events or settings at all - it just uses it as normal sound device.
  
Back to top
WWW  
IP Logged
 
kalis
YaBB Newbies
*
Offline


Phoner is great!

Posts: 37
Joined: 05. Aug 2016
Re: Mute button on USB handset hangs up call
Reply #4 - 25. Aug 2016 at 14:28
Print Post  
Same problem with Plantronics Blackwire C620 & C520.

But it works fine with Jabra UC VOICE 750 & Jabra EVOLVE 40 UC.

So the plantronics are configured to 'default' Smiley

  
Back to top
 
IP Logged
 
MarcF
YaBB Newbies
*
Offline


Phoner is great!

Posts: 39
Joined: 15. Aug 2016
Re: Mute button on USB handset hangs up call
Reply #5 - 25. Aug 2016 at 16:05
Print Post  
kalis wrote on 25. Aug 2016 at 14:28:
Same problem with Plantronics Blackwire C620 & C520.


That's why I thought it was a general PhonerLite issue reading the mute incorrectly considering for us it was broken on Logitech and Microsoft headsets.

Windows itself responds to the mute button just fine.
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11475
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #6 - 29. Aug 2016 at 09:16
Print Post  
I had tested some Jabra headsets and some from Sennheiser. There were not such problems.
It is not easy for me to support such a wide range of hardware. Sorry.
  
Back to top
WWW  
IP Logged
 
kalis
YaBB Newbies
*
Offline


Phoner is great!

Posts: 37
Joined: 05. Aug 2016
Re: Mute button on USB handset hangs up call
Reply #7 - 29. Aug 2016 at 11:32
Print Post  
Maybe I can send you an old Plantronics Blackwire C620 for test if you want ?
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11475
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #8 - 29. Aug 2016 at 11:57
Print Post  
I just tested with a Plantronics CS60 and the latest version of PhonerLite (2.42). When I press the mute button on the headset the recording from the microphone is stopped. After pressing the mute button again the recording device is opened again and the remote party can hear me again. So I can't reproduce the button with that device. Only when pressing the hook button on the headset the connection will be terminated - this is the expected behavior.

Maybe your headsets sends other commands after pressing buttons to PhonerLite. Can you please send me the content of the debug window of PhonerLite after pressing the mute button? There should be some output like: "HID in: [Plantronics] Mute = 1". Please send me that content by e-mail - not here in the forum.
  
Back to top
WWW  
IP Logged
 
kalis
YaBB Newbies
*
Offline


Phoner is great!

Posts: 37
Joined: 05. Aug 2016
Re: Mute button on USB handset hangs up call
Reply #9 - 29. Aug 2016 at 12:58
Print Post  
I've sended you the debug output at info@phoner.de.
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11475
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #10 - 29. Aug 2016 at 13:05
Print Post  
Your headset reports a hook event when pressing the mute button. That is strange!
I don't know what to do. The hook event means call termination (if the call is active) or call answer (incoming ringing call available).
  
Back to top
WWW  
IP Logged
 
MarcF
YaBB Newbies
*
Offline


Phoner is great!

Posts: 39
Joined: 15. Aug 2016
Re: Mute button on USB handset hangs up call
Reply #11 - 30. Aug 2016 at 11:01
Print Post  
I'll send you a log using both our Microsoft and Logitech headsets.
  
Back to top
 
IP Logged
 
MarcF
YaBB Newbies
*
Offline


Phoner is great!

Posts: 39
Joined: 15. Aug 2016
Re: Mute button on USB handset hangs up call
Reply #12 - 30. Aug 2016 at 14:35
Print Post  
I've got some interesting information. The Microsoft headset has both a mute button and answer call button (both LED backlit).

When the call button is off (LED light is off), I can press mute repeatably and all looks good in the debug log:
Code
Select All
13:01:16,282: HID in: [TEL] Phone Mute = 1
13:01:20,729: HID in: [TEL] Phone Mute = 0
13:01:24,434: HID in: [TEL] Phone Mute = 1
13:01:26,177: HID in: [TEL] Phone Mute = 0
13:01:26,681: HID in: [TEL] Phone Mute = 1
13:01:27,729: HID in: [TEL] Phone Mute = 0
13:01:28,082: HID in: [TEL] Phone Mute = 1
13:01:28,529: HID in: [TEL] Phone Mute = 0
13:01:28,833: HID in: [TEL] Phone Mute = 1
13:01:29,082: HID in: [TEL] Phone Mute = 0
13:01:29,778: HID in: [TEL] Phone Mute = 1
13:01:30,234: HID in: [TEL] Phone Mute = 0
13:01:30,482: HID in: [TEL] Phone Mute = 1
13:01:30,979: HID in: [TEL] Phone Mute = 0
13:01:31,178: HID in: [TEL] Phone Mute = 1
13:01:31,833: HID in: [TEL] Phone Mute = 0
13:01:32,530: HID in: [TEL] Phone Mute = 1
13:01:32,834: HID in: [TEL] Phone Mute = 0
13:01:33,833: HID in: [TEL] Phone Mute = 1 




However, if the call button is on (LED illuminated), pressing mute causes the following to happen (a new call opens with no number):
Code
Select All
13:05:10,026: HID in: [TEL] Hook = 1
13:05:10,028: Connect Request: 2E 00 01 00 02 80 46 23 01 00 00 00 01 00 00 07 00 80 31 32 30 30 31 00 00 09 01 00 01 00 00 00 00 00 00 00 00 02 91 81 05 00 00 00 00 00
13:05:10,028: Connect Request: 12001 to
13:05:10,028: HID out: [LED] Hook = 1
13:05:10,029: HID in: [TEL] Phone Mute = 1
-------------------------------------------
13:05:10,029: T: 84.45.30.2:5060
STUN requesting...
13:05:10,034: HID in: [TEL] Hook = 1
13:05:10,034: HID in: [TEL] Phone Mute = 0
-------------------------------------------
 



Pressing the call button while it's illuminated and on a call seems to work fine:
Code
Select All
13:06:09,571: HID in: [TEL] Hook = 0
13:06:09,588: Disconnect B3 Request: 0D 00 01 00 84 80 E9 25 01 01 01 00 00
13:06:09,588: Disconnect B3 Request
13:06:09,588: HID out: [LED] Hook = 0
13:06:09,588: Disconnect B3 Confirm: 12 00 01 00 84 81 E9 25 01 01 01 00 00 00 00 00 00 00
13:06:09,588: Disconnect B3 Confirm 



Finally, here's a sample case to illustrate the problem. All lights on the headset were off - so I was unmuted and call button was off. I accepted an incoming call. The call light illuminated to show I was on a call. I then pressed the mute button and the call disconnected:

Code
Select All
13:07:10,522: HID in: [TEL] Hook = 1
13:07:10,522: HID in: [TEL] Phone Mute = 1
13:07:15,971: HID in: [TEL] Hook = 1
13:07:15,973: Disconnect B3 Request: 0D 00 01 00 84 80 A9 26 01 01 01 00 00
13:07:15,973: Disconnect B3 Request
13:07:15,973: HID out: [LED] Hook = 0
13:07:15,973: HID in: [TEL] Phone Mute = 0
13:07:15,974: Disconnect B3 Confirm: 12 00 01 00 84 81 A9 26 01 01 01 00 00 00 00 00 00 00
13:07:15,974: Disconnect B3 Confirm
 



So just to confirm, when the call button is turned on, pressing mute also causes 'HID in: [TEL] Hook' to be recorded.
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11475
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #13 - 30. Aug 2016 at 14:44
Print Post  
It seems to be as you said. Pressing the mute button is reported different - depending on the state. That is strange.
Why should the mute button has something to do with the call button (hook)?
I am no expert for HID. The devices I have here don't use that strange behavior. So I don't really know what to do now...
  
Back to top
WWW  
IP Logged
 
MarcF
YaBB Newbies
*
Offline


Phoner is great!

Posts: 39
Joined: 15. Aug 2016
Re: Mute button on USB handset hangs up call
Reply #14 - 30. Aug 2016 at 16:41
Print Post  
Looking at the logs again, perhaps I've figured out what's happening.

Phone Call 1

1) Phone Rings
2) Accept via PhonerLite answer button
Code
Select All
15:21:35,430: Connect Active Response
15:21:35,430: Connect B3 Request: 0D 00 01 00 82 80 1B 20 01 01 00 00 00
15:21:35,430: Connect B3 Request
15:21:35,431: HID out: [LED] Ring = 0
15:21:35,431: HID out: [LED] Hook = 1
15:21:35,435: Connect B3 Indication: 0D 00 01 00 82 82 60 86 01 01 01 00 00
15:21:35,435: Connect B3 Indication
...
15:21:35,456: Facility Confirm: 11 00 01 00 80 81 1C 20 01 00 00 00 00 00 01 00 00
15:21:35,456: Facility Confirm (DTMF)
15:21:35,456: Facility Confirm: 11 00 01 00 80 81 1D 20 01 00 00 00 00 00 01 00 00
15:21:35,456: Facility Confirm (DTMF)
15:21:35,456: HID in: [TEL] Hook = 1 


Can see above that PhonerLite sets the Ring to 0 and Hook to 1 as now on a call. For whatever reason, reports HID in too (though no buttons pressed).

3) End call using PhonerLite hangup button:
Code
Select All
15:21:38,364: Disconnect B3 Request: 0D 00 01 00 84 80 AE 20 01 01 01 00 00
15:21:38,364: Disconnect B3 Request
15:21:38,366: HID out: [LED] Hook = 0
15:21:38,366: Disconnect B3 Confirm: 12 00 01 00 84 81 AE 20 01 01 01 00 00 00 00 00 00 00
15:21:38,366: Disconnect B3 Confirm 



As can see from the above, PhonerLite specifies Hook = 1 when on a call and Hook = 0 when off a call.

Phone Call 2

I then made another call to myself and answered.

1) Pressed the mute button on the headset while the call LED was correctly illuminated. The headset correctly muted and this shows in the PhonerLite UI with the mute icon beside the microphone. This appears in the log:
Code
Select All
15:27:09,226: HID in: [TEL] Hook = 1
15:27:09,227: HID in: [TEL] Phone Mute = 1 


So can see when mute is pressed, the headset reports Mute = 1 and Hook = 1. Both seem logically correct as the hook button is still illuminated. All that's changed is Mute from 0 to 1.

3) I press the mute button again on the headset and the call is dropped. Here's what was in the log:
Code
Select All
15:32:38,666: HID in: [TEL] Hook = 1
15:32:38,671: Disconnect B3 Request: 0D 00 01 00 84 80 B7 21 01 01 01 00 00
15:32:38,671: Disconnect B3 Request
15:32:38,671: HID out: [LED] Hook = 0
15:32:38,671: HID in: [TEL] Phone Mute = 0
15:32:38,672: Disconnect B3 Confirm: 12 00 01 00 84 81 B7 21 01 01 01 00 00 00 00 00 00 00
15:32:38,672: Disconnect B3 Confirm 


Here is where the problem lies: the HID in reports Mute = 0 and Hook = 1. Again this seems correct. The hook is still on, but mute has changed from 1 to 0. Rather than PhonerLite reading the current state of buttons (i.e. hook still on, but mute off), it seems PhonerLite instead toggles the current state. You can see after PhonerLite toggles the state of Hook, it disconnects from the call and sends an HID out signal to the headset to turn off the hook.

So to summarise, it seems PhonerLite is toggling the state when buttons are pressed, rather than reading the current state of the buttons.

What do you think?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint