dugugang / fusionpbx

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

Status | Active Lines show all lines (not just those of user) #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Login to website as user
2. Select Active Lines
3. All lines/extensions are shown, even for thise that do not belong to the 
logged in user.

What is the expected output? What do you see instead?

- Active Lines should only show the active lines of the associated logged in 
user.

What version of the product are you using? On what operating system?

- Subversion only (July 5th, 2011) - not SVN
- Windows

Please provide any additional information below.

Original issue reported on code.google.com by don.hun...@44ecity.com on 15 Jul 2011 at 3:24

GoogleCodeExporter commented 9 years ago
In a PBX the Active Extensions shows the list of extensions that are active and 
inactive to all users that is what it was designed to do.

However FusionPBX philosophy includes flexibility. With that in mind can got to 
system -> variables and set a variable in the 'Default' category called 
user_status_display with a value of 'false'. Now logout to clear your session 
variables and then login again and it will no longer show the entire 
user/extension list.

Original comment by markjcrane@gmail.com on 15 Jul 2011 at 3:56

GoogleCodeExporter commented 9 years ago
Hi markjcrane,

I have added this item under the variable defaults section.
I re-enabled that menu item, but all extension still show (not just the ones 
that belong to that user.

Any thoughts?

Original comment by don.hun...@44ecity.com on 15 Jul 2011 at 4:11

GoogleCodeExporter commented 9 years ago
I upgraded to FusionPBX 2.0.7, still no difference.
All users see all lines.

In my environment, I do not use so called extensions, but lines.
ie: each extension is actually a 10 digit number line, associated to a DID.
I do not have any extension to extension dialing.

I would like active lines to show only for the lines that a user is associated 
to.

Is that possible?

Original comment by don.hun...@44ecity.com on 16 Jul 2011 at 12:59

GoogleCodeExporter commented 9 years ago
"In my environment, I do not use so called extensions, but lines."
I realized that was the case because your expectation was different than 
someone using it as a PBX.

After you add the variable. Clear your sessions by logging out. Then log back 
in then it should work for you. Ability to hide the extensions has been there 
for months.

Original comment by markjcrane@gmail.com on 16 Jul 2011 at 9:08

GoogleCodeExporter commented 9 years ago
Sadly, that is what I did.
I even tried logging into the site from another computer that I never used 
before, and the lines still show.

See attached image shots to see what I have entered in variables and what is 
showing on site.

Original comment by don.hun...@44ecity.com on 16 Jul 2011 at 11:20

Attachments:

GoogleCodeExporter commented 9 years ago
I just added two permissions to Active Extensions. These will need to be 
assigned to any group that is authorized to use that page.
1. extensions_active_assigned_view
2. extensions_active_list_view.

Original comment by markjcrane@gmail.com on 19 Jul 2011 at 6:56

GoogleCodeExporter commented 9 years ago
Fantastic!
I look forward to the update.

Original comment by don.hun...@44ecity.com on 20 Jul 2011 at 10:14

GoogleCodeExporter commented 9 years ago
Hi markjcrane,

I just updated to v2.0.9, but extensions_active_assigned_view and 
extensions_active_list_view are not within the group permissions list.

Original comment by don.hun...@44ecity.com on 25 Aug 2011 at 11:08

GoogleCodeExporter commented 9 years ago
Screenshot of v2.0.9 Group Manager - Active Calls section.
The new extensions_active_assigned_view and extensions_active_list_view noted 
in comment #6 [http://code.google.com/p/fusionpbx/issues/detail?id=142#c6] 
above are not present.

Original comment by don.hun...@44ecity.com on 27 Aug 2011 at 1:36

Attachments:

GoogleCodeExporter commented 9 years ago
After upgrading log out and then back in then check group manager for 
extensions_active_assigned_view and extensions_active_list_view.

Original comment by markjcrane@gmail.com on 27 Aug 2011 at 6:32

GoogleCodeExporter commented 9 years ago
Hi markjcrane,

After the upgrade,which reported as completed, I also did a upgrade_scheme 
(which did not find anything), closed all browsers and logged back in.

extensions_active_assigned_view and extensions_active_list_view are just not 
there.

Although the upgrade page stated successful (and I did this twice just to be 
sure), I can find no where that the version number is noted.  The version field 
in the DB is blank.

Original comment by don.hun...@44ecity.com on 27 Aug 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Hi markjcrane,

Any ideas/suggestions?

The extensions_active_assigned_view and extensions_active_list_view options are 
simply not present.

Original comment by don.hun...@44ecity.com on 1 Sep 2011 at 6:12

GoogleCodeExporter commented 9 years ago
Take a look at these files that define the permissions.
development branch
http://code.google.com/p/fusionpbx/source/browse/trunk/fusionpbx/mod/calls_activ
e/v_config.php
release branch
http://code.google.com/p/fusionpbx/source/browse/trunk/tags/release-2.0/mod/call
s_active/v_config.php

If you look at those links you will see the permissions absolutely do exist. 
Check your filesystem to see if they exist in your 
fusionpbx/mod/calls_active/v_config.php file.

Original comment by markjcrane@gmail.com on 1 Sep 2011 at 6:55

GoogleCodeExporter commented 9 years ago
Hi markjcrane,

OK, those are not in the v_config.php file.

To upgrade, I called: /fusionpbx/core/upgrade/upgrade.php and then once it said 
it completed successfully, I called: /fusionpbx/core/upgrade/upgrade_schema.php

Should this not upgrade?

I tried doing a full site copy from the tar once, but it caused huge issues and 
reset everything causing me to restore a backup.

Original comment by don.hun...@44ecity.com on 1 Sep 2011 at 11:16

GoogleCodeExporter commented 9 years ago
Hi markjcrane,

Any update on this ?

Original comment by don.hun...@44ecity.com on 16 Sep 2011 at 11:15