Commit Graph

88 Commits

Author SHA1 Message Date
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
FusionPBX ca1040a83b
Update call_center_queue_edit.php
Add outbound_caller_id_name and outbound_caller_id_number.
2020-09-29 11:48:38 -06:00
FusionPBX 3e0851df3f
Remove the deprecated save_dialplan_xml function. 2020-08-14 00:31:33 -06:00
FusionPBX 3d31bbac35
Update call_center_queue_edit.php 2020-04-21 13:43:32 -06:00
Nate 5cc1e4499d Call Center Queues - Edit: Exclude empty greeting in XML. 2020-04-13 15:43:30 -06:00
chansizzle 15e9fea4c5
Update call_center_queue_edit.php (#5234)
* Update call_center_queue_edit.php
2020-04-07 14:45:27 -06:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate 6458580c89 Call Center Queue - Edit: Minor consistency mods. 2020-02-15 08:11:42 -07:00
FusionPBX 31c2c7816a Update call_center_queue_edit.php 2020-02-07 12:11:36 -07:00
Nate d10cfc3252 Call Centers: Action bar and button updates. 2020-01-13 09:44:46 -07:00
FusionPBX 22221638f6 Update call_center_queue_edit.php 2019-09-19 14:10:52 -06:00
Nate 316f199d83 Mitigate php warnings on call_center_queue_edit.php. 2019-09-19 14:06:27 -06:00
FusionPBX dabf5966f0 Update call_center_queue_edit.php 2019-09-19 13:43:41 -06:00
FusionPBX d1c822469d Update call_center_queue_edit.php 2019-09-19 12:08:31 -06:00
Nate 5a8dcd04bd Call Center: Token integration. 2019-09-17 21:59:42 -06:00
FusionPBX 2978964639 Update call_center_queue_edit.php 2019-09-10 13:49:42 -06:00
FusionPBX c86ee20f8f Update call_center_queue_edit.php 2019-08-15 03:48:41 -06:00
FusionPBX f57f61ff5f Update call_center_queue_edit.php 2019-08-15 03:45:50 -06:00
FusionPBX a7b3d803a3 Update call_center_queue_edit.php 2019-08-15 03:34:41 -06:00
Nate d50170269e Database class integration. 2019-07-02 10:56:36 -06:00
diger e5ad9f1308 Fix sqlite error (#3861) 2018-11-23 08:07:05 -07:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00