Commit Graph

109 Commits

Author SHA1 Message Date
FusionPBX 64c33b21c1
Call center queue context
When the user doesn't have call center queue context permission get the context from the database.
2024-06-19 16:53:14 -06:00
FusionPBX fb7d4e5cc3
Update new extension_range 2024-05-30 18:45:45 -06:00
chansizzle 4cdddba430
Add suggested extension ranges (#6871) 2024-05-30 17:58:05 -06:00
fusionate 3001fa151f
Call Centers: Audio waveform generation integration. 2024-02-09 13:09:07 -07:00
FusionPBX 9a6c8c68cb
Update call_center_queue_edit.php 2023-12-18 11:03:07 -07:00
FusionPBX d4da6d0a93
Use setting call_center record_name 2023-12-18 10:35:16 -07: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
Alex fa607d4bba
Add context field to conference and call center queue (#6836)
* Update conference_edit.php

* Update app_config.php

* Update app_config.php

* Update call_center_queue_edit.php

* Update call_center_queue_edit.php
2023-11-29 13:26:48 -07:00
fusionate ff6a3ea71d
Call Center Queue - Edit: Add playback of selected Greeting and Announce Sound (Recordings and Sounds). 2023-11-07 01:56:39 +00:00
fusionate d9d17a6917
Misc: Remove parameters from event_socket_create() calls. 2023-09-20 18:43:17 +00:00
Antonio Fernandez 1057c4cf8e
Improvements to the labelling of various CC pages (#6764)
* Improvements to the labeling of various CC pages
2023-06-28 19:00:16 -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
FusionPBX c8f71780e3
Add definable call center export variables 2023-06-14 15:54:21 -06:00
fusionate 9b1ac240b3
Call Center Queue - Edit: Updates for PHP 8.1 2023-06-12 21:02:52 +00:00
Alex 475cf4d253
Fixed more php 8.1 errors (#6748)
* Update call_center_queue_edit.php

* Update number_translation_edit.php

* Update database_transactions.php

* Update xml_cdr_extension_summary.php

* Update call_flow_edit.php

* Update contact_address_edit.php

* Update device_profiles.php
2023-06-08 16:07:01 -06:00
FusionPBX 8014b57a0d
Update call_center_queue_edit.php more PHP 8.1 changes 2023-06-07 03:04:43 -06:00
Alex 22a01b147d
Fixed call center queue agents table (#6746)
* Update destination_edit.php

* Fixed php 8.1 errors

* Fixed cdr recording download not working

* Update call_center_queue_edit.php

* Update call_center_queue_edit.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-06 11:31:22 -06:00
Alex f86abd84c4
Fixed call recording download and call center show all (#6745) 2023-06-06 10:14:15 -06:00
fusionate 0849bf51a0
Call Centers: Updates for PHP 8.1 2023-06-01 23:59:29 +00:00
Alex d6b73cf296
more php 8.1 changes (#6734)
* Update ivr_menu_edit.php

* Update ringbacks.php

* Update call_block_edit.php

* Update call_broadcast.php

* Update call_broadcast_edit.php

* Update call_center_queue_edit.php

* Update call_center_queue_edit.php

* Update call_center_agent_status.php

* Update call_center_queue_edit.php

* Update call_center_agent_edit.php

* Update call_center_queues.php

* Update call_flow_edit.php

* Update call_broadcast.php

* Update call_forward.php

* Update call_broadcast_send.php

* Update conference_rooms.php

* Update conference_centers.php

* Update conference_control_edit.php

* Update conference_control_details.php

* Update conference_profile_edit.php

* Update conference_profile_param_edit.php

* Update conference_profile_edit.php

* Update database_transaction_edit.php

* Update database_transactions.php
2023-06-01 16:39:05 -06:00
Alex b939ac2442
call center php 8.1 changes (#6720)
* Update call_center_agents.php

* Update call_center_queues.php

* Update call_center_queue_edit.php

* Update call_center_agent_edit.php

* Update call_center_agents.php
2023-05-26 10:07:25 -06: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
Alex 43eb2a5b9d
[security] sanitize the xml (#6595)
* Update call_center_queue_edit.php

* fix typo

* Update call_flow_edit.php

* Update conference_center_edit.php

* Update conference_edit.php

* Update destination_edit.php

* Update fax.php

* Update ivr_menu_edit.php

* Update ring_group_edit.php

* Update app_defaults.php

* Update ivr_menu_copy.php

* Update destination_imports.php

* Update app_defaults.php
2023-03-30 12:46:36 -06:00
agree ca36d10121
[security] prevent xml injection and executing switch api cmds (#6594) 2023-03-29 23:24:04 -06:00
FusionPBX 6a3f7e95a4
When greeting is used a short sleep is required
Without the sleep may miss the beginning of the recording.
2022-12-23 10:03:29 -07:00
FusionPBX 696ad43044
Add queue email address 2022-11-18 00:12:53 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
amibtl 1a0a8e1f6a
Update call center dialplan template for add and edit (#6481)
* prepend to cc_export_vars

* prepend to cc_export_vars
2022-09-30 08:39:09 -06:00
agree d097d5b64c
[call center] (#6390)
call_center_announce_sound check for permission
2022-05-18 18:06:22 -06:00
FusionPBX d5db02be42
Add sip_h_Alert-Info to cc_export_vars. 2022-05-09 21:53:27 -06:00
FusionPBX d9c3779c47
Update call_center_queue_edit.php 2022-05-03 16:00:24 -06:00
emak 364d6d6cbb
Add announce sound dropdown selection (#6056)
The announce sound previously required users to manually type in the full path of the announce sound. It has now been modified to be a hybrid dropdown which shows available recordings on the domain and also allows for the old text entry method (type in the path).
2021-10-29 14:34:03 -06:00
FusionPBX f9f993c93b
Add new call center permissions and a new HTML select. 2021-08-27 11:18:40 -06:00
FusionPBX bc2e9ffab5
Allow dialing the call center with the callcenter+ prefix 2021-06-17 15:29:10 -06:00
mhoogveld 5373e97b40
Bugfixes (#5949)
* Added missing parameter to send_email()

* Preserving the call-center queue_record_template value when saving

* Removed unused declarations using the commented-out $last_offered_call

* Fix for redirecting to previous page after login, if set

* Removed duplicate bugfix in /resources/login.php
2021-05-28 20:56:25 -06:00
agree 06062b7fba * export call_center_queue_uuid channel variable to agent legs for cdr import
* add call_center_queue_uuid field to cdr for referenceing the call center queue table (cc_queue is a freeswitch variable for  the queue name)
2021-05-09 15:52:42 -04:00
markjcrane cfd70fb18f Use the queue uuid for the cc_queue 2021-05-06 23:23:07 -06:00
markjcrane 2df03caa5f Adjust queue edit commands such as restart to get the queue_extension 2021-04-29 16:08:56 -06:00
markjcrane a6e59c3522 Call Center Queue name change from uuid@domain to extension@domain 2021-04-27 22:42:09 -06:00
agree 69e892e790 [callcenter] Add ability for callcenter presence
* Freeswitch requires callcenters to have queue_name@domain for presence to work
2021-04-22 18:51:25 -04:00
FusionPBX 1110b12e1b
Update the Queue assigned agents to me more efficient.
- Populated select list for all assigned agents does not scale well in the browser. 
- Assigned list scales better without the all of the agents in the list. 
- New select list shows all agents so that new agents can be added.
2021-03-11 22:48:49 -07:00
FusionPBX 5f1ca5888b
Fix a small bug with queue_time_base_score_sec. 2021-03-06 16:52:05 -07:00
Antonio Fernandez 468d932063
Update call_center_queue_edit.php 2021-03-06 16:11:34 -05:00
Antonio Fernandez 0f9bacf9bf
Update call_center_queue_edit.php 2021-03-06 16:07:59 -05:00
Antonio Fernandez 6a116dd78b
Update call_center_queue_edit.php 2021-03-06 16:03:20 -05:00
FusionPBX edb9a6e269
Restrict Call Center greeting to applications to playback, say, tone_stream, and phrase. 2020-12-09 20:00:39 -07:00
FusionPBX d7dd1a9b1d
Call Center greeting improve support for say and tone_stream. 2020-12-09 19:42:16 -07:00
fusionate c67c8cd4c2 Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
FusionPBX f5e5fd7a79
Update call_center_queue_edit.php
Change session context to domain_name.
2020-10-22 02:42:08 -06:00
FusionPBX b82e7208d0
Update call_center_queue_edit.php
Fix the permissions check for call_center_outbound_caller_id_number
2020-09-29 11:58:21 -06:00