Commit Graph

56 Commits

Author SHA1 Message Date
chansizzle 8f354b54de
add new active calls permissions (#7294)
Add new permissions to the active calls page so the fields can be removed from an admin permissions group to simplify the page, hiding more technical fields they probably will not find helpful.
2025-03-06 18:54:57 -07:00
FusionPBX ff95ada636
Fix the duration by use the created_epoch
Also used the settings class
2024-12-26 10:57:45 -07:00
FusionPBX e1cfb7931e
Active Calls responsive design update 2024-12-07 13:28:27 -07:00
chansizzle 014adb461b
add call duration to the active calls page (#7191)
* add call duration to the active calls page

* add duration label for active calls
2024-12-04 15:13:25 -07:00
Alex b43bcb9a13
Added the heading counter div (#7124) 2024-09-06 16:43:42 -06:00
fusionate d234fb185a
Multiple Apps: Integrate content cards. 2024-09-04 16:55:24 -06:00
frytimo 2cbb4dbc31
remove instances where a pointer is used in a foreach loop for value (#7108) 2024-08-22 12:41:10 -06:00
frytimo 41eb7ac8d3
Fix empty line printing on console (#6956)
* fix empty line printing on console
2024-04-23 08:53:14 -06:00
FusionPBX 07ff90f97c
Use $event_socket instead of $esl 2024-04-18 16:14:00 -06:00
FusionPBX ee6b2a4d84
Check if empty to prevent errors 2023-12-08 21:24:52 -07:00
fusionate 1ceb2fcbc9
Calls Active - Add eavesdrop function, and appropriate permission. 2023-12-08 01:37:22 +00:00
frytimo 3a4c2f72e2
Event socket bug fix and more docs (#6823)
* Add documentation to methods. Use is_resource for added type detection

* Allow connect to specify timeout in microseconds with default 30,000

* Update calling mechanism for event sockets

* Update project for new singleton event sockets

* remove unused variable

* catch errors on closing the socket
2023-12-02 17:16:18 -07:00
FusionPBX a3dbdf7b70
Unset the domain at the before next loop 2023-10-30 20:49:21 -06:00
fusionate 513177688f
Active Calls: Adjust Created time to correct timezone. 2023-09-23 14:50:51 +00:00
fusionate d9d17a6917
Misc: Remove parameters from event_socket_create() calls. 2023-09-20 18:43:17 +00:00
FusionPBX bd1ff0b9e7
Improved wordwrap on active calls 2023-09-07 16:02:19 -06:00
frytimo d7bbcd89f5
Use magic constant dir (#6711)
* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__ to load only functions.php

* replace spaces with tab character

* update dirname command to use levels instead of nesting

* use magic constant __DIR__

* update dirname command to use levels instead of nesting

* Update access_control_edit.php

* Update access_control_import.php

* Update access_controls.php

* Update dnd.php

* Update access_controls_reload.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update fax_queue.php

* Update login.php

* Update pdo.php

* Update pdo_vm.php

* Update switch.php

* Update index.php

* Update css.php

* Update v_mailto.php

* Update fax_to_email.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -06:00
fusionate 4b86260336
Active Calls: Updates for PHP 8.1 2023-05-25 19:41:42 +00:00
frytimo fef8165be2
Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX a37b5a94ca
Get the domain_name from the presence_id. 2020-08-08 15:13:35 -06:00
Nate 65407ea482 Active Calls: Modal integration. 2020-03-25 20:04:15 -06:00
benwiesner1 018b66969a Update calls_active_inc.php (#4847)
* Update calls_active_inc.php

removed <br>...</br> as it shows up on active call session and looks funny becuase its including the breaks <br></br>

* Update calls_active_inc.php
2019-12-31 12:02:31 -07:00
chansizzle 35f1b972e3 Update calls_active_inc.php (#4915) 2019-11-25 16:55:24 -07:00
Nate c6d5516467 Database Transactions: List view updates. Misc Action Bar adjustments. Include missing class for Conferences (Doh). 2019-11-05 08:13:42 -07:00
Nate 7b1356310b Active Calls: Update refresh/pause button. 2019-10-30 01:05:43 -06:00
Nate f57fa290d3 Active Calls: List view updates, bulk call hangup. Button Class: Add onmouseover/out support. 2019-10-29 23:11:19 -06:00
FusionPBX 1de0a88bb3 Update calls_active_inc.php 2019-06-16 11:22:47 -06:00
FusionPBX 20cdd28bc3 Update calls_active_inc.php 2019-06-16 09:36:10 -06:00
blackwolfresearch ece98a9c01 Security Fixes (#4268)
* Updated fixes for CVE-2019-11409

* Fix for XSS - (CVE-2018-19094)

* Fix for fax cmd injection (CVE-2018-19096)
2019-06-06 18:46:00 -06:00
FusionPBX 36cce58478 Update calls_active_inc.php 2018-01-21 23:53:36 -07:00
Alexey Melnichuk ebfa022a90 Fix. Display domain name for inbound calls in `calls_active` app (#2917) 2017-11-21 09:09:57 -07:00
FusionPBX 7029d3c74f Update calls_active_inc.php 2017-11-21 03:56:58 -07:00
FusionPBX bab329d6a7 Update calls_active_inc.php 2017-11-21 03:09:04 -07:00
FusionPBX 25c5a64ad6 Update calls_active_inc.php 2017-06-07 12:16:58 -06:00
FusionPBX af3f3ca69b Update calls_active_inc.php 2017-06-07 12:12:55 -06:00
FusionPBX 2f4e605cc4 Update calls_active_inc.php 2017-06-07 12:10:46 -06:00
markjcrane bd23c78670 Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
Mafoo 71525c26b0 I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo 86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
markjcrane 2f48f47ba3 Check the array isset in active calls. 2016-04-28 21:29:54 -06:00
Alexey Melnichuk 8d8d8deceb Change. Reduce too long app data in active calls app.
Problem that when you have large app data (>7k in my case)
it takes over 2 pages to display only single channel.
2015-12-24 12:48:25 +03:00
Alexey Melnichuk 8078012c3f Add. Display number of active calls in title. 2015-12-14 14:41:00 +03:00
markjcrane cde9debb29 After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used. 2015-12-06 13:37:35 -07:00
Nate Jones b809714064 Calls Active: Show gateway name instead of uuid in Application data string, change to jQuery ajax refresh. 2015-05-18 16:44:38 +00:00
Nate Jones 68a347724b Active Calls: Add Show All feature for Superadmin, basic view for Admin, refresh activity icon.
Registrations: Minor visual adjustments.
2015-05-01 06:35:40 +00:00
Nate Jones 392b875b3a Active Calls: Removed broken Transfer, Park and Record options in favor the Operator Panel (Park functionality to eventually be added to the OP).
Operator Panel: Only superadmin group can view debug info.
2015-04-30 02:55:35 +00:00
Nate Jones 2448ab3a8e Use the new multi-lingual code on misc files. 2015-01-18 10:33:34 +00:00
Mark Crane c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane af7d6859da Slight efficiency improvement for active calls 2014-08-16 02:01:53 +00:00