Commit Graph

10335 Commits

Author SHA1 Message Date
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