Commit Graph

10489 Commits

Author SHA1 Message Date
FusionPBX 8a449172a0
Update gateway_edit.php 2023-05-13 20:52:18 -06:00
FusionPBX 059aea351e
Update gateway_edit.php for PHP 8.1 2023-05-13 20:50:06 -06:00
FusionPBX ce4de56b7c
Update gateways.php 2023-05-13 20:46:18 -06:00
FusionPBX 2e270b07f0
Update gateway_edit.php for PHP 8.1 2023-05-13 20:43:39 -06:00
FusionPBX aa52764215
Update gateways.php for PHP 8.1 2023-05-13 20:42:16 -06:00
FusionPBX a94c465759
Update gateways.php for php 8.1 2023-05-13 20:23:10 -06:00
FusionPBX 445b63ec3a
Update dialplan.php to prevent PHP 8.1 warnings 2023-05-13 12:55:33 -06:00
FusionPBX c1a979a643
dialplan: update for php 8.1 2023-05-12 21:21:32 -06:00
Alex a46c5dbfc9
Update translations (#6688)
* Update app_languages.php
2023-05-12 15:14:59 -06:00
FusionPBX 590faa4e83
Set the export_format
To prevent null and prevent unintended behavior set an empty string to as the default export format.
2023-05-12 14:30:16 -06:00
frytimo 9dc8bcf7e9
Fix xml cdr for PHP 8.1 (#6692)
* fix multiple warnings

* fix multiple warnings

* ensure array key exists

* ensure array key exists

* assign boolean variable for showall in url

* change boolean to show_all instead of showall

* revert some changes. Create default leg value and mos_score

* validate page integer

* revert back to showall from get
2023-05-12 13:28:42 -06:00
FusionPBX a9baddb6e0
prevent domain_uuid nil error
If the domain_uuid is null then use a random uuid to prevent an error and allow domain_uuid is null SQL to still run
2023-05-11 13:23:13 -06:00
fusionate c01c2d7d31
Dashboard - Domain Limits: Updates for PHP 8.1 2023-05-11 13:39:40 +00:00
FusionPBX eccae62149
Replace is_array with !empty 2023-05-10 22:25:10 -06:00
FusionPBX 020b1414aa
Use empty instead of is_array 2023-05-10 22:22:21 -06:00
FusionPBX 6f554eefa8
Use empty instead of strlen or is_array 2023-05-10 22:18:42 -06:00
Alex ac38507462
Update translations (#6682)
* Update translations

* Update app_menu.php

* Update app_languages.php
2023-05-10 18:20:44 -06:00
fusionate dae1cc9909
Dashboard - Caller ID: Updates for PHP 8.1 2023-05-10 23:27:52 +00:00
fusionate 1b460941d5
Dashboard - Ring Group Forward: Updates for PHP 8.1 2023-05-10 23:25:22 +00:00
fusionate 9ec44fed71
Dashboard - System Counts: Updates for PHP 8.1 2023-05-10 23:06:59 +00:00
fusionate c3e0a845d1
Dashboard - Call Forward: Updates for PHP 8.1 2023-05-10 23:05:51 +00:00
fusionate 26595860cc
Dashboard - Switch Status: Updates for PHP 8.1 2023-05-10 22:59:49 +00:00
fusionate 71b14727a7
Dashboard - System Status: Updates for PHP 8.1 2023-05-10 22:40:02 +00:00
fusionate c894161060
Dashboard - System Status: Updates for PHP 8.1 2023-05-10 22:38:11 +00:00
fusionate 80ce576ea5
Dashboard - Missed Calls: Updates for PHP 8.1 2023-05-10 22:34:27 +00:00
fusionate c391faccfc
Dashboard - Recent Calls: Updates for PHP 8.1 2023-05-10 22:32:44 +00:00
fusionate 8f50a96d51
Dashboard - Voicemails: Updates for PHP 8.1 2023-05-10 22:27:19 +00:00
fusionate be4bf7fa7f
Bridges - List: Update for PHP 8.1 2023-05-09 22:52:32 +00:00
Alex 3e0ec8b752
Add missing translations (#6673) 2023-05-09 11:39:02 -06:00
FusionPBX 55dc76f099
Provide default values 2023-05-09 11:36:39 -06:00
FusionPBX 13d73a33e2
If the group is null set to 0 2023-05-09 09:50:16 -06:00
FusionPBX 06bbdec276
Update for PHP 8.1 2023-05-08 22:55:00 -06:00
FusionPBX a1cea6bf56
Set dialplan_continue false 2023-05-08 14:36:35 -06:00
FusionPBX 46e3c9dc48
Upgrade: Fix PHP 8.x issue 2023-05-08 14:22:48 -06:00
fusionate decebec7db
Call Centers: Fix PHP 8.x issue on explode function in app_defaults.php. 2023-05-08 13:23:07 +00:00
fusionate 2047921cde
Dashboard - Switch Status: Fix Registrations count error when no registrations. 2023-05-08 13:12:20 +00:00
FusionPBX b9670cf385
Correct the dialplan detail order
The difference between a 1 and a 0 can sometimes be amazing.
2023-05-06 21:00:48 -06:00
FusionPBX eb84bf476b
Add hangup_after_bridge and continue_on_fail
Add both of these variables when using destination bridge application.
2023-05-06 20:38:01 -06:00
Alex 09d953c4dd
Update app_languages.php (#6668) 2023-05-06 13:13:11 -06:00
Alex 10a2d87ee6
Add missing translations (#6662)
* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php
2023-05-05 15:22:22 -06:00
jonathanblack1000 0f3b212586
Fix sort on call broadcast display (#6663)
* Fix sort on call broadcast display

* Grandstream Template Updates

For grp/gxp, added settings for intercom auto answer and multicast paging
For gxw42xx - Added off-hook auto-dial settings to all lines
For wp820 - Fixed incorrect P-codes and added setings for wifi roaming
Contributed new template for gxv3480
2023-05-05 11:23:41 -06:00
fusionate 8614f617a2
Undo: Gateways: Convert State to string to escape function. 2023-05-05 17:02:24 +00:00
fusionate 6e7c50cba5
Gateways: Convert State to string to escape function. 2023-05-05 16:50:57 +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
FusionPBX 93d1e1259a
Call broadcast minor update 1.1 2023-05-03 17:42:55 -06:00
FusionPBX 37cbb7e847
Update call_broadcast_edit.php 2023-05-03 17:40:40 -06:00
FusionPBX 33fd5e8fa3
Change to Phone Numbers 2023-05-03 17:33:29 -06:00
FusionPBX 7f37607b4e
Update the permissions 2023-05-03 17:29:47 -06:00
FusionPBX 712018cb19
Use the permissions when saving data 2023-05-03 17:28:19 -06:00
FusionPBX 82810fbcb3
Re-add missing icon and order 2023-05-03 14:25:49 -06:00
jonathanblack1000 824f4257e0
Fix Call Broadcast file upload (#6661)
Fixed file import. Previously would import with \n separator instead of \r\n (in PHP 7.1), which breaks dialing.
2023-05-03 13:10:36 -06:00
FusionPBX bc255fba73
Update Arabic translation for email queue 2023-05-03 12:52:47 -06:00
markjcrane 14f6dee027 Add additional translations 2023-05-03 12:49:04 -06:00
frytimo 1c6c903709
Frytimo pr fix headers already sent (#6655)
* remove space causing headers already sent

* remove space causing headers already sent
2023-05-03 11:10:17 -06:00
Anthony c742f4e03e
Update app_menu.php (#6660)
* Update app_menu.php
2023-05-03 11:05:26 -06:00
Anthony 6c8c6085cb
Update app_menu.php (#6659)
* Update app_menu.php
2023-05-03 11:00:35 -06:00
Alex 19963168d3
Update app_menu.php (#6658)
* Update app_menu.php

* Update app_menu.php
2023-05-03 10:56:54 -06:00
markjcrane 1513bd3301 Add Chinese, Korean, and Japanese translations 2023-05-03 10:36:25 -06:00
markjcrane 28fe89066e Add Chinese, Korean, and Japanese translations 2023-05-02 22:05:16 -06:00
markjcrane 381b3bdd9f Add menu translations 2023-05-02 20:30:13 -06:00
markjcrane 41e87e7f01 Add additional languages 2023-05-02 20:22:44 -06:00
FusionPBX 5a3b35cb83
Add additional languages (#6654) 2023-05-02 16:12:06 -06:00
FusionPBX f61ee80185
call_direction dialplan add condition
Don't update the call_direction if already set to inbound.
2023-05-01 10:37:54 -06:00
FusionPBX 501e13eaee
Update missing translations. 2023-04-30 22:02:16 -06:00
FusionPBX 5203eae005
Add missing translations 2023-04-30 22:00:36 -06:00
FusionPBX 3a2dcc23e1
Add missing languages. 2023-04-30 21:58:54 -06:00
FusionPBX 2f7cb99e00
Add missing languages 2023-04-30 00:23:41 -06:00
FusionPBX 66322d63d9
Update app_languages.php 2023-04-30 00:10:36 -06:00
FusionPBX a384772c07
Update app_languages.php 2023-04-30 00:08:33 -06:00
FusionPBX 5b9e9f54a8
Add missing languages 2023-04-29 23:51:25 -06:00
FusionPBX 55313a34a0
Add missing translations 2023-04-29 23:47:52 -06:00
FusionPBX 651f6dda3b
Update app_languages.php 2023-04-29 23:44:33 -06:00
FusionPBX 532ad89330
Update app_languages.php 2023-04-29 23:41:22 -06:00
FusionPBX ee10e9c23a
Fix Ukranian translations 2023-04-29 23:35:26 -06:00
FusionPBX a1167b8f11
Update app_languages.php 2023-04-29 23:32:24 -06:00
FusionPBX acf05f470a
Remove broken language characters 2023-04-29 21:45:54 -06:00
lyleatFusionPBX ff944683b8
Update app_menu.php (#6646) 2023-04-29 18:29:31 -06:00
fusionate 4c36b41313
Streams: Add missing language translations. 2023-04-29 03:20:04 +00:00
fusionate 365d5ee316
Switch: Add missing language translations. 2023-04-29 01:24:37 +00:00
fusionate 74a7d3b612
System: Add missing language translations. 2023-04-29 01:14:09 +00:00
lyleatFusionPBX 68ebe39481
Update app_menu.php (#6645) 2023-04-28 18:18:54 -06:00
fusionate cea439d213
Time Conditions: Add missing language translations. 2023-04-28 23:14:41 +00:00
Alex ce540fe25b
Add missing translations (#6635)
* Update app_languages.php

* Update app_languages.php
2023-04-28 16:11:53 -06:00
Harry Foster 83af204be1
Honor the default settings for password complexity and strength when copying extensions (#6632) 2023-04-28 11:21:35 -06:00
frytimo 675ace1d9a
Fix the quotes in language file (#6633)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-28 08:26:02 -06:00
frytimo 69bd42af05
remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
Alex c0443e4da9
Add missing translations (#6629)
* Add missing translations

* Update app_languages.php
2023-04-27 20:15:26 -06:00
chansizzle 414829383c
Add fax_download_view permission (#6605)
* Add fax_download_view permission

Add fax_download_view permission to allow hiding the "File Name (Download)" column on Fax Inbox and Fax Sent pages. Some users prefer hiding this field as they also have the "View" column that they can click on to view and download PDFs of the faxes.
2023-04-26 21:47:45 -06:00
Alex e40749a18b
Add missing translations (#6619)
* Update app_languages.php
2023-04-26 21:08:48 -06:00
Finn ae7c57eb45
Add support for XMLApp to grp2615 provisioning template (#6623)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-04-26 20:44:09 -06:00
frytimo 81d3adbd35
cast string to float for memory usage shell_exec call (#6626)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-26 20:26:53 -06:00
fusionate 333e989221
Tones: Add missing language translations. 2023-04-26 23:12:01 +00:00
fusionate 96d64a0b21
Variables: Add missing language translations. 2023-04-26 23:10:09 +00:00
fusionate 0dcc3892da
Voicemail Greetings: Add missing language translations. 2023-04-26 22:46:34 +00:00
fusionate c8b5b58320
Voicemails: Add missing language translations. 2023-04-26 22:36:20 +00:00
fusionate dc327aec6d
CDR: Add missing language translations. 2023-04-26 21:55:55 +00:00
FusionPBX 2973ca1e4d
[bug] after moving sanitize remove the original one 2023-04-26 11:28:55 -06:00
FusionPBX 4859282306
[bug] Allow specific safe variables
This is a bug fix for recent security changes. These particular variables are essential to the SIP profile: record-template.
2023-04-26 10:20:13 -06:00
FusionPBX 4a71d7a49a
Add sound_prefix variables 2023-04-25 11:24:17 -06:00
FusionPBX c1f81c963f
When language is selected add sound_prefix 2023-04-25 11:10:18 -06:00
Luis Daniel Lucio Quiroz 0c28221ae2
Fix adding Faxes (#6614)
$fax_email_outbound_authorized_senders is only filled when fax_extension_advanced permission is set. However, the edit part doesn't verify that sizeof(NULL) creates a fatal error.

Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/fusionpbx/app/fax/fax_edit.php:286 Stack trace: #0 {main} thrown in /var/www/fusionpbx/app/fax/fax_edit.php on line 286

This patch verifies that $fax_email_outbound_authorized_senders is an array before sizeof() evaluates it. You can now add faxes with the fax_extension_advanced disabled.
2023-04-24 21:06:58 -06:00
FusionPBX 225870213b
Change the fax dialplan order
Change to 40 is in case people use a fax number that conflicts with outbound routes
2023-04-24 11:58:52 -06:00
FusionPBX 600d5db942
Use enabled for extensions and domain_enabled for domains 2023-04-21 18:07:45 -06:00
FusionPBX 18430f2abe
Change Access Control from domains to providers. 2023-04-21 17:43:34 -06:00
FusionPBX 8e04ade980
Update the polycom digitmap 2023-04-21 12:32:16 -06:00
FusionPBX 929ac552ea
Depreaced node_domain
This is handled automatically to make it easier and prevent mistakes
2023-04-21 09:58:08 -06:00
FusionPBX 4718999c9e
Remove access_control_nodes node_domain
This is handled automatically to make it easier and prevent mistakes
2023-04-21 09:56:37 -06:00
FusionPBX 121ffe5d3f
Remove access_control_nodes node_domain
This is handled automatically to make it easier and prevent mistakes
2023-04-21 09:55:04 -06:00
fusionate 11e01e416d
Email Templates: Add Category filter. 2023-04-21 14:03:14 +00:00
FusionPBX 7c10962a5f
Add domains automatically to the acl 2023-04-20 23:42:27 -06:00
FusionPBX bba5b22d77
Change talking_clock_date to a global dialplan 2023-04-20 21:12:31 -06:00
FusionPBX 9b7ab3d204
Update 350_please_hold.xml 2023-04-20 21:11:38 -06:00
FusionPBX 840d2dcd31
Change please_hold to a global dialplan 2023-04-20 21:11:05 -06:00
FusionPBX 3771e7af13
Change is_transfer to a global dialplan 2023-04-20 21:09:28 -06:00
FusionPBX 559a963a87
Change cf to a global dialplan 2023-04-20 21:07:02 -06:00
FusionPBX b0f51ebfcd
Change att_xfer to a global dialplan 2023-04-20 21:05:37 -06:00
FusionPBX 9b4c6c2e7e
Change dx to a global dialplan 2023-04-20 21:03:33 -06:00
FusionPBX 3909f12992
Change call_return to a global dialplan 2023-04-20 21:01:14 -06:00
FusionPBX a8eebe9da6
Make redial a global dialplan 2023-04-20 20:57:01 -06:00
FusionPBX ff958a8c96
Make directory dialplan global 2023-04-20 20:52:39 -06:00
FusionPBX c65b316217
Change to global 2023-04-20 20:47:41 -06:00
FusionPBX 98180d0ea2
Delete 410_freeswitch_conference.xml 2023-04-20 20:35:07 -06:00
FusionPBX d906b8e60d
Add a missing required bracket 2023-04-20 16:00:23 -06:00
fusionate c705e8712c
Dialplan Manager: Add Context filter to search form. 2023-04-20 21:02:49 +00:00
FusionPBX 8dbd85484e
xml.santize allow required variables 2023-04-20 14:20:14 -06:00
FusionPBX c989649176
Make call_privacy dialplan global 2023-04-19 23:50:41 -06:00
FusionPBX 2eea25e108
Make follow-me dialplan global 2023-04-19 23:32:06 -06:00
FusionPBX d4ab968fe2
Update 200_agent_status.xml 2023-04-19 23:22:02 -06:00
FusionPBX 15dae6e74a
Update 210_agent_status_id.xml 2023-04-19 23:21:36 -06:00
FusionPBX f8b3649f1b
Update 215_agent_status_break.xml 2023-04-19 23:21:05 -06:00
FusionPBX 9cf9d4c332
Update 370_is_secure.xml 2023-04-19 23:09:50 -06:00
FusionPBX b8816c4089
Update 370_tone_stream.xml 2023-04-19 23:08:58 -06:00
FusionPBX 7d58793a37
Update 360_milliwatt.xml 2023-04-19 23:08:14 -06:00
FusionPBX e6acab33ae
Update 360_is_zrtp_secure.xml 2023-04-19 23:07:09 -06:00
FusionPBX 4ac9b4ea2c
Update 490_do-not-disturb.xml 2023-04-19 23:04:46 -06:00
FusionPBX cb3f458d4e
Update 500_call-forward.xml 2023-04-19 23:04:25 -06:00
FusionPBX f51f48646a
Make vmain a global dialplan 2023-04-19 22:56:40 -06:00
FusionPBX d5a28f3d91
Make xfer_vm a global dialplan 2023-04-19 22:56:22 -06:00
FusionPBX d29bc2987c
Make vmain_user a global dialplan 2023-04-19 22:55:50 -06:00
FusionPBX c6d9b31498
Make echo a global dialplan 2023-04-19 22:55:28 -06:00
FusionPBX 50749f5374
Make delay_echo a global dialplan 2023-04-19 22:55:06 -06:00
FusionPBX 2313d45752
Make hold_music a global dialplan 2023-04-19 22:54:30 -06:00
FusionPBX cb85b66b16
Dialplan send_to_voicemail use global context 2023-04-19 22:46:35 -06:00
FusionPBX 28d323617a
Dialplan caller-details use global context 2023-04-19 22:40:06 -06:00
FusionPBX cd044b35aa
Change uuid to app_uuid 2023-04-19 10:38:38 -06:00
FusionPBX ad715d7fbb
Update 130_distinctive-ring-local.xml 2023-04-19 10:35:13 -06:00
FusionPBX d674d67143
Add dialplan distinctive-ring-local 2023-04-19 10:31:25 -06:00
FusionPBX 44961e6acb
Make call-direction a global dialplan 2023-04-19 09:59:33 -06:00
Alex 3b2f66a3b8
Update contact qr code (#6613) 2023-04-18 15:39:46 -06:00
FusionPBX 30e75b1288
After sanitize allow ${accountcode} 2023-04-17 15:12:43 -06:00
FusionPBX 74f6630df4
Add a comment for the xml library 2023-04-14 22:33:32 -06:00
FusionPBX 61469d8cb9
Add the xml library description 2023-04-14 22:31:13 -06:00
FusionPBX 94288b7e96
Add a description 2023-04-14 22:29:11 -06:00
FusionPBX 050e242a13
Context tag deprecated use context attribute 2023-04-14 15:08:16 -06:00
FusionPBX 3bd64de10b
Context tag deprecated use context attribute 2023-04-14 15:07:11 -06:00
FusionPBX 4d3f2e1e0b
Add a shutdown function fax send 2023-04-14 12:24:24 -06:00
fusionate 8a3ea373f6
Fax Queue - List: Apply case to Status filter select options, minor layout adjustment. 2023-04-13 21:20:21 +00:00
fusionate f181f533ae
Email Queue - List: Apply case to Status filter select options. 2023-04-13 21:19:39 +00:00
fusionate 00fc9c0dda
Email Queue - List: Responsive optimizations. 2023-04-13 21:04:26 +00:00
fusionate 1f7f047d58
Fax Queue - List: Responsive optimizations. 2023-04-13 21:04:09 +00:00
fusionate 53acce3369
Fax Queue - List: Apply case to Status column value. 2023-04-13 20:44:16 +00:00
fusionate 757fd38c51
Email Queue - List: Apply case to Status column value. 2023-04-13 20:43:58 +00:00
fusionate 076b69ae93
Email Queue - Edit: Format mutliple To addresses better, Status to select field. 2023-04-13 20:32:54 +00:00
fusionate 9a9cff7ebd
Email Queue - List: Truncate long To address values with ellipsis. 2023-04-13 20:32:10 +00:00
fusionate 0356d3ea7e
Fax Queue - Edit: Change Status field to select box. 2023-04-13 20:31:13 +00:00
fusionate c4ca3313fe
Email Queue - List: Limit width of To column. 2023-04-13 18:56:14 +00:00
fusionate 19e58af546
Email Queue Attachments - Add CID and Mime Type fields. 2023-04-12 20:06:41 +00:00
markjcrane 2d2c5fc06e Add email attachment cid and mime type 2023-04-12 14:04:56 -06:00
fusionate a5d2558112
Fax Queue - Added new Sending status to select filter. 2023-04-11 20:25:53 +00:00
FusionPBX d662a641e6
Add fax_status sending
While in sending mode it will not send again. The fax hangup hook will update the status to trying again if the fax fails or is set to failed if it reaches max tries.
2023-04-11 14:01:54 -06:00
FusionPBX d8634b1fc2
Add default setting snom_dialtone_on_hold
Hold usually should not automatically go to dial tone. Unexpected behavior as most phones don't do this.
2023-04-11 09:31:44 -06:00
FusionPBX dbeb793710
Get the destination_number when needed
If the user doesn't have permission to set the destination_number then get it from the database
2023-04-10 12:09:14 -06:00
emak 800e742387
Disable fax sending when domain is disabled (#6606)
* Add warning_bar style for disabled fax sending

Add styles for .warning_bar class when fax server sending is disabled due to disabled domain.

* Disable fax sending if domain is disabled

When domain is disabled, users should not be able to send faxes either.

* Add text for fax sending disabled warning
2023-04-10 09:31:16 -06:00
Finn cd0e603521
add a missing import to some of the xml_handling lua scripts. (#6607)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-04-10 09:30:34 -06:00
Finn 13c25f77c3
Hide field for key subtype when $show_key_subtype is false (#6608)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-04-10 09:29:02 -06:00
FusionPBX 09d5108fb3
Remove polycom functions speed dial
Polycom key functions in their own web interface only show automata and normal.
2023-04-08 13:03:23 -06:00
FusionPBX b9776041c1
xml.sanitize on ivr_menu_option_digits
The sanitize breaks  /^(\d{4})>$/ as removes the $
2023-04-07 13:42:01 -06:00
FusionPBX 3d62b16259
xml.santize removed from direct_dial_regex
This wasn't needed since direct_dial_regex is built from ivr_menu_option_digits that have a statement ensuring they are numeric.
2023-04-07 13:30:30 -06:00
FusionPBX 1af129b94f
Only include ringback if it has a value 2023-04-07 12:28:27 -06:00
fusionate 36a4768917
MOH: Move None option to Others option group. 2023-04-05 00:39:00 +00:00
fusionate f5e21d8a49
MOH: Add None option. 2023-04-05 00:32:00 +00:00
FusionPBX 005cd93c3e
Bug fixed for hold_music for ring groups 2023-04-04 13:53:26 -06:00
FusionPBX 88da43b924
Change name to type and add subtype 2023-04-04 11:08:37 -06:00
FusionPBX 423bcd8aa8
Rename name to type 2023-04-04 10:59:24 -06:00
FusionPBX 408122c60c
Add subtype to vendor functions and device keys. (#6409)
* Add subtype to vendor functions and device keys.

Added to support phones that require a subtype for provisioning the phone.

* Add device_key_subtype

* Update device_edit.php

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update device_vendor_function_edit.php

* Update device_vendor_functions.php

* Update device_vendor_restore.php

* Update index.php

* Update provision.php

* Update app_languages.php

* Update app_config.php
2023-04-04 08:57:41 -06:00
Luis Daniel Lucio Quiroz 3a8dfca16d
SQL query missing toll_allow (#6604)
The SQL query is missing the toll-allow setting from the virtual fax extension. All dialplans that have that condition will fail.
This patch makes sure the variable is present if need it.
2023-04-03 19:14:26 -06:00
FusionPBX 751596cd89
Use CDR list add call block caller ID number 2023-04-03 13:17:42 -06:00
FusionPBX 253635bde4
Disable bxfer-return by default
This returns the call back to the person that tried to do a blind transfer. Enable this dialplan if its a behavior you want.
2023-04-03 11:22:46 -06:00
FusionPBX e2c22776ce
Country code note required but highly recommended 2023-04-03 09:44:08 -06:00
FusionPBX a78d3a221e
Default to destination_number
Set the default value back to destination_number.  There are cases where ${sip_to_user} and ${sip_req_user} may work better with the SIP diversion header. However seeing issues for some people when not using destination_number. It maintains original behavior so setting it back to the original default.
2023-04-03 02:08:19 -06:00
FusionPBX fe065819af
Update grandstream_stun_server value 2023-04-02 22:36:26 -06:00
FusionPBX f657e15b7b
Replace duplicated uuid with unique ones 2023-04-02 22:16:14 -06:00
David Jacob f0c1ebd3a1
Provisioning template changes (#6588)
* Provisioning template changes

Grandstream
GAC2500 - Added account sip port to grandstream template after account server name
GRP2612 - Added Variable for grandstream dial timeout
GRP2612 - Added Variable for grandstream lock volume
GRP2612w - Added Variable for grandstream dial timeout
GRP2612w - Added Variable for grandstream lock volume
GRP2613 - Added Variable for grandstream lock volume
GRP2614 - Added Variable for grandstream dial timeout
GRP2614 - Added Variable for grandstream lock volume
GRP2614 - Added Variable for granstream call popup enabled
GRP2615 - Added Variable for grandstream dial timeout
GRP2615 - Added Variable for grandstream lock volume
GRP2616 - Added Variable for grandstream lock volume
GRP26xx - Added Variable for grandstream lock volume
GXP2160 - Changed template to default enable options keepalive
GXP2160 - Added option for multicast listen address with "if isset" for variable on P1569
GXP2160 - Added Variable for grandstream lock volume
GXP2160 - added variable grandstream_weather_enable to enable/disable weather function in phones
GXP2170 - Added Variable for grandstream dial timeout
GXP2170 - Added Variable for grandstream lock volume
GXP2170 - Added Variable for grandstream stun server
GXP2170 - Added Variable for granstream call popup enabled
GXP2170 - Added option for multicast listen address with "if isset" for variable on P1569
GXP2170 - added variable grandstream_weather_enable to enable/disable weather function in phones
GXP3240 - Added account sip port to grandstream template after account server name

HTek
UC903 - Added account sip port to htek template after account server name
UC903 - Added variable to specify account 1 ringtone
UC903 - Added ** as pickup code - Not defined
UC903 - Added variable for screen timeout
UC903 - Enabled call waiting tone P8850 - its off by default for some reason
UC903 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC903 - Added variable to change the pc port mode if expansion module needed P231
UC903 - Fixed expansion module key types - not defined
UC923 - Added variable to specify account 1 ringtone
UC923 - Added variable to change the pc port mode if expansion module needed P231
UC923 - Added ** as pickup code - Not defined
UC923 - Added variable for screen timeout
UC923 - Enabled call waiting tone P8850 - its off by default for some reason
UC923 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC923 - Fixed expansion module key types - not defined
UC924 - Added variable to specify account 1 ringtone
UC924 - Added variable to change the pc port mode if expansion module needed P231
UC924 - Added ** as pickup code - Not defined
UC924 - Added variable for screen timeout
UC924 - Enabled call waiting tone P8850 - its off by default for some reason
UC924 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC924 - Fixed expansion module key types - not defined
UC926 - Added variable to specify account 1 ringtone
UC926 - Added variable to change the pc port mode if expansion module needed P231
UC926 - Added ** as pickup code - Not defined
UC926 - Added variable for screen timeout
UC926 - Enabled call waiting tone P8850 - its off by default for some reason
UC926 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC926 - Fixed expansion module key types - not defined

Snom
D735 - Added code given to use by snom to light the BLF green when avail and red when in use

Fanvil

X210 - Added default setting for fanvil blf pickup code
X210 - Added if exist in template for fanvil x210 the pickup code var

* grandstream_stun_server variable already exists

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-04-02 22:12:13 -06:00
FusionPBX 4dbee9b596
Fix bridge statements from recent change
Example bridge statement broken by the sanitize

before
sofia/internal/$1${regex(${sofia_contact(101@dev.local)}|^[^@]+(.*)|%1)}

after
sofia/internal/1{regex({sofia_contact(101@dev.local)}|^[^@]+(.*)|%1)}
2023-03-31 19:00:23 -06:00
FusionPBX 3e0b41ef0f
Refactor cidr and number-alias 2023-03-31 18:29:23 -06:00
yois615 7a26c271de
[call_recordings] Add destination to view (#6601) 2023-03-31 15:46:31 -06:00
fusionate 120a25e6db
[security] Implement Sanitize in XML Handler Scripts 2023-03-31 21:03:21 +00:00
FusionPBX eac6f09832
Update how dialplan_detail_type is sanitized
These detail types are safe: ${sip_to_user} and ${sip_req_user}
2023-03-31 13:34:22 -06:00
FusionPBX abbaccde9d
Move xml::santize
Need to preserve ${caller_id_number} and ${strftime(%Y-%m-%d-%H-%M-%S)} so moved the xml::santize
2023-03-31 13:25:42 -06:00
FusionPBX 08fce99db7
Allow sip_to_user and sip_req_user 2023-03-31 11:10:58 -06:00
FusionPBX 8165dcc251
Re-add permission voicemail_destinations used
This permission is used by the Destination Select List.
2023-03-30 13:15:52 -06:00
yois615 d92c32764a
[database] Handle NULL literal in params (#6581) 2023-03-30 12:50:47 -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 7d31d6958b
User log auto white list for limited time.
This is so that temporary IP addresses are not permanently allowed.
2023-03-29 19:13:10 -06:00
Finn 54be67935b
Improve error handling when a recording download fails (#6592) 2023-03-29 17:46:51 -06:00
FusionPBX 21cdf81256
Remove redundant syslog command 2023-03-28 18:26:34 -06:00
FusionPBX 850beb081b
Set global dialplan to global context (#6593)
* Set global dialplan to global context

* Update 530_talking_clock_date_and_time.xml
2023-03-28 14:03:55 -06:00
FusionPBX 14cbce3fdd
Add fax_status select list trying and busy 2023-03-28 13:12:30 -06:00
FusionPBX 7800633304
Add label busy and trying 2023-03-28 13:11:16 -06:00
FusionPBX 75fcb46b47
Account for fax_status busy 2023-03-28 13:01:49 -06:00
FusionPBX 7a3c67f6c5
Preserve the fax_result_code and set USER_BUSY 2023-03-28 12:49:46 -06:00
FusionPBX d03fca2970
Always update the fax_status
We want to show fax_status to be updated to show busy if the call was busy.
2023-03-28 12:46:54 -06:00
FusionPBX a1505ea945
Preserve the fax_result_code 2023-03-28 12:23:05 -06:00
FusionPBX 366577891f
Do not overwrite the fax_result_code 2023-03-28 12:21:59 -06:00
FusionPBX 2f37571b64
Set fax result text to USER_BUSY 2023-03-28 12:14:57 -06:00
FusionPBX 5c14e0b8cf
Update result text to USER_BUSY 2023-03-28 12:11:34 -06:00
markjcrane 1eece9111d Use global context 2023-03-28 11:38:29 -06:00
FusionPBX d07996d9d8
Update context to global 2023-03-28 11:27:41 -06:00
FusionPBX 48c3c11cfc
Update context to global 2023-03-28 11:27:18 -06:00
FusionPBX 0b9ea07576
Update context set to global 2023-03-28 11:26:44 -06:00
trideeindhoven fba26b3f84
Better NL translations (#6590)
Co-authored-by: Jeroen Hermans <jeroen@perfectvoip.nl>
2023-03-28 10:24:11 -06:00
trideeindhoven 8c0f8e8505
Keep device vendor when using alternate device (#6591) 2023-03-28 10:23:37 -06:00
FusionPBX d5850f154c
Update the array path after removing context tag 2023-03-27 16:49:36 -06:00
markjcrane d31e854488 Finish move context to an extension attribute 2023-03-27 14:28:24 -06:00
fusionate d40c3c76fa
Minor code adjustment to previous commit. 2023-03-27 20:27:30 +00:00
fusionate 0f02253e4e
SIP Profiles - Edit/Copy: Prevent duplicate names. 2023-03-27 20:22:35 +00:00
markjcrane 4fe99907e1 Move context to an extension attribute 2023-03-27 14:14:36 -06:00
Luis Daniel Lucio Quiroz 945ff01553
Update app_defaults.php (#6577) 2023-03-24 20:07:16 -06:00
Finn c1de249792
A few improvements to some grandstream configs + new devices (#6584)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-03-24 20:06:15 -06:00
Antonio Fernandez 5c77562535
New Snom phone support plus fix for older snom model (#6587)
* Added support for privacy_out config parameter

* Added support for Snom M Series KLE Phones/Base

* minor fix to app_config.php
2023-03-24 20:04:54 -06:00
Finn 8cdcd86ba9
update custom transcription provider for async transcriptions and retry logic (#6583)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-03-24 12:43:17 -06:00
frytimo 5e23824940
contacts app_defaults breaks PDO db (#6585) 2023-03-24 09:18:23 -06:00
FusionPBX cedef761a6
FAX Queue retry_limit set to 5 2023-03-22 20:25:21 -06:00
FusionPBX 3247357c5d
Remove action == add 2023-03-22 10:01:43 -06:00
FusionPBX 26b0988075
destination_country_code is required 2023-03-22 09:53:28 -06:00
FusionPBX 9e01767688
Update call_block_edit.php 2023-03-21 11:58:29 -06:00
FusionPBX 42ca53567d
Re-enable the other destinations
Permission re-added as its used for the destination select list.
2023-03-20 10:33:54 -06:00
fusionate 9c8f4e9060
Event Guard - Fix Unblock multiple checked. 2023-03-17 21:07:35 +00:00
ednt c923293050
Update email_logs.php (#6578)
Due to a change of table field name the SQL generates an postgres error
2023-03-16 22:14:01 -06:00
fusionate c41121a00f
Dialplan - Feature code to control agent Break status. 2023-03-16 20:23:39 +00:00
FusionPBX 9a565cdb14
Update send_email.lua 2023-03-16 11:22:14 -06:00
FusionPBX 628592e1af
Update daylight savings start and stop dates.
Search engine search term:
daylight savings 2023
daylight savings 2024
2023-03-16 10:44:42 -06:00
FusionPBX e3696871c9
If record_length is not set then still set record path and name
This affected outbound calls in some cases.
2023-03-15 14:48:26 -06:00
FusionPBX 6d114f0d11
Fix outbound call result status 2023-03-15 13:30:53 -06:00
FusionPBX 07280b0754
Regex removed broke call recording 2023-03-13 12:50:52 -06:00
FusionPBX b449bef03e
Use preg_replace instead of escape (#6575)
Escape broke auto matching fields use preg_replace instead.
2023-03-10 09:54:49 -07:00
FusionPBX d8a45a5872
Add variable ${caller_id_name} 2023-03-09 18:39:58 -07:00
televoice_pl e91ed6e5a3
Update device.php (#6570)
"cisco spa" check must be before "cisco" otherwise "cisco spa" is ignored
2023-03-09 14:20:24 -07:00
Luis Daniel Lucio Quiroz c4422e65f8
Remove redundant SQL condition (#6573)
In this condition you already have  p.dialplay_uuid = s.dialplay_uuid  and you have p.dialplay_uuid = CONST, no need tor s.dialplay_uuid=CONST,

In small databases, this could be trivial; but in significant databases, this saves a lot of processing.
2023-03-09 14:13:50 -07:00