Commit Graph

10489 Commits

Author SHA1 Message Date
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
FusionPBX 8c749a2d02
Hide domain from list for user without permission
Use session domain_uuid by default when saving a new stream.
2022-12-22 00:18:43 -07:00
FusionPBX ba8adb9df6
Make streams more admin group safe. 2022-12-22 00:13:06 -07:00
FusionPBX ee17eb2665
Security, sanitize fax file path and name 2022-12-18 15:39:11 -07:00
FusionPBX 347874d42f
Fix mkdir by includ function an use after includes 2022-12-18 12:13:01 -07:00
demonspork 0719510ab5
Update file_cache.lua (#6507)
* Update file_cache.lua

Updated file_cache.lua to use default settings for compatibility with the removal of config.lua/local.lua. Also refactored some code for readability/nesting

* reload remote server list on cache clear
2022-12-14 10:10:34 -07:00
FusionPBX 30ddc55e03
Update 035_call_direction.xml
Change call_direction dialplan to set the value to local only if the value is empty.
2022-12-12 10:10:03 -07:00
FusionPBX 5ed0b299aa
Update and rename 030_call_direction.xml to 035_call_direction.xml 2022-12-12 10:08:23 -07:00
FusionPBX a593f567d1
Add the greeting to the database when uploaded 2022-12-09 18:55:49 -07:00
FusionPBX b3d201b909
Add Voicemail Greeting mp3 option 2022-12-09 15:01:27 -07:00
FusionPBX 49e8222219
Clear the speed_dial cache. 2022-12-08 22:12:22 -07:00
FusionPBX 3f4c74dac8
Simplify the speed_dial cache key 2022-12-08 21:07:25 -07:00
demonspork a62235e983
Typo Fix in recordings.php (#6504) 2022-12-08 16:16:13 -07:00
FusionPBX 7b928dc6b4
Fix conference active buttons.
Security validation wasn't quite right so it prevented the mute, unmute and other conference actions from working.
2022-12-07 22:29:59 -07:00
FusionPBX b7147022cc
include document root and config.conf 2022-12-07 21:52:34 -07:00
chansizzle b8c2fc182a
allow fax FROM to have more characters (#6503)
Fax cover sheet FROM field - increase the number of characters
2022-12-07 11:13:16 -07:00
FusionPBX 1cb9c932b8
Use the new ivr_menu answer setting. 2022-12-06 13:31:05 -07:00
FusionPBX 92123052e1
Add answer to IVR Menu dialplan.
Whether to add application answer to the IVR Menu dialplan.
2022-12-06 13:27:14 -07:00
FusionPBX bccc736fea
Update xml_cdr.php 2022-12-05 17:52:36 -07:00
FusionPBX 5fabba6bb9
Default to default sip_to_user
The value sip_req_user is not working out as a good default. Change this to better default is sip_to_user.
2022-12-05 09:43:50 -07:00
FusionPBX 7cb9836574
Update version to 1.1
Deprecate the v_call_recordings table
2022-12-03 19:23:58 -07:00
FusionPBX 3b9357976d
Use the new call recordings view 2022-12-03 19:19:29 -07:00
FusionPBX afa57b26a4
Update call recordings with more details
- Use the view_call_recordings view
- Add caller id name, number and destination
- Add more to the search
- Improve responsiveness
- Remove count to improve speed
2022-12-03 18:46:58 -07:00
FusionPBX 259dd1fbab
Add view_call_recordings 2022-12-03 18:44:17 -07:00
FusionPBX 77cbcad4dc
Add Caller ID Name, Number, and Destination 2022-12-03 18:42:07 -07:00
FusionPBX 0f60b2b34d
Add record_length numeric
And remove call_recordings save
2022-12-03 18:36:42 -07:00
FusionPBX c910f2177a
Add record_length type numeric 2022-12-03 18:24:09 -07:00
Vincent e8d01efc58
Add the P1X, P2X, P3X, P5X, i86Box, iMetalBox, audioKit Series for Flyingvoice in Devices. (#6502)
* Fix the registration failed after provision Flyingvoice phone.

* Fix the parameter configuration of Flyingvoice not displayed in the Default Settings

* Fix: after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable and the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable.
* Fix the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix: when only one sip line's shared line is enable, the shared lines of all SIP lines will be enable.

* Fix: unable to generate configuration file of Flyingvoice due to syntax error.

* Add the P1X, P2X, P3X, P5X, i86Box, iMetalBox, audioKit Series for Flyingvoice in Devices.
2022-12-03 14:46:40 -07:00
FusionPBX 7767c7dc33
Disable yealink_provision_url by default.
- When this is disable it will use the domain of the tenant.
- If the domain of the tenant is not resolvable then yealink_provision_url is needed.
- One reason to disable it is the domain_name has to be manually updated to the correct domain.
2022-12-02 17:39:02 -07:00
chansizzle 61b1c5547b
Update call_block.php (#6500)
show all domains when using show all
use the correct permission for show all access
2022-11-30 09:35:38 -07:00
FusionPBX 6aab62d12f
Set default setting to enabled to true.
Set default setting to enabled to true for yealink_missed_call_power_led_flash_enable.
2022-11-30 09:30:49 -07:00
emak bfbfd8a99b
Add French translations for email_address labels (#6494) 2022-11-21 19:25:43 -07:00
FusionPBX 61652e1eb3
Update and rename 505_call-forward-all.xml to 515_call-forward-all.xml 2022-11-18 12:00:51 -07:00
FusionPBX c50e737beb
Update and rename 500_follow-me-destinations.xml to 520_follow-me-destinations.xml 2022-11-18 11:57:21 -07:00
FusionPBX 696ad43044
Add queue email address 2022-11-18 00:12:53 -07:00
FusionPBX 700e964221
Add queue_email_address to call_center_queues 2022-11-18 00:02:43 -07:00
FusionPBX e32351eee0
Add label-queue_email_address 2022-11-17 23:36:10 -07:00
FusionPBX 440883fba8
Add iptables chain add and exit functions 2022-11-17 21:59:46 -07:00
FusionPBX ff2aa6a5db
Start specific gateway using sofia profile startgw
Old way to start gateway was re-scanning the SIP profile.
2022-11-16 14:54:22 -07:00
agree 095e1f6016
[directory.lua] Add domain_uuid to export_vars (#6493) 2022-11-15 22:22:11 -07:00
FusionPBX 135686c252
Replace the commas for display with a space.
Browser will handle different display sizes better with a space.
2022-11-15 11:01:26 -07:00
FusionPBX 2d3b41a3ee
Use wild card with sofia_contact by default. 2022-11-15 10:37:37 -07:00
FusionPBX 520b5d71f3
Add access control Import button 2022-11-14 17:40:41 -07:00
FusionPBX 895530ce71
Create access_control_import.php 2022-11-14 17:39:31 -07:00
FusionPBX ddcc5d3065
Fix number alias by removing code that broke it. 2022-11-14 16:48:09 -07:00
FusionPBX 9e5f931626
Use the callers Caller ID for local calls
With set to false the callers original outbound caller ID information is used. 
Keep original callers caller ID is now set as the default.
With these enabled to true the caller ID is picked from the extension being called.
2022-11-09 10:44:58 -07:00
FusionPBX 88bc541d0d
Create database object if not set. (#6492)
* Create database object if not set.
2022-11-08 09:40:12 -07:00
Dan 4a1913b447
Update to jQuery 3.6.1 (#6491)
This commit updates FusionPBX to use jQuery 3.6.1 and also adds a fallback to the other variable name for offhook autodial on the HT802.
2022-11-07 08:58:38 -07:00
FusionPBX 0eaab4e60a
Add contact relation search 2022-11-06 00:08:36 -06:00
FusionPBX 1ec48d46c9
Update contact_edit.php 2022-11-06 00:04:40 -06:00
FusionPBX acf9a046e0
Add contact relation search 2022-11-05 18:27:21 -06:00
FusionPBX f3c2c4930d
Create contact_json.php 2022-11-05 18:26:09 -06:00
FusionPBX ce77a7ca75
A better way to add a page timeout 2022-11-04 10:59:32 -06:00
FusionPBX 786d60120a
Update kickall
- Original kickall had an extra set command and was missing the domain name.
- Shouldn't be needed because conference is set to end when moderator leaves
- For this reason disabled by default.
- Additional kickall with sched_api is a time limit for the call
2022-11-04 10:57:52 -06:00
agree d9e43cda4c
set dbh if there isn't a global dbh set (#6489) 2022-11-03 10:49:22 -06:00
FusionPBX acf3781bd3
Use the destination_prefix permission 2022-11-01 12:07:56 -06:00
FusionPBX cb96c4a848
Inbound routes use destination sip_req_user
This setting allows adjusting the variable that is used for match the inbound number. For many years inbound routes have used destination_number as the variable to match inbound calls. When SIP diversion header is used the destination_number is not always dependable. The variable sip_to_user is more dependable but still fails with how some providers have implemented the SIP diversion header. It appears the sip_req_user is the seems to be the most dependable.
2022-10-28 09:10:54 -06:00
Tuan Nguyen c797953291
Fix Call Center max wait time with no agent reached (#6487)
Fix xml_handler when edit Max Wait Time With No Agent Reached when edit Call Center
2022-10-26 09:57:36 -06:00
FusionPBX 1ec440684b
Replace X-accountcode with accountcode
Deprecating the "X-" Prefix (RFC 6648)
https://www.rfc-editor.org/rfc/rfc6648
2022-10-26 09:56:19 -06:00
FusionPBX 95dd6094e0
Removing this because it breaks Missed Call results
Missed calls should include hangup_cause NO_ANSWER
2022-10-24 15:27:41 -06:00
levishores 63e6c5ab66
Update blf_subscribe.lua (#6482) 2022-10-24 13:09:33 -06:00
FusionPBX 720eb58a89
Re-organize the inlcudes. 2022-10-22 23:52:01 -06:00
FusionPBX 150e3cfed7
Re-organize the includes 2022-10-22 23:50:31 -06:00
FusionPBX 9cd8261eda
Update email_queue.php 2022-10-22 23:47:58 -06:00
FusionPBX 5a71e16f15
Use the config.conf file 2022-10-22 23:45:59 -06:00
FusionPBX b004e8f3ba
Add message Unable to connect... 2022-10-20 16:07:23 -06:00
FusionPBX 2816a54a8f
Use the now() for PostgreSQL
This prevents and error for SQLite
2022-10-19 11:29:22 -06:00
FusionPBX 0bba8702a1
Add sqlite support
Example use in config.conf file.

database.1.type = sqlite
database.1.path = /var/lib/freeswitch/db
database.1.name = core.db
2022-10-19 10:57:04 -06:00
FusionPBX 47c13a7270
Set update_date now() when the status is updated 2022-10-18 07:58:03 -06:00
FusionPBX a373958ffd
Use $_SERVER['DOCUMENT_ROOT'] 2022-10-14 11:51:17 -06:00
FusionPBX ef040f2b7a
Command line or web server both includes can work the same 2022-10-13 16:50:47 -06:00
FusionPBX 598eb4ab31
Wrap is_array arround foreach 2022-10-13 08:43:32 -06:00
FusionPBX 2a2069fe9e
Use is_array around foreach 2022-10-12 14:59:13 -06:00
FusionPBX 2d88fc35d8
Get http_protocol from default settings 2022-10-12 11:40:38 -06:00
FusionPBX 1fd0b9976b
Add http_protocol as a default setting 2022-10-12 11:38:14 -06:00
frytimo 4a8e148ccf
remove is_numeric check for voicemail id (#6484)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-10-11 21:32:32 -06:00
FusionPBX b8e8c726be
Update the include handling. 2022-10-11 11:54:01 -06:00
FusionPBX b300961d75
Use server DOCUMENT_ROOT variable. 2022-10-11 11:45:37 -06:00
FusionPBX fa870da5c9
Use server DOCUMENT_ROOT variable
Move includes to the near the top of the page
2022-10-11 11:44:54 -06:00
FusionPBX f75f623767
Remove root.php and include require.php once 2022-10-11 11:27:57 -06:00
FusionPBX eadc950298
Remove deprecated domain_count 2022-10-11 11:09:48 -06:00
FusionPBX 0a2798575c
Remove domain_count
Not needed only request domain_uuid if value is null
2022-10-11 11:07:48 -06:00
FusionPBX 122a8c1e03
Set the temp_dir variable 2022-10-11 10:59:51 -06:00
FusionPBX 93ec88629b
Replace root.php 2022-10-10 17:28:02 -06:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX a52ab303e9
Remove deprecated write_config 2022-10-10 13:28:22 -06:00
FusionPBX 30ec556c4a
Remove script write_config method. 2022-10-10 13:27:50 -06:00
FusionPBX cdd6397285
Replace root.php with config.conf 2022-10-10 13:19:44 -06:00
FusionPBX 114fe7252c
Replace root.php with config.conf 2022-10-10 13:19:40 -06:00
FusionPBX 4f7018700a
Replace root.php with config.conf 2022-10-10 13:18:54 -06:00
FusionPBX 7a16083095
Replace root.php with new config.conf 2022-10-10 13:18:34 -06:00
FusionPBX 7aa7ae4dd1
Add option to use host or hostaddr in config.conf 2022-10-10 13:08:30 -06:00
FusionPBX 26401d45c0
Replace config.lua with config.conf 2022-10-10 12:48:35 -06:00
FusionPBX adcc0ad068
Get the dial_string from default settings 2022-10-08 23:48:24 -06:00
FusionPBX 8f269a56f9
Update lazy_settings.lua 2022-10-08 23:43:51 -06:00
FusionPBX 263af5a76f
Change the indentation from two spaces to a tab. 2022-10-08 23:43:08 -06:00
FusionPBX a7721f5186
Add grandstream_auto_dial_number and grandstream_auto_dial_delay 2022-10-05 15:48:55 -06:00
FusionPBX b58d34010f
Add option billing to phone numbers and addresses. 2022-10-05 10:53:55 -06:00
FusionPBX 0db773e395
Correct the user_log_allowed function 2022-10-03 22:32:17 -06:00
FusionPBX b16265458e
Chang device key line number from 12 to 99 2022-10-03 10:40:23 -06:00
FusionPBX 93dd8bda71
Change variabale name from action to destination_action.
Resolves a conflict with another variable called action.
2022-09-30 16:18:39 -06:00
FusionPBX 92f0eb7405
Fix a problem with loading default sofia global settings. 2022-09-30 11:27:15 -06:00
amibtl 1a0a8e1f6a
Update call center dialplan template for add and edit (#6481)
* prepend to cc_export_vars

* prepend to cc_export_vars
2022-09-30 08:39:09 -06:00
FusionPBX 8bdfcb935b
Time condition set to default false.
The add was setting condition to dialplan_continue false and update set to true. This changes makes it consistent as both add and update will set dialplan_continue to false.
2022-09-28 12:00:31 -06:00
FusionPBX ad9087316a
Fix a division by zero error.
Add better support for BSD
2022-09-27 13:53:52 -06:00
FusionPBX 6d9e83cb1f
Remove /pb off of the phone book path 2022-09-27 08:43:10 -06:00
jonathanblack1000 d084f68a45
Update Grandstream Templates on most common models (#6479)
Add grandstream_missed_call_log, grandstream_missed_call_notification, grandstream_missed_call_backlight, grandstream_firmware_upgrade_protocol, grandstream_onhook_dial_barging,  grandstream_transfer_mode_via_vpk, grandstream_enable_call_features.
Add condition on grandstream_distinctive_ringtone_name_1, and grandstream_distinctive_ringtone_name_2.
Update Connection request user/pw to work better with GDMS.
On grandstream_wallpaper_url, use current setting name on GRP2613
2022-09-27 08:17:31 -06:00
FusionPBX 370139f7ef
Add sip_req_user next to sip_to_user 2022-09-26 15:19:31 -06:00
FusionPBX 2f19cf2ff4
Add sip_req_user as another alternative destination. 2022-09-26 14:46:52 -06:00
FusionPBX 568d561c0c
Update debian.service 2022-09-26 11:45:00 -06:00
FusionPBX 6fc44d467e
Update debian.service 2022-09-26 11:43:57 -06:00
FusionPBX f70576b8d0
Update debian.service 2022-09-26 11:43:22 -06:00
FusionPBX ecb385cf60
PostgreSQL maybe running on a different server 2022-09-26 11:42:32 -06:00
FusionPBX 49aa12067b
When using sip_to_user set before the dialplan_cache_key
To get use the sip_to_user  it needs to be set before the cache
2022-09-22 16:26:49 -06:00
FusionPBX f4b9a3331c
Change from switchname to hostname 2022-09-22 15:02:36 -06:00
FusionPBX eeec6173e0
Update dialplan.lua 2022-09-22 15:01:36 -06:00
FusionPBX ed107606d3
Deprecated no longer needed. 2022-09-22 11:38:39 -06:00
FusionPBX 3c18286c69
Update if the call center dialplan is different 2022-09-22 10:40:16 -06:00
FusionPBX 24b982d87c
Add is_array around foreach
Prevents a PHP Warning.
2022-09-22 09:45:29 -06:00
FusionPBX eafd5a9fe0
Add missing sofia global settings. 2022-09-22 00:09:01 -06:00
FusionPBX 2900b9fb1b
Code had two file connections use one.
Noticed there were two open connection for the file log. A few other adjustments.
2022-09-21 13:02:56 -06:00
FusionPBX c9b3b7ce3f
Remove settings that were accidently addded here. 2022-09-19 16:13:11 -06:00
FusionPBX 7435e8bd91
Remove extra $z++ 2022-09-19 12:59:12 -06:00
FusionPBX ff6f555793
Remove extra $z++ 2022-09-19 12:54:29 -06:00
FusionPBX dee0b53cfe
Remove an extra $z++; 2022-09-19 12:52:24 -06:00
FusionPBX 446f4615bf
Bug fix use column instead of field
If updated in the last few days then you need should clear the file cache. Also disabled event_guard_log_allowed until there is a setting to enable or disable it.

Update the source code
cd /var/www/fusionpbx
rm /var/cache/fusionpbx/*
service event_guard restart
2022-09-18 17:53:03 -06:00
FusionPBX 884e90ac39
Comment out the database response. 2022-09-18 04:48:17 -06:00
FusionPBX 5485764c08
Update event_guard_logs.php 2022-09-18 02:10:28 -06:00
markjcrane eb5c25aa35 Add insert_date, insert_user, update_date, update_user to all tables 2022-09-18 00:54:37 -06:00
frytimo ba3b60b07b
Move database methods to static and document database class (#6474)
* Add new static method to created newly connected database object

* Document database class and clean up and document some of the methods.
This removes the methods that should not be in each instance and places
them in the single instance class as to occupy less resources and be
able to create database objects more efficiently.

* More docs & removed the ability to set any value within the object.

Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-09-17 15:44:21 -06:00
FusionPBX 85ca868ee4
Update event_guard_log_edit.php (#6477) 2022-09-17 10:19:56 -06:00
FusionPBX a2cedd0513
Reduce fax originate command
- Size limit for originate command parameters around 1130 characters.
- The originate command is used in event socket and not in shell command so remove escapeshellarg.
- Remove for_fax=1 as it doesn't seem to be used anywhere.
2022-09-16 17:05:36 -06:00
FusionPBX de21143246
Reduce size of fax originate command.
Originate command is limited to around 1130 characters. So this work was to reduce the size. Single quotes aren't needed on everything as this is not a command line. Its an even socket command. Also moving fax_variables into the fax options prevents variable duplicates.
2022-09-16 17:02:16 -06:00
FusionPBX b5ba126aae
Fix Sofia global settings search. 2022-09-15 23:42:27 -06:00
FusionPBX 864afee9c3
Preven overwritting global profile settings. 2022-09-15 23:37:47 -06:00
FusionPBX 410bab6d05
Allow access for addresses that have been unblocked 2022-09-15 17:34:38 -06:00
FusionPBX 1d55981cbb
Add user_log_allowed function. 2022-09-15 17:00:57 -06:00
FusionPBX 4fce9a4565
Filter for specific Events 2022-09-15 16:01:47 -06:00
FusionPBX 6f6eb88ebb
Use single quotes for the function_exists parameter. 2022-09-12 20:50:13 -06:00
FusionPBX 694fa611ef
Check to see if posix_getsid exists 2022-09-12 20:49:04 -06:00
FusionPBX 7d641711fc
Get the mime type to set vm_message_ext 2022-09-12 16:53:12 -06:00
FusionPBX 81688cb8c8
Remove transcription from if statements.
Transcription is handled using the email queue.
2022-09-12 16:07:59 -06:00
FusionPBX 5ed64d2be4
Prevent an error message if the directory doesn't exist. 2022-09-12 11:41:03 -06:00
FusionPBX be257eeb03
Use is_array before foreach 2022-09-12 09:19:21 -06:00
FusionPBX 0fce8ac1a5
Add more comments and is_array before foreach 2022-09-12 08:59:28 -06:00
FusionPBX bb56827f4f
Use is_array before foreach 2022-09-12 08:54:16 -06:00
FusionPBX b17748dc1e
Use loop only if destination_actions is an array 2022-09-11 10:22:23 -06:00
FusionPBX bf11de1215
Add option for agent_authorized by default enabled false. 2022-09-09 09:03:13 -06:00
FusionPBX 33ff275c12
Add call_center_agents.php as agent blf helper. 2022-09-08 13:52:08 -06:00
frytimo e88176c755
voicemail boxes can now be text or numeric (#6467) 2022-09-07 16:37:02 -06:00
Joyce Babu ae7c312136
Add Telekonnectors Galaxy 1000 Plus template (#6469) 2022-09-07 16:36:03 -06:00
FusionPBX c12cd0d296
Unset destination_app and destination_data
This fixes a bug where a blank empty value shows the previous value.
2022-09-07 16:33:10 -06:00
FusionPBX 8f8e0795ff
Add label-file_name 2022-09-06 17:16:40 -06:00
FusionPBX aa2d0eb477
Show the file name on the second page of the import. 2022-09-06 17:15:35 -06:00
FusionPBX f9324acecc
Wallboard in ES (panish) 2022-09-06 12:39:45 -06:00
garryavx d71e4075a4
Update app_config.php (#6470)
* Update app_config.php

changed the wording to let the user know they can add multiple email address for delivery.

* Update app_languages.php
2022-09-02 12:22:06 -06:00
FusionPBX 6bed337061
Chunk the work into batches of a 1000 numbers at a time.
This is useful for customers with over 1000 destination numbers. Will work from command line with any number of destination numbers.
2022-09-01 11:11:13 -06:00
FusionPBX 52b06b5afc
Use /proc/$pid if posix_getsid is undefined 2022-08-30 14:45:09 -06:00
FusionPBX 29d1221346
On CentOS posix_getsid function may not be available. 2022-08-30 14:20:40 -06:00
FusionPBX 334d989b08
By default don't set the this outbound_caller_id when using loopback 2022-08-29 16:51:23 -06:00
FusionPBX f63cbfaa78
Fix the find_file function when so it works with base64 2022-08-27 23:29:20 -06:00
FusionPBX fd364879ac
Remove duplicated yealink_firmware_t54s 2022-08-26 14:34:09 -06:00
FusionPBX 0435dc0719
Remove duplicate yealink_remote_phonebook_enable 2022-08-26 14:30:04 -06:00
FusionPBX 2ca336e956
Wait until event socket is ready then connect to it.
If FreeSWITCH is not started yet then wait to connect to it then
2022-08-26 12:05:28 -06:00
FusionPBX d62f360f77
Delete the cache in e.164 format. 2022-08-24 16:53:31 -06:00
FusionPBX 2cd382ec38
Get caller ID from the same call flow -> caller profile
This is the same place we get caller ID from in the XML CDR Details page.
2022-08-23 13:13:34 -06:00
agree d52695b29f
[fax] replace bg_system with os.execute (#6462)
to support systems that have the system commands disabled
2022-08-23 10:14:34 -06:00
FusionPBX e51f48b17f
Update app_defaults.php 2022-08-22 17:54:29 -06:00
FusionPBX 2fcd0dbd9a
Use destination_app and destination_data 2022-08-22 17:30:31 -06:00
yois615 6e2e54922f
Retain recording display name and reset digit timeout (#6163)
This commit fixes 2 issues:
1. The recording name was not preserved upon
rerecording

2. When selecting rerecord, the digit timeout would retain
the value of 100, preventing the user from selecting the recording
id
2022-08-22 11:15:23 -06:00
agree fa270a4ee8
[ring groups] remove unused code (#6456) 2022-08-22 11:11:59 -06:00
emak e52f6626f9
Fix fax_queue to Email PDF Instead of TIF (#6461)
* Fix fax_queue to Email PDF Instead of TIF

Variables `$fax_file_tif` and `$fax_file_pdf` are missing a period before the extension so file_exists is always evaluating to false. Thus, TIF was always sent. Adds the period back into the path so the check works correctly.

NOTE: `$fax_file_tif` is completely unused and can be removed from this code for cleanup.

* Use single quotes.
2022-08-22 10:10:31 -06:00
FusionPBX 4f2d0316c5
Add custom event_guard:unblock 2022-08-20 12:48:41 -06:00
FusionPBX 01b31dce1a
Watch for event_guard:unblock and more debug info. 2022-08-20 12:47:24 -06:00
Joyce Babu 6365b28cf2
Add Telekonnectors Galaxy 1000 template. (#6442) 2022-08-20 09:28:15 -06:00
emak 26b3e7893b
Add Fax Queue TX Email Variables (#6460)
* Add db field to v_fax_queue to link to fax log

* Add fax_duration field to v_fax_logs

Add fax duration to db to allow for logging of this data for fax email templates.

* Add new email variables to fax send

* Fix some logging variables and fax_log_uuid

Added back some missing session variables for the fax log.

Also update the email queue db field with the fax_log_uuid to allow us to add variables to the fax email templates later.

* Update hangup_tx.lua
2022-08-19 18:08:43 -06:00
FusionPBX f8f09f9a31
Skip resolving IP addresses to improve performance. 2022-08-18 23:31:42 -06:00
FusionPBX a9e534f1fa
Remove playback silence_stream 2022-08-18 17:59:41 -06:00
FusionPBX e4884fa4b1
Remove outbound_caller_id_number as it overrides caller ID
When the caller is a local extension to another location extension the caller ID in the follow-me-destinations dialplan sets the caller ID to the local extension number and then the VoIP provider doesn't accept the call. As long as the local extension has Outbound Caller ID set on their extension then the information is already correct.
2022-08-18 15:33:16 -06:00
Alex ada9f69af3
Add status dropdown to Fax Queue search (#6459)
* Update fax_queue.php

* Update app_languages.php
2022-08-18 13:13:50 -06:00
FusionPBX 82bb973ea7
Update the event_guard constructor. 2022-08-17 17:27:47 -06:00
FusionPBX 7e34f1f8f4
Add permission event_guard_log_unblock 2022-08-17 17:26:26 -06:00
FusionPBX 1b8bf75eff
Simplify outbound destinations further by hiding irrelevant settings. 2022-08-17 09:38:24 -06:00
FusionPBX 074628ca7a
Add method unblock to the event_guard class. 2022-08-17 00:27:08 -06:00
FusionPBX 2177091702
Use unblock instead of delete. 2022-08-17 00:25:53 -06:00
FusionPBX c2085c2320
Add button-unblock, label-unblocked, and label-pending 2022-08-17 00:23:54 -06:00
FusionPBX 9b06671810
Add ability to unblock addresses and use more descriptive variable names. 2022-08-17 00:06:52 -06:00
FusionPBX 326544a006
Get the hostname of the server before the loop. 2022-08-16 18:45:48 -06:00
FusionPBX df755fae5c
Hide columns for smaller screens, and truncate the email_body. 2022-08-16 18:43:03 -06:00
Alex a517e185d5
Add status dropdown to search (#6455)
* Update app_languages.php

* Update email_queue.php

* Update app_languages.php
2022-08-16 15:58:05 -06:00
FusionPBX 5fe1f5c601
Add an IPv4 address missing cidr notation add /32 by default. 2022-08-16 14:16:39 -06:00
FusionPBX 3519353008
Hide a few columns for smaller screens. 2022-08-16 11:51:13 -06:00
Alex d9ed7a343f
Update devices.php (#6454)
* Update devices.php

* Update event_guard_logs.php
2022-08-16 11:27:17 -06:00
Alex 93c90c8969
Add a filter dropdown (#6453)
* Update event_guard_logs.php
2022-08-16 10:56:30 -06:00
agree f94bad1730
[xml_cdr] more caller id handling (#6452) 2022-08-16 00:00:43 -06:00
FusionPBX 8a3af98f6b
Multiple changes including reconnect to event socket if needed.
- IN function block replace array with event to prevent a naming conflict.
- Reconnect to event socket if the connection is lost.
- Use condition if is_array around each foreach.
- Unset the database connection
- Use event socket variables and close the session before the loop
2022-08-15 14:54:49 -06:00
FusionPBX 24b9012d8c
Update email_send.php 2022-08-11 13:43:37 -06:00
FusionPBX 68965ccf0a
Update ivr.conf.lua 2022-08-08 20:08:51 -06:00
FusionPBX 25d59d69fe
On change destination type show and hide specific fields 2022-08-08 13:25:56 -06:00
FusionPBX b12c474c19
When using the add button send the destination type in the URL. 2022-08-08 12:56:17 -06:00
FusionPBX 1466659fe6
Change domains ACL to providers for new installs. 2022-08-06 17:13:38 -06:00
FusionPBX da768d984b
If the call goes to voicemail it is a missed call. 2022-08-05 15:05:49 -06:00
FusionPBX 84a3ab143d
Needs to use double equals for the condition. 2022-08-05 14:35:54 -06:00
FusionPBX 6f2a2a76a1
Answered calls to exclude missed calls.
Determining missed_call is done in the import so the extra originating_leg_uuid is not needed.
2022-08-05 13:46:26 -06:00
FusionPBX e0b37ae834
When call goes to voicemail mark it as missed.
Add additional labels and change isset answer_stamp to use billsec greater than zero.
2022-08-05 13:19:35 -06:00
FusionPBX 0a45b7acf1
Don't show these by default.
Permissions are there to show these however its is expected that these permissions will be assigned to a group rarely.
Considering removing the permissions and not import the records.
2022-08-05 11:30:57 -06:00
FusionPBX 440584898b
Missed calls are marked when the call is imported.
Missed calls are marked when the call is imported and in some cases near the end of the call. This simplifies the missed_call in reports and call detail records.
2022-08-05 11:18:40 -06:00
FusionPBX d5e7552fb4
Hide not answered calls Ring Group Destinations that were answered by someone else.
Improve the form
2022-08-05 11:15:09 -06:00
FusionPBX 58d7e402d9
Hide ring group legs by default that were not answered.
Cleans up the Call Detail Records list.
2022-08-05 10:43:40 -06:00
FusionPBX 301dc1501c
Eliminate faxes from missed calls and ring group destinations that didn't answer the call. 2022-08-04 19:09:23 -06:00
FusionPBX 74d034d7a9
Work on missed_call field. 2022-08-04 18:37:14 -06:00
FusionPBX 3418859ee9
Update xml_cdr.php 2022-08-04 15:37:12 -06:00
FusionPBX e1449e5cd3
Change default from allow to deny for the LAN rfc198 ACL 2022-08-04 15:02:41 -06:00
FusionPBX 7a6c44267a
Check for missed_call variable use it if it exists 2022-08-04 12:50:29 -06:00
FusionPBX f591c04f22
Update index.lua 2022-08-04 12:43:16 -06:00
Mendel 10b28721f7
Add cid of remote ext to dialplan (#6449) 2022-08-04 11:53:46 -06:00
FusionPBX a4ff0f1007
Format the date and time with the time zone. 2022-08-02 12:59:09 -06:00
FusionPBX 2c5c522186
Add a better way to detect if the iptables chain exists. 2022-08-02 12:34:03 -06:00
FusionPBX 7103adf98f
Set accountcode variable
Set the account code variable so it can be used in the dialplan after the pin_number.lua has run.
2022-08-02 09:00:55 -06:00
FusionPBX c12b03d31a
Disable the toggle. 2022-08-01 23:41:44 -06:00
FusionPBX 7f494e3baf
Add the user_agent field. 2022-08-01 23:38:03 -06:00
FusionPBX 79b5f70cdf
Add the user_agent field. 2022-08-01 23:37:18 -06:00
FusionPBX d384547adb
Add the user_agent field. 2022-08-01 23:36:47 -06:00
FusionPBX 0680a4d252
Add label and description for user_agent. 2022-08-01 23:36:05 -06:00
FusionPBX 054a33cf3e
Add the user_agent field. 2022-08-01 23:35:31 -06:00
FusionPBX 73ded9bf60
Remove cache from switch.blocked.
Since the IP address is blocked don't need to cache it.
2022-08-01 19:37:59 -06:00
FusionPBX 854f2bf1f0
Add missing _alternate 2022-08-01 18:20:38 -06:00
Luis Daniel Lucio Quiroz 976d983174
Add period and dash to Click 2 Call (#6425)
Source can be not only numbers but letters, dots, and -. They are still valid:

name.lastname,  or name-lastname.
2022-08-01 08:45:21 -06:00
FusionPBX c20e83e64c
Add additional pre-defined variables to the disa dialplan. 2022-07-30 16:41:04 -06:00
FusionPBX 5997aae095
Fix the search and add a link to arin.net 2022-07-29 15:59:21 -06:00
FusionPBX f60d6e7557
Add proxy to the gateway list. 2022-07-29 10:28:22 -06:00
FusionPBX 95c358f8e4
Add database log for new blocked address. 2022-07-28 11:15:48 -06:00
FusionPBX 7897bd16aa
Update event_guard_logs.php 2022-07-28 09:34:16 -06:00
FusionPBX 02522b11f3
Create event_guard.php 2022-07-28 09:33:09 -06:00
FusionPBX 2b457c9dfb
Create root.php 2022-07-28 09:31:04 -06:00
FusionPBX 8779206311
Create event_guard_logs.php 2022-07-28 09:30:41 -06:00
FusionPBX 9c8840ed6a
Create event_guard_log_edit.php 2022-07-28 09:30:00 -06:00
FusionPBX 5dd4459acd
Create app_menu.php 2022-07-28 09:29:28 -06:00
FusionPBX 37f754336b
Create app_languages.php 2022-07-28 09:29:01 -06:00
FusionPBX 1f6a081471
Create app_config.php 2022-07-28 09:28:36 -06:00
FusionPBX 22a243ceb4
Update and rename app/switch/resources/service/debian-event_guard.service to app/event_guard/resources/service/debian.service
Move event guard to its own directory.
2022-07-28 08:38:16 -06:00
FusionPBX 9d2efbeccb
Rename app/switch/resources/service/event_guard.php to app/event_guard/resources/service/event_guard.php
Move the event_guard service to its own directory name.
2022-07-28 08:35:16 -06:00
FusionPBX 3ee97e0d76
Add more debug information. 2022-07-27 13:40:55 -06:00
FusionPBX 5a11c55553
Remove orphaned access control nodes 2022-07-27 13:28:52 -06:00
FusionPBX c8aaf80781
Create debian-event_guard.service 2022-07-25 19:28:18 -06:00
FusionPBX 17ab8e61ab
Create event_guard.php 2022-07-25 19:24:35 -06:00
agree 6e40068040
[dialplans] Allow multiple extensions per xml (#6437)
* [dialplans] Allow multiple extensions per xml

* remove extra character
2022-07-23 13:16:25 -06:00