Commit Graph

10335 Commits

Author SHA1 Message Date
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
FusionPBX 801c19da80
Add voicemail_destination view, add, edit and delete 2023-03-09 11:10:48 -07:00
fusionate 98f4ae6bb7
Dialplans: Fix search by dialplan Number. 2023-03-08 16:54:21 +00:00
fusionate 934d653b21
Script - is_local: Add space. 2023-03-03 18:32:23 +00:00
fusionate 242ceb7ccb
Voicemails - List: Additional permission check. 2023-03-01 22:35:44 +00:00
fusionate 49ed64bba9
Voicemails - List: Misc minor adjustments. 2023-03-01 22:13:27 +00:00
fusionate e2c1157227
Voicemail Email: Use (First Assigned) Extension User Time Zone, where set. 2023-03-01 04:04:15 +00:00
fusionate b7e63aff1a
Email Queue - Edit: Textarea for Body field. 2023-03-01 03:19:40 +00:00
fusionate 58f43ba642
Event Guard - Clarify Filter select options. 2023-02-28 17:51:21 +00:00
Daniel C c57f8fee22
Fix fax queue selection not sending list and some french translation. (#6565)
* Fix sending selected faxes from the queue

* Fix some french translations

---------

Co-authored-by: Daniel <git@myrandor.com>
2023-02-28 00:00:51 -07:00
fusionate f6b065085b
Dashboard - Missed & Recent Calls: Fix minor inconsistencies. 2023-02-23 14:50:16 +00:00
FusionPBX e72094543a
Add key to the name 2023-02-21 20:45:54 -07:00
FusionPBX 99f88edcc3
More specific add key to the name 2023-02-21 20:44:27 -07:00
FusionPBX aa51f96212
Customizable empty rows for device keys (#6561)
* Customizable empty rows for device keys

* New default setting profile_add_rows and profile_edit_rows
2023-02-21 20:27:55 -07:00
FusionPBX 67bfd31765
Fix syntax problem 2023-02-21 19:44:41 -07:00
FusionPBX 2ca41f446b
Add user voicemail to menu 2023-02-21 15:47:31 -07:00
demonspork 95579ca716
Fix cdr delete for recordings schema change and minor refactoring (#6532)
* Fix cdr delete for recordings schema change and minor refactoring

* Update changes to prevent losing changes.

Also remove trailing spaces

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-02-21 10:38:25 -07:00
fusionate 593b90230e
Dashboard - Domain Limits: Default Settings for chart. 2023-02-20 22:28:32 +00:00
fusionate fc7a8106fb
Dashboard - Domain Limits: Rework style to match other widgets. 2023-02-20 22:21:54 +00:00
fusionate 2c76741976
Dashboard - Caller ID: Rework style to match other widgets. 2023-02-20 19:49:32 +00:00
FusionPBX e91f78bafe
permission exists xml_cdr_domain false 2023-02-20 12:29:32 -07:00
FusionPBX d4458782b8
Change is_group to permission_exists
Use the xml_cdr_domain permission instead of is_group admin or superadmin.
Using the permission is more flexible.
2023-02-20 12:12:43 -07:00
FusionPBX cd517ea403
Show the latest 24 hours for CDR statistics 2023-02-18 17:28:15 -07:00
FusionPBX 1d36ca2dc9
Preprend the settings to the email response 2023-02-17 16:58:44 -07:00
FusionPBX c430c5c07f
Add email settings to the saved email response 2023-02-17 16:45:52 -07:00
fusionate f027c75aa4
Dashboard - Ring Group Forward: Show chart even without data, hide Save button without data. 2023-02-17 23:17:06 +00:00
fusionate 0334768c30
Dashboard - Ring Group Forward: Rework style to match other widgets. 2023-02-17 23:02:25 +00:00
fusionate a677c6abc3
Dashboard - Call Forward: Add permissions to chart data. 2023-02-17 23:01:40 +00:00
Alex 7326cb845a
Set default for enabled (#6556)
* Set default for enabled

* Update conference_profile_edit.php

* Update call_block_edit.php

* Update conference_control_edit.php

* Update conference_control_detail_edit.php

* Update conference_profile_edit.php

* Update conference_profile_param_edit.php

* Update conference_edit.php

* Update destination_edit.php

* Update device_edit.php

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update email_template_edit.php

* Update extension_edit.php

* Update module_edit.php

* Update phrase_edit.php

* Update ring_group_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update time_condition_edit.php

* Update var_edit.php

* Update voicemail_edit.php

* Update call_block_edit.php

* Update default_setting_edit.php

* Update domain_setting_edit.php

* Update domain_edit.php

* Update user_edit.php

* Update bridge_edit.php

* Update sip_profile_edit.php

* Update sofia_global_setting_edit.php

* Update call_flow_edit.php

* Update email_template_edit.php

* Update call_flow_edit.php

* Update bridge_edit.php

* Update email_template_edit.php

* Update sip_profile_edit.php

* Update sofia_global_setting_edit.php

* Update bridge_edit.php

* Update call_flow_edit.php

* Update conference_control_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update default_setting_edit.php

* Update email_template_edit.php

* Update extension_setting_edit.php

* Update default_setting_edit.php

* Update dashboard_edit.php

* Update dashboard_edit.php

* Update default_setting_edit.php
2023-02-17 14:21:41 -07:00
FusionPBX ef866e12d7
Remove code that was commented out 2023-02-17 12:59:22 -07:00
FusionPBX 97dbe7b31a
Save the email response (#6558)
* Save the email response

* use the response variable from the email class

* Rename email_debug to email_response

* Update app_languages.php

* Show the email response

* Save the email response
2023-02-17 12:47:11 -07:00
FusionPBX 7dbfd22acb
Add email status search trying 2023-02-17 11:55:47 -07:00
FusionPBX bc84d609d0
Update app_languages.php 2023-02-17 11:54:09 -07:00
FusionPBX 712b1e7281
Update xml_cdr_statistics.php (#6557)
* Update xml_cdr_statistics.php

* Build the xml cdr statistics with a query
2023-02-16 22:09:00 -07:00
David Jacob ae98ad2d49
Fix page issue of hold music heard (#6555)
Adding "mintwo" flag will tell the system that there has to be a minimum of two people in the conference to keep it open. This fixes the problem of when a user initiates a *8[ext] to someone and the far end hangs up and the initiator does not hang up the line they will hear hold music till they hang up.  Adding this will disconnect the intercom page if either party hangs up the call.
2023-02-16 15:51:01 -07:00
FusionPBX 5fe06f76c1
Update app_config.php 2023-02-16 11:50:03 -07:00
FusionPBX 7901818eec
Update app_config.php 2023-02-16 11:49:05 -07:00
FusionPBX 20ba2acf3c
Add provision user_name
User level username for endpoint embedded web server.
2023-02-16 11:42:36 -07:00
fusionate a65c4cc532
Fax Server - List: Better parameter string. 2023-02-15 19:46:54 +00:00
fusionate ee466d69b0
Fax Server - List: Add Show All, fix search. 2023-02-15 19:33:11 +00:00
Alex a8deadc38c
Update ivr_menu_edit.php (#6554)
* Update ivr_menu_edit.php

* Update extension_setting_edit.php

* Update domain_setting_edit.php
2023-02-15 09:52:49 -07:00
FusionPBX 615a776af4
Add database connections and size 2023-02-15 09:51:36 -07:00
FusionPBX aee22fe540
Add databases and database connections 2023-02-15 09:50:47 -07:00
FusionPBX eda9ee41fb
Default settings will override channel variables
These two settings when enabled
- message_caller_id_number 
- message_date_time

Override the following channel variables
- vm_say_caller_id_number
- vm_say_date_time
2023-02-14 18:19:48 -07:00
FusionPBX 9ef904fed1
Backwards comptability for these channel variables
- vm_say_caller_id_number
- vm_say_date_time
2023-02-14 17:33:25 -07:00
agree 4c29c3c4cf
[security] import pages xss prevention (#6553) 2023-02-14 15:34:53 -07:00
Alex a229d1e46c
Add enabled toggle to more pages and bug fix (#6552)
* Add enabled toggle to more pages and bug fix

* Add device profile enable toggle

* fixed enable on bridge_edit.php

* Fixed enable on call_block_edit.php

* Fixed enable on call_flow_edit.php

* Fixed enable on conference_center_edit.php

* Add conference room enabled toggle

* Fixed enable on conference_control_detail_edit.php

* Fixed enable on conference_control_edit.php

* Fixed enable on conference_profile_edit.php

* Add conference profile param enabled toggle

* Fixed enable on conference_edit.php

* Fixed enabled on device_edit.php

* Fixed enable on extension_edit.php

* Fixed enable on gateway_edit.php

* Fixed enable on number_translation_edit.php

* Fixed enable on phrase_edit.php

* Fixed enable on ring_group_edit.php

* Fixed enable on sip_profile_edit.php

* Fixed enable on stream_edit.php

* Fixed enable on time_condition_edit.php

* Fixed enable on var_edit.php

* Fixed enable on voicemail_edit.php

* Fixed enable on user_edit.php

* Fixed enable on user_setting_edit.php

* Update user_edit.php

* Update bridge_edit.php

* Update call_flow_edit.php

* Update conference_control_edit.php

* Update stream_edit.php

* Fixed enable on default_setting_edit.php

* Fixed enable on domain_edit.php

* Fixed enable on email_template_edit.php

* Fixed enable on module_edit.php
2023-02-14 11:19:02 -07:00
FusionPBX 7afcad0743
Add database information (#6551)
* Add database information

Show the database version.

* Add title-database

* Update app_config.php
2023-02-14 10:30:38 -07:00
fusionate f8f906a29c
Dialplan - Wakeup Call: Remove sample rate from path. 2023-02-14 16:48:55 +00:00
fusionate 854802ea7f
Recordings - Enable Default/Domain/User setting to control filename prefix and password. 2023-02-14 01:27:37 +00:00
fusionate 0f6ac8920c
Dialplan - Wakeup Call: Use dynamic path. 2023-02-14 01:22:48 +00:00
Alex 129d173624
Add enable toggle to more pages (#6549)
* Add bridge enabled toggle

* Update call_block_edit.php

* Add call flows enabled toggle

* Add conference center enabled toggle

* Add conference control detail enabled toggle

* Add conference control enabled toggle

* Add conference enabled toggle

* Add phrase enabled toggle

* Add stream enabled toggle

* Add voicemail enabled toggle

* Add destination enabled toggle

* Add time condition enabled toggle

* Add default settings enabled toggle

* Add domain enabled toggle

* Add email template enabled toggle

* Add module enabled toggle

* Add number translation enabled toggle

* Add sip profile enabled toggle

* Add switch var enabled toggle
2023-02-13 18:02:01 -07:00
fusionate fe616a6ce8
Dialplan - Wakeup Call: Correct sounds_dir variable used in previous commit. 2023-02-14 00:51:37 +00:00
fusionate 9438b6979b
Dialplan - Wakeup Call: Remove deprecated pin_number reference. 2023-02-14 00:35:30 +00:00
FusionPBX e1713bfc0b
Add text area for email error 2023-02-13 13:21:29 -07:00
FusionPBX 7bca5305ec
Add the email error
Log the email error to identify what went wrong with the email.
2023-02-13 13:03:04 -07:00
FusionPBX 8396f1b572
Fix the search and status for paging 2023-02-11 12:00:53 -07:00
Alex 2acda5ea06
Add dashboard, device, extension, and gateway enabled toggle (#6548)
* Update system_counts.php

* Update call_forward.php

* Add dashboard widget enabled toggle

* Add device enabled toggle

* Add extension enabled toggle

* Add gateway enabled toggle

* Update extension_edit.php

* Update extension_edit.php

* Update device_edit.php

* Update gateway_edit.php
2023-02-10 11:14:43 -07:00
FusionPBX 7b6774050e
Set ivr_menu_enabled default to false 2023-02-10 10:08:54 -07:00
FusionPBX f5afe618e1
Set ring_group_enabled default to false 2023-02-10 09:58:03 -07:00
FusionPBX 9c19eff170
Add toggle ring group enabled 2023-02-10 09:43:14 -07:00
FusionPBX 06949a96d9
Add toggle ivr menu enabled 2023-02-10 09:41:32 -07:00
Alex d35c7577bf
Fixed call forward chart not showing up (#6547)
Fixed a bug where the chart doesn't show up when all the values are equal to 0.
2023-02-09 13:38:48 -07:00
FusionPBX a727c4c38a
Add domain_uuid useful for debug 2023-02-09 12:58:07 -07:00
FusionPBX 9c73670845
Move the fax_queue update before originate
Reason for the change is to make sure the api_hangup_hook lua script update of the email queue doesn't conflict.
2023-02-09 12:40:42 -07:00
FusionPBX f862d65f4b
If fax succes is 1 then fax_status set to sent 2023-02-09 12:28:22 -07:00
fusionate 3ea56af2c3
Gateways - List: Show Register value. 2023-02-09 18:36:24 +00:00
denisent 00b5b79886
separating status and hangup permissions (#6522)
* separating status and hangup permissions

Creating a status permission so status can be displayed independently from hangup cause. The combination of status within the hangup permissions has confused some conversations with admins and superadmins.

* separating status and hangup permissions

Creating a status permission so status can be displayed independently from hangup cause. The combination of status within the hangup permissions has confused some conversations with admins and superadmins.
2023-02-08 19:03:40 -07:00
Luis Daniel Lucio Quiroz 9aa88dc537
Make the XML CDR Importer more resilient (#6543)
So I discovered 2 things,

1. If a user adds the default config cdr-field-array with the content of a database field Let's pretend they want to show the xml_cdr_uuid column (for support purposes) - it could be any column, the SQL construction will fail as not Postgresql, Not MariaDB/MySQL allow having a column repeated twice. Adding array_unique() fixes this issue.

2. This one is for developers: If a developer wants to create more columns in the v_xml_cdr table and make them visible in the CDR app, common sense tells to add the default setting cdr-field-array to show it. As the code is now, this will look into the freeswitch variables and overwrite it with NULL. I am adding a condition that verifies if the value has been already assigned, if it is, it won't overwrite it. This allows any developer who may be interested in extending the CDR to simply extend the class without touching it; very handy to keep the original code untouched.
2023-02-08 18:43:25 -07:00
fusionate ea59d3bf58
Conferences - List: Display CDR link in Tools column, if allowed. 2023-02-09 00:30:56 +00:00
fusionate b0c1a74f63
Access Controls - Reload: Clean up. 2023-02-08 22:17:49 +00:00
fusionate 5494a72941
Access Controls - List: Add Reload button. 2023-02-08 21:56:36 +00:00
FusionPBX 1078bacd70
Move database.name add adiditional comments 2023-02-07 22:56:44 -07:00
FusionPBX 78b4651106
Use additional conditions so sqlite will work or postgresql
Also added trim to prevent a trailing space from breaking the dsn string for sqlite.
Also added debug lines helpful for testing.
2023-02-07 22:50:05 -07:00
FusionPBX aacb232fc3
Add debug info and change method to access the table
Changing the method to access the table with dot notation is just a style should work either way.
2023-02-07 22:47:03 -07:00
FusionPBX 09c41b88ef
Add contact-params (#6545)
Adding contact params for control over this setting.
2023-02-06 22:24:16 -07:00
fusionate 46854d4025
Voicemail - Edit: Renenable Listen Link option in select, like Extension edit page. 2023-02-06 23:24:49 +00:00
garryavx 7d08ffc53c
Update app_config.php (#6544)
changed description to make destination_number a variable, and added warning that you must use a global default setting, domain setting will not work.
2023-02-06 14:49:48 -07:00
fusionate 658cb83894
Recordings: Display *732 password in description. Permission: record_pin 2023-02-02 21:20:31 +00:00
fusionate a7437be120
Interactive Conference - Add left margin to video icon, like others. 2023-02-02 20:06:40 +00:00
FusionPBX 0a6148bbc4
Use the switch database defined in config.conf 2023-02-01 19:51:33 -07:00
FusionPBX d9ba8b8880
Disable destination_number by default
This dialplan is meant to not record any calls any feature code calls. This means all calls starting with a * prefix.  However if you set the call to record all on the extension wouldn't you expect it to record all calls? Including when picking up a call. Or when intercepting call? or when un-parking a call. Had a someone call that had used a * prefix on an outbound route because they did that this condition prevented the call from being recorded which they didn't expect when the extension was set to record all calls. Tempted to remove it entirely but have instead disabled it by default for now.
2023-02-01 11:39:34 -07:00
FusionPBX 530ba85969
Option to disable dialplan conditions 2023-02-01 11:33:36 -07:00
fusionate f0797aee40
Conferences/Rooms - Edit & List: Make View button/link destination (Interactive or Active Conferences) determined by permissions. 2023-01-31 20:14:32 +00:00
fusionate 2092156157
Active Conferences: Show Conference/Room name and extension numbers. Conferences - Edit: Fix View button. Conferences - List: Add View link. 2023-01-31 19:59:08 +00:00
Alex 3fe43be2a8
Update default chart colors (#6542)
* Update default chart colors

* Update app_config.php

* Update index.php
2023-01-31 11:08:00 -07:00
fusionate d04b6db96a
Dashboard: Call Forward widget, Edit position without reload, misc adjustments. 2023-01-31 00:19:09 +00:00
FusionPBX ba344fd56b
Add option for /usr/share and /usr/local/share 2023-01-29 16:48:25 -07:00
FusionPBX badc0ee6c4
Add option for /usr/share and /usr/local/share 2023-01-29 16:46:39 -07:00
FusionPBX e3b600eaff
Exclude Call center agent as missed call
The call could have been answered by another call center agent.
2023-01-28 14:49:35 -07:00
fusionate 87716d051d
Extension - Edit: Clarify more descriptions. 2023-01-28 21:38:46 +00:00
fusionate 4ba6148f57
Extension - Edit: Add clarity to Max Registrations and Limit Max descriptions. 2023-01-28 21:31:00 +00:00
fusionate 4b7bac9ba1
Extension - Edit: Remove extra line breaks. 2023-01-28 21:18:01 +00:00
fusionate b35aafc391
Dashboard: Click chart to expand/contract details. 2023-01-28 01:52:13 +00:00
fusionate 6825825891
Device Profile - Edit: Implement device_key_icon permission on Icon column of Keys. 2023-01-27 22:42:05 +00:00
fusionate 107b8a48f2
Voicemail: Default/Domain Settings to control CID Number and Date & Time playback/order. 2023-01-27 22:17:51 +00:00
FusionPBX 02a9372634
Fix call block search and search by more fields.
Search by new fields.
- call_block_direction
- call_block_app
- call_block_data

Remove search by country code as its type numeric and casting it to text is likely to lower performance.
2023-01-27 13:08:22 -07:00
demonspork a3811128af
Support upcoming change in freeswitch - bridge_uuid changes to bridge_uuids array (#6531) 2023-01-27 10:18:35 -07:00
emak 21b639cd8e
user_exists: Add extension_caller_id_name and extension_caller_id_number (#6540)
* Add extension_effective_caller_id_name and extension_effective_caller_id_number

Adds 2 new variables to the user_exists dialplan:

* extension_caller_id_name
* extension_caller_id_number

This allows us to access these channel variables from the event socket and get the caller id name and number of the dialed extension when an inbound call comes in to that extension.

* Update 010_user_exists.xml

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-01-27 10:11:53 -07:00
FusionPBX 9a6628b592
Update app_config.php 2023-01-26 11:50:15 -07:00
FusionPBX a46d0856d3
Add new language_destinations permission 2023-01-26 10:34:01 -07:00
FusionPBX 9ae3cf8da3
Add destination languages 2023-01-25 23:08:38 -07:00
fusionate 8f2e1b0cd1
IVR Menu: Implement Enabled toggle control on Options. 2023-01-23 23:45:57 +00:00
fusionate b393089769
Ring Group - Edit: Set value to FALSE when Destination switch is off. 2023-01-23 22:44:57 +00:00
FusionPBX d31d028a0c
Upgrade: Enable ring group destinations by default 2023-01-22 11:19:50 -07:00
fusionate df6bc02489
Ring Groups: Enhance Destination Enabled Switch 2023-01-21 01:30:34 +00:00
K-Flagman 581c919132
Add iphone style toggle to enable/disable ring groups destinations #6394 (#6395)
* Add iphone style toggle for destinations in ring groups

* Add iphone style toggle for destinations in ring groups

* only select enabled destination when make ring group calls

* add destination_enable filed in table v_ring_group_destinations schema

* Change destination_enabled value on to true.

* Update app_config.php

* Change destination_enabled from on to true

* Change destination_enabled to boolean

* Delete fix.css

* Will style this

* Update template.php

Co-authored-by: flagman <flagman@flagman.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
Co-authored-by: K-flagman <43560934+kapetrosyan@users.noreply.github.com>
2023-01-20 18:25:13 -07:00
FusionPBX c5ebafa893
Add spa_vlan_enable, spa_vlan_id and spa_vlan_pc_id 2023-01-20 11:50:52 -07:00
FusionPBX a527bb5122
Remove cisco spa settings
These settings have been moved to app/cisco/app_config.php
2023-01-20 11:40:17 -07:00
FusionPBX 41ac46b204
Move the cisco spa default settings
Moved to own app/cisco/app_config.php
2023-01-20 11:38:52 -07:00
FusionPBX ec6daa7be0
Add missing required permission. 2023-01-19 16:00:59 -07:00
FusionPBX 62a8b95a16
Use effective_caller_id_name for local caller ID name
A local call does not have caller_id_name set automatically so we need to use effective_caller_id_name
2023-01-19 14:48:18 -07:00
fusionate 2980555287
Call Broadcast: Implement Date/Time Picker for Start Time field. 2023-01-18 22:25:55 +00:00
FusionPBX a5c6314861
Remove fail_on_single_reject
For one customer this broke voicemail as it never went to voicemail.
2023-01-17 17:18:59 -07:00
fusionate 4b52636022
Log Viewer: Update copyright date. 2023-01-17 00:06:01 +00:00
fusionate e8c59469c4 Call Center Agent - Edit: Clarify Announce Sound Description. 2023-01-16 23:44:24 +00:00
fusionate 96ba877a30 CDR: Update copyright date. 2023-01-16 23:10:11 +00:00
fusionate bbcfa128e5 Vars: Update copyright year. 2023-01-16 22:15:46 +00:00
FusionPBX e914fcde5e
Fix the fax queue status and search 2023-01-14 15:27:02 -07:00
FusionPBX c29c00dac1
Use $_REQUEST instead of $_POST or $_GET 2023-01-14 15:12:24 -07:00
FusionPBX 0873d67552
Add a link to fax_queue 2023-01-14 15:05:27 -07:00
FusionPBX e5b4f36b4b
Add label-queue 2023-01-14 15:04:05 -07:00
FusionPBX a51fba9745
Add permission fax_queue_domain 2023-01-13 18:12:42 -07:00
FusionPBX 3d144e58b0
Show faxes assigned to the user 2023-01-13 18:11:01 -07:00
FusionPBX 3b2e92a67d
Use $_SERVER['DOCUMENT_ROOT'] 2023-01-13 14:24:33 -07:00
FusionPBX a28e248867
Use $_SERVER['DOCUMENT_ROOT'] 2023-01-13 14:23:27 -07:00
FusionPBX e1b0f08321
Update the config.conf include 2023-01-13 13:58:06 -07:00
FusionPBX 86b8c2bea6
Update the fax-queue config.conf include 2023-01-13 13:56:34 -07:00
FusionPBX 1aa1467872
Allow inbound_route_view and outbound_route_view permissions 2023-01-11 23:35:29 -07:00
FusionPBX 59129449fd
Rebuild the dialplan SQL 2023-01-11 20:21:14 -07:00
FusionPBX dad60ef40a
config fs_path convert to boolean
The fs_path setting from config.conf is picked up from the config as a string. The directory.lua code expects the value as boolean so we are converting it to a boolean so it can be used in that way.
2023-01-11 19:52:42 -07:00
denisent 422b41cf8f
malformed sql messed up fax server columns (#6535) 2023-01-11 15:04:34 -07:00
FusionPBX bb3b813ce4
Update year range to include years passed
This is needed so that if going back to an old time condition see the year it previously had. This provides opportunity to update or remove the old time condition. This provides time to remove the old setting and not confuse it with new years.
2023-01-09 16:49:18 -07:00
FusionPBX d796eee8a0
Security: validate the user
Safest approach is to validate the user for the current domain.
2023-01-08 11:49:34 -07:00
FusionPBX 60aa8f6ab2
Remove the domain from the user_id 2023-01-08 11:46:57 -07:00
FusionPBX cf69ee46dc
Use the call recordings view 2023-01-07 08:44:20 -07:00
Alex 37ab508d1b
Update chart.js v3 to v4 (#6529)
* Update chart.min.js

* Update missed_calls.php

* Update recent_calls.php

* Update system_counts.php

* Update system_cpu_status.php

* Update system_status.php

* Update domain_limits.php

* Update voicemails.php
2023-01-06 13:18:53 -07:00
FusionPBX 0dbbdd000e
Create shell_esc.lua 2023-01-04 19:48:36 -07:00
FusionPBX 1e49e686c9
Add additional values to Registrations array
Items added to registrations array
* network-ip
* sip-auth-user
* ping-status
2023-01-04 14:05:16 -07:00
Alex 08a6cdb864
Update system_counts.php (#6525) 2023-01-04 09:42:58 -07:00
Harry Foster 13bcd5d244
Updated device key save to be a submit function for the form. (#6524)
The reason for this is the default behaviour for 'return' or 'enter' is to delete the device entirely. This makes using a barcode scanner impossible, or user error resulting in a lot of lost time.
2023-01-04 09:19:48 -07:00
FusionPBX 2b1b4b9315
Blind transfer on fail return call to sender 2023-01-03 18:34:05 -07:00
FusionPBX 784bdafccf
Use the time zone and format the date 2023-01-02 23:21:40 -07:00
FusionPBX a93bce2ae4
Disable grandstream_enable_call_features
When enabled it breaks ability to dial 72/73/74 or 97/98 and other feature codes
2023-01-02 11:52:08 -07:00
demonspork 7e58f6d773
Fix edge case permissions problem with extension_advanced (#6512)
* Fix edge case permissions problem with extension_advanced
2022-12-31 11:57:41 -07:00
yois615 cb1777c794
[call_flow] Adjust lamp on web changes (#6519)
Trigger event on status change from WebUI
2022-12-31 11:49:33 -07:00
Alex 21dfbc2d61
Update system_counts.php (#6517) 2022-12-31 11:47:33 -07:00
yois615 885c950a15
[call_center] Add uuid to lamp turn (#6518)
Agent log out from queue would have delayed lamp turn off.
Solution credit:
https://www.pbxforums.com/threads/agent-status-blf.549/page-2#post-11458
2022-12-31 11:46:58 -07:00
yois615 967445ab34
[call_center] Use agent_name or agent_id (#6520)
When logging into call center from phone, index.lua
only supports identity with agent_id.  We allow passing
agent_name as well to assist with BLF configuration.
2022-12-31 11:44:37 -07:00
yois615 2a0616b050
[call_center_active] Queue pickup (#6521) 2022-12-31 11:42:44 -07:00
FusionPBX ef1dbca245
Fix paging records for call recordings 2022-12-29 12:05:51 -07: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 0afe985352
Make the SQL queries more readable 2022-12-22 13:15:14 -07:00
FusionPBX c9fe34f271
Change call_routing to call_forward. 2022-12-22 13:02:27 -07:00
demonspork 19354fa37c
Update local_extension fail_on_single_reject (#6514)
Update local_extension fail_on_single_reject to handle stale registrations and other failures. Previously any failure mode would cause the call to drop to all registrations.
2022-12-22 00:27:50 -07:00