Commit Graph

10140 Commits

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