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 21343 times)
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11424
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #15 - 30. Aug 2016 at 16:54
Print Post  
The problem is, that some headsets reports this in a different way. When the hook button is pressed I get right after the other a "hook=1" and a "hook=0". This just indicates that there were a change in hook button.
Everything would be easy if the current state keeps active. A "hook=1" is a off-hook and "hook=0" means on-hook.
I checked some devices and all do it different. Maybe someone can explain me how to detect the way the device answers. Does it use relative states or absolute states.
  
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 #16 - 30. Aug 2016 at 17:19
Print Post  
Does your headset do something differently?

When I'm on a call with the hook light on and microphone muted, pressing the mute button again shows two HID In messages for Hook = 1 and Mute = 0. i.e. Hook ON and Mute OFF:
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 ****** 



Hook is still set to 1, but PhonerLite is instead changing this to Hook = 0.

Are you saying for your headset it reports two Hook IN's as opposed to one Hook IN and another Hook OUT?
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11424
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #17 - 31. Aug 2016 at 12:30
Print Post  
It is difficult to change something without such device, but I made a change. Can you please download the beta version and try this one?
  
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 #18 - 31. Aug 2016 at 14:52
Print Post  
Tried the latest beta and seems to work well on the Microsoft LX-6000 headset. I will do more testing with Logitech H650e headsets and report back.


kalis wrote on 31. Aug 2016 at 14:37:
But during a call, if mute is activated (no matter if it was activated before or during the call), the hook button doesn't seems to work (it seems to deactivate and reactivate mute shortly when looking at the microphone icon in PhonerLite).
Here is the debug when pressing hook button after activate mute :
Code
Select All
14:17:18,055: HID in: [TEL] Hook = 1
14:17:18,055: HID in: [TEL] Phone Mute = 1
14:17:18,055: Open capture sound device: Transmit (Plantronics C620)
14:17:18,068: capture sound device opened
14:17:18,068: HID in: [TEL] 0x21 = 1
14:17:18,069: HID in: [TEL] Hook = 1
14:17:18,069: HID in: [TEL] Phone Mute = 1
14:17:18,195: HID in: [TEL] 0x21 = 0 



If I press mute button to deactivate it, then the hook button works fine.


Could you please post a new log? Perhaps accept an incoming call via the UI and then post after pressing the mute button, 1 second wait and then hook button. For example, this is mine:

Code
Select All
13:52:06,564: HID in: [TEL] Hook = 1
13:52:06,567: HID in: [TEL] Phone Mute = 1
13:52:08,763: HID in: [TEL] Phone Mute = 1
13:52:08,763: Open capture sound device: Headset Microphone (2- Microsoft LifeChat LX-6000)
13:52:08,773: capture sound device opened
13:52:08,775: HID in: [TEL] Hook = 0
13:52:08,802: Disconnect B3 Request: 0D 00 01 00 84 80 79 08 01 01 01 00 00
13:52:08,802: Disconnect B3 Request
13:52:08,802: HID out: [LED] Hook = 0
13:52:08,804: Disconnect B3 Confirm: 12 00 01 00 84 81 79 08 01 01 01 00 00 00 00 00 00 00
13:52:08,804: Disconnect B3 Confirm 

  
Back to top
 
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 #19 - 31. Aug 2016 at 15:07
Print Post  
I've deleted my previous post, sorry, I think I've made a mistake because I can't reproduce the problem now...

I'll test again on a fresh computer and I come back.
  
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 #20 - 31. Aug 2016 at 15:16
Print Post  
Seems to work well with the Logitech headset too. Will test more with the rest of our team and report back.
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11424
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #21 - 31. Aug 2016 at 15:29
Print Post  
Thanks for reporting and testing.
Hopefully it works with other headsets too. Please use the hook button for testing too. So answer an incoming call from the headset with the hook button and disconnect the call by pressing the hook button.
  
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 #22 - 31. Aug 2016 at 15:36
Print Post  
Ok so, after testing on two differents computer (W7 & W10), everything seems to works fine with Plantronics C620.

With Plantronics C520, the behaviour is different.
When pressing mute it seems to deactivate and reactivate it :
Code
Select All
14:43:10,993: HID in: [TEL] Phone Mute = 1
14:43:10,993: Open capture sound device: Microphone (Plantronics C520)
14:43:10,998: capture sound device opened
14:43:10,998: HID in: [TEL] Hook = 1
14:43:11,002: HID in: [TEL] Hook = 1
14:43:11,002: HID in: [TEL] Phone Mute = 0 


Next, if I press mute before calling, PhonerLite thinks mute is off while it's not the case (so mute LED and mute state on PhonerLite are inverted).
  
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 #23 - 31. Aug 2016 at 15:37
Print Post  
Phoner Admin wrote on 31. Aug 2016 at 15:29:
Thanks for reporting and testing.
Hopefully it works with other headsets too. Please use the hook button for testing too. So answer an incoming call from the headset with the hook button and disconnect the call by pressing the hook button.

Thanks and yes have tested answering and ending calls using the hook button. Tested when I use the mute button on the call and when I don't use the mute button.

At the moment pretty happy it's all working.
  
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 #24 - 31. Aug 2016 at 15:40
Print Post  
kalis wrote on 31. Aug 2016 at 15:36:
Next, if I press mute before calling, PhonerLite thinks mute is off while it's not the case (so mute LED and mute state on PhonerLite are inverted).

When a new call comes in, PhonerLite should set the correct LED state (it does on mine). What happens when a new incoming call or outgoing call is made?
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11424
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #25 - 31. Aug 2016 at 15:43
Print Post  
That are great news. Thank you.
Yes, that Plantronics device uses relative mute state. It tells "Hook = 1" and immediately tells "Hook = 0". This means the state just changes. This might happen with some other devices for the hook button too.

Attached is a file the lists all HID devices and for input buttons the absolute or relative mode. For that Plantronics device you should see, that the hook switch is absolute and the mute button relative.
  

CollectionDemo_002.zip ( 953 KB | 219 Downloads )
Back to top
WWW  
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11424
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #26 - 31. Aug 2016 at 15:46
Print Post  
MarcF wrote on 31. Aug 2016 at 15:40:
kalis wrote on 31. Aug 2016 at 15:36:
Next, if I press mute before calling, PhonerLite thinks mute is off while it's not the case (so mute LED and mute state on PhonerLite are inverted).

When a new call comes in, PhonerLite should set the correct LED state (it does on mine). What happens when a new incoming call or outgoing call is made?


I don't know. I need a device that reports the mute button without having a call. My headsets here doesn't support that.
  
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 #27 - 31. Aug 2016 at 16:09
Print Post  
@MarcF :
When a new call comes in, the LED on the hook button blinks, no problem with this.

The LED that I talk about is the LED on the mute button.
This LED is on when mute button is pressed on the headset, and off when mute button is pressed again (independently of PhonerLite).


@Phoner Admin :
Yes you are right, I see it with CollectionDemo : mute=relative, hook=absolute.
Maybe I can help you to test things for this type of headset ?


Oh, and sorry for my bad english Smiley
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11424
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Mute button on USB handset hangs up call
Reply #28 - 31. Aug 2016 at 16:17
Print Post  
You can press the mute button without having a call in PhonerLite? The LED in the device shows the mute state? So far so good, but whats the problem later on? PhonerLite thinks the Microphone is active, but the remote party can't hear anything?
  
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 #29 - 31. Aug 2016 at 16:25
Print Post  
Yes I can press it without having a call, and the LED lights on.

After, when I receive a call, PhonerLite think the mute is off but remote party can't hear me. If I press again on the mute switch, his LED lights off, but mute state on PhonerLite is set to on, so remote party still can't hear me.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Send TopicPrint