arnaudcoquelet / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Operator Panel Eavesdrop Fails #851

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to eavesdrop a call using the operator panel

I haven't tested in IE but in chrome and firefox this fails, I think it has 
worked sometime from initially visiting the operator panel but I cannot 
remember.

Nothing appears to happen when you click the headset and fs console shows an 
error subscriber absent, the extension number does not appear to be getting set.

console.log(cmd) in firefox shows:

"bgapi originate 
{origination_caller_id_name=Eavesdrop,origination_caller_id_number=503}user/@myd
omain.com &eavesdrop(6dfa9b38-b1e5-11e4-b3a3-a31af6c030f0)"

However, if you hit the browser refresh (F5) key, from then on, eavesdrop works 
fine and console log has correct command in:

bgapi originate 
{origination_caller_id_name=Eavesdrop,origination_caller_id_number=503}user/601@
mydomain.com &eavesdrop(6dfa9b38-b1e5-11e4-b3a3-a31af6c030f0)"

Original issue reported on code.google.com by Digitald...@gmail.com on 11 Feb 2015 at 12:12

GoogleCodeExporter commented 9 years ago
The eavesdrop function of the Operator Panel only works when at least one 
extension is assigned to the user attempting to eavesdrop a call.  If no 
extension was assigned to the user account you were logged into when attempting 
to eavesdrop, this is why it failed.

The eavesdrop option has now been hidden when no extensions are currently 
assigned to the user.  See r7846.

Original comment by sevenate on 17 Feb 2015 at 11:05