Commit Graph

9025 Commits

Author SHA1 Message Date
Antonio Fernandez 6a116dd78b
Update call_center_queue_edit.php 2021-03-06 16:03:20 -05:00
Antonio Fernandez ef93ff09f1
Update call_center_queues.php 2021-03-06 15:58:38 -05:00
Antonio Fernandez ff38a86118
Update app_languages.php 2021-03-06 15:56:59 -05:00
Antonio Fernandez 394e67ede0
Update app_languages.php
The translations are copied from the label-time_based_score however I used Google Translate to translate "seconds" in various languages.
2021-03-06 15:53:21 -05:00
Antonio Fernandez 64a6128b21
Update app_config.php 2021-03-06 15:47:13 -05:00
FusionPBX 44300f81e3
Merge pull request #5775 from winsock/device_import_mac_address_normalize
Fix device MAC address imports not normalizing.

# Context
MAC addresses were not being normalized when importing CSV files. If it is not normalized you can get a not found error when provisioning since that is checking the database with a normalized MAC address

# Overview
- Use the same normalization done in device_edit.php in device_imports.php
2021-03-06 09:55:56 -07:00
FusionPBX 98392adcf0
Merge pull request #5790 from demonspork/grandstream_hide-remote-blf_status
Grandstream: Hide BLF Remote Status And More Distinctive Ring

Hide the other connected party on the BLF of supported phones. When not hidden a busy BLF will show the other connected party/sttaus of the call by flashing back and forth between the BLF label and the caller ID.
It also impacts the park buttons, but they typically only show the word "park" because of the character limitations.
Also did more effective find/replace for the distnctive ring variables with regex! (plus a typo was made in the previous version)
2021-03-06 09:49:00 -07:00
FusionPBX 5b3f849b4a
Remove forward_caller_id_uuid field and minor code cleanup.
Minor code cleanup improve indentation, trailing spaces and add some line feeds.
2021-03-06 09:43:31 -07:00
FusionPBX 7cb17effe8
Remove follow_me_caller_id_uuid field. 2021-03-06 09:26:19 -07:00
FusionPBX 07fb1c2dc6
Remove follow_me_caller_id_uuid field. 2021-03-06 09:12:39 -07:00
FusionPBX 297fea5d64
Remove the forward_caller_id_uuid field. 2021-03-06 09:06:31 -07:00
FusionPBX 75b38c9d7f
Remove forward_caller_id_uuid field. 2021-03-06 09:05:32 -07:00
FusionPBX 4ccbebc9bc
Remove forward_caller_id_uuid field. 2021-03-06 09:01:03 -07:00
FusionPBX 4f8413cc6a
Remove forward_caller_id_uuid field. 2021-03-06 09:00:00 -07:00
FusionPBX 8e79821304
Remove forward_caller_id_uuid field. 2021-03-06 08:59:12 -07:00
FusionPBX ee1e4727c6
Remove call_forward_caller_id permission. 2021-03-06 08:53:49 -07:00
FusionPBX f82cdd4830
Remove follow_me_caller_id and field follow_me_caller_id_uuid. 2021-03-06 08:51:27 -07:00
FusionPBX acbda27f4a
Remove caller ID on follow me and call forward.
The caller ID is redundant as it is already set on the extension.
2021-03-06 08:47:10 -07:00
FusionPBX 7390f79ae0
Add destination order to the order by. 2021-03-06 08:16:30 -07:00
FusionPBX 70577ac83f
Add destination order to the database and use it. 2021-03-06 08:14:54 -07:00
FusionPBX c6707fc835
Add destination_order ot the destinations table. 2021-03-06 08:10:47 -07:00
FusionPBX 906b86d3dc
Use elseif instead of a series of if statements.
Also replace strlen with isset.
2021-03-05 20:03:57 -07:00
FusionPBX 0b91af9f42
Add option to handle category: provision type: array 2021-03-05 12:09:26 -07:00
Andrew Querol c7a35cc1ad Fix device MAC address imports not normalizing.
If it is not normalized you can get a not found error when provisioning since that is checking the database with a normalized MAC address
2021-03-04 17:33:25 -06:00
FusionPBX 46d13689fc
Fix a duplicaiton problem when editing and saving extension settings. 2021-03-04 13:41:27 -07:00
emaktech a0ab52d369
CDR - Don't Check Filesystem for Recording on Load
I have been debugging slow loading on our CDR pages for the last few days now.

One issue that we have encountered is that currently as the page loads, it checks the filesystem for each file one at a time. In our case, we move recordings to object storage after 1 week, so each time we check for a file it passes api calls which take over 1 second each to return a result. This causes this page to not load at all for us in many cases.

Regardless, this current method is unnecessarily I/O intensive and really page load is probably not the time to be checking for each file one by one.

So this PR is the simplest solution - remove the check entirely. I would contend that the administrator should remove the record_path from the database if the file was removed so this should be acceptable.

This solves this particular issue for us, but would need feedback from others if not checking for files makes sense.
2021-03-03 15:48:17 -05:00
demonspork 99fb4ae078 Grandstream: Hide BLF Remote Status And More Distinctive Ring
Hide the other connected party on the BLF of supported phones. When not hidden a busy BLF will show the other connected party/sttaus of the call by flashing back and forth between the BLF label and the caller ID.
It also impacts the park buttons, but they typically only show the word "park" because of the character limitations.
Also did more effective find/replace for the distnctive ring variables with regex!
2021-03-02 21:34:25 -06:00
Len a021867008
Remove duplicate uuid/variables 2021-02-28 20:35:51 -05:00
FusionPBX 771b958ebe
Reformat the status to show the reg expire seconds. 2021-02-27 10:08:41 -07:00
FusionPBX d10ea48bee
Get the domain name using the device. 2021-02-26 17:17:32 -07:00
demonspork 0f9098cfb4 Grandstream: Plantronics EHS and additional non-clobbering of settings
Grandstream template updates to support plantronics EHS via grandstream_headset_type and grandstream_headset_key_mode variables.
Also updated wallpaper and screensaver if/else statements to leave out the variables if they are not defined instead of clobbering the user setting. If you want to mandate a certain setting, just set the variable. If the variable is unset it will not overwrite on provision and allow the previous setting to remain.
2021-02-25 15:23:33 -06:00
FusionPBX e69bebcbe8
Merge pull request #5778 from demonspork/cdr-stats-improvements
Improved Missed Call accuracy, cdr statistics, and hide duplicated CDRs from Enterprise Ring Groups
2021-02-24 17:37:27 -07:00
FusionPBX fe92309901
Update index.lua 2021-02-23 21:00:56 -07:00
FusionPBX d2ff58ee42
Update index.lua
Added a commented out resync option.
2021-02-23 20:56:37 -07:00
demonspork c11589b1c3 Track Voicemail Message Success/Failure in CDR
Track whether or not a message was actually left in the voicemail box. Previously we only knew that voicemail answered, now we know whether the caller left a message.
Callers who didn't leave a message now show up in the "Cancelled" call filter in xml_cdr.php

Bonus: Fixed a bug with the originating_leg_uuid that was breaking extension summary from a previous commit and some other minor bugs/typos.
2021-02-21 21:09:37 -06:00
demonspork 0ef2551698 Exclude cc_side agent legs from missed_call
Excluded cc_side = agent calls from being marked as missed_call = true

Fixed the previous performance issue with adding the cc_side != 'agent' to the SQL and removed its filter from the rendering loop for the xml_cdr.
2021-02-21 18:26:24 -06:00
demonspork b5272984d1 Don't filter LOSE_RACE of already filtering originating_leg_uuid
It is redundant to filter out LOSE_RACE when originating_leg_uuid is also filtered, there is an overlap where every call with LOSE_RACE also has an originating_leg.
2021-02-20 11:51:24 -06:00
demonspork 77974b71dc Fix Query performance for cc_side agent
For some unexplained reason, including the `"and cc_side != 'agent'` in the WHERE tanks the query performance from seconds to minutes on Postgres 9.4. It runs great on Postgresql 13. Reverting to the "blank content while writing the page content" approach for this value unless I can find the source of the problem. - Oh, also removed an unnecessary condition that prevents you from filtering by LOSE_RACE.
2021-02-20 11:51:24 -06:00
demonspork 92dc62a7b4 Fix TTA display bug in Export CDR PDF
Same thing as in the xml_cdr.php page display. If the call is answered instantly, less than a second, then the difference is 0s, and the 0s is a visual indicator that the call was answered, it just took less than a second. Calls that didn't get answered have a large negative number stored in the TTA field, 0 is an answered call.
2021-02-20 11:51:24 -06:00
demonspork d150f16b9d Fixed "Failed" call status in CDR
Re-implemented the commented out "Failed" call status SQL filter. It was no different than leaving the "Call status" search box empty. Removed the send_refuse restriction.
2021-02-20 11:51:24 -06:00
demonspork 56a318b2f0 Fix TTA display bug
If the TTA is 0 because the call was answered in less than a second (so that the answer_epoch and start_epoch are in the same second), it would not display the TTA at all. This is safe to include 0 because "unanswered" calls are going to have a TTA that is is the negative value of the start time, significantly lower than 0.
2021-02-20 11:51:24 -06:00
demonspork ef38b15cdc Add new missed call rules to HTTP CDR Imports
Add new missed call rules to HTTP CDR Imports. They had only been added to the xml_cdr class used by the file import.
2021-02-20 11:51:24 -06:00
demonspork 1a1edf1195 Improved Missed Call accuracy, cdr statistics, and hide duplicated CDRs from Enterprise Ring Groups
Changes
--------
  - Improve CDR Import Logic so that missed_call column is more accurate to the "missed" status. It would previously mark unanswered outbound calls as "missed". These are their own category of call.
  - Don't mark the CDRs of the "legs" of an Enterprise Ring Group call as missed, only the originating_leg will be marked (one missed call per call) - We could also just "skip" importing these call legs. Simultaneous ring groups don't have these duplicated CDRs for every ringing phone. The "Skip" approach might make most of the rest of this work irrelevant.
  - Create `originating_leg_uuid` column in v_xml_cdr and import it into the database during CDR imports so it is available for filtering Enterprise Ring Group calls out of CDRs and reports.
  - Move logic that hides the agent leg of CC calls, LOSE_RACE calls, and the Enterprise Leg hiding code from xml_cdr.php into xml_cdr_inc.php into the SQL query WHERE clause so the CDR page looks more consistent. The logic is the same, but these calls are now excluded from the query result entirely instead of having to "skip" rendering them in the list on the xml_cdr.php page.
  - Improved CDR statistics page to use the missed_call variable instead of relying upon billsec and answer_stamp/answer_epoch. Added the same logic as the xml_cdr pages to the query so it excludes enterprise ring group call legs.
  - Laid the query groundwork in xml_cdr_statistics to report on Average TTA (No UI changes yet to include that statistic)

Retroactive Changes
---------------------
There are a few changes going back in time to bring everything in line with this better reporting accuracy:
  - If you want the populated the `originating_leg_uuid column` in `v_xml_cdr`, it will rely upon having the `json` column and not having deleted the data from it like I know some people do for space saving.
  - If you don't have the json column,  you are mostly out of luck for hiding the duplicate legs of Enterprise ring group calls. It might be possible, but it isn't going to be easy.
  - On Newer Versions of postgres, this works:
```
UPDATE v_xml_cdr SET originating_leg_uuid = (json->'variables'->>'originating_leg_uuid')::uuid WHERE json->'variables'->>'originating_leg_uuid' IS NOT NULL;
```
  - For some reason on postgres 9.4, I had to UPDATE every single record because I couldn't get it to allow the json syntax properly after the WHERE. This is fine, it doesn't change the end result it just means it has to run the UPDATE on every record, which will take a while
```
UPDATE v_xml_cdr SET originating_leg_uuid = (json->'variables'->>'originating_leg_uuid')::uuid;
```
  - To remove the `missed_call = true` on all your previous outbound records so that they don't show up when you filter on missed (outbound unanswered calls can be accurately listed with TTA max 0 and direction outbound)
```
UPDATE v_xml_cdr SET missed_call = false WHERE direction = 'outbound' AND missed_call = true;
```
2021-02-20 11:51:24 -06:00
Len e7c55ccc1d
Duplicate variable yealink_ringtone_url and uuid
Duplicate variable yealink_ringtone_url and uuid 7af991ec-ddb9-4942-a05d-d1acc529fef5
2021-02-18 18:29:33 -05:00
FusionPBX 71b10db150
Merge pull request #5770 from konradSC/patch-90
Add Toll Allow to Call Broadcast
2021-02-17 14:01:49 -07:00
chansizzle 91719cc374
added pin lock vars 2021-02-17 13:14:49 -07:00
konradSC a55b9a6377
Add toll allow 2021-02-17 10:51:42 -05:00
konradSC e4212fa335
Add toll allow 2021-02-17 10:51:11 -05:00
konradSC 7ae966efc6
Add Toll Allow to Broadcast 2021-02-17 10:49:22 -05:00
demonspork 202bc7363e Fixed "Missed" link and exclude LOSE_RACE from CDR stats
Simple change to exclude lose_race and fix a URL change for the xml_cdr page.
2021-02-16 21:21:59 -06:00
Andrew Querol b92ed17f17
Fix app_config typo for recordings.
storage_type was never initialized as a setting in the database due to the y counter being reset to 0 after it. This was causing the storage_type setting to not show up in the UI.
2021-02-15 13:53:37 -06:00
FusionPBX 43735a93e9
Update the URL from type to import_type 2021-02-11 15:33:11 -07:00
FusionPBX b5f9db0bd2
Update the URL from type to import_type 2021-02-11 15:32:19 -07:00
agree 74c7f236ff
Follow me fix call recording 2021-02-11 12:59:34 -05:00
FusionPBX 449f6ab872
Remove the cdata seems to cause problems rather than help. 2021-02-11 03:35:16 -07:00
chansizzle 691dee7353
yealink cp920 firmware path 2021-02-10 14:43:34 -07:00
FusionPBX 2ca45d4cf2
Add elseif and improve indentation. 2021-02-10 12:38:18 -07:00
FusionPBX 0fbd90899a
Merge pull request #5760 from daniel-lucio/patch-183
More DB compatibility
2021-02-10 12:36:17 -07:00
FusionPBX 3b4cc55671
Move the extension settings button. 2021-02-10 00:42:08 -07:00
FusionPBX 5b83dc8ab5
Merge pull request #5761 from greenbea/patch-20
fix comparison operator
2021-02-09 16:53:42 -07:00
FusionPBX c3ee52596e
Change the permisison for the settings button. 2021-02-09 14:15:09 -07:00
FusionPBX 34f6d3e068
Add support for extension_settings. 2021-02-09 13:23:59 -07:00
markjcrane 682c632520 Add new extension_settings feature 2021-02-09 13:09:32 -07:00
agree ee1ca8a507
fix comparison operator 2021-02-09 14:18:21 -05:00
Luis Daniel Lucio Quiroz 52c70f6172
Update app_defaults.php 2021-02-09 14:14:53 -05:00
FusionPBX 38a9e1fae0
Add import button if the feature is installed. 2021-02-08 11:52:29 -07:00
FusionPBX af73671c32
Add import button if the feature is installed. 2021-02-08 11:51:48 -07:00
agree b7eef0e69e
Fix negative lookahead 2021-02-03 23:29:10 -05:00
FusionPBX f43910e328
Update ivr.conf.lua 2021-02-03 16:25:08 -07:00
agree c4dfb7ce59 IVR Menu fix menu options with same length as direct dial regex 2021-02-03 17:23:51 -05:00
agree 9ad77b64bd
Ring group fix missed call alert 2021-02-03 12:18:34 -05:00
agree a39a65d21e
ring group release database handle before bridge 2021-02-02 12:58:23 -05:00
FusionPBX 43e2bfc422
sip_h_Diversion on call-forward-all change default to true. 2021-02-01 22:11:15 -07:00
FusionPBX d4ee4c1991
Change from true to optional 2021-02-01 22:00:30 -07:00
FusionPBX 9b36f0015f
Merge pull request #5750 from greenbea/patch-14
Fix agent record selected
2021-02-01 19:54:58 -07:00
agree 1205e89796
dialplan xml fix cache delete when editing global dialplans 2021-01-31 16:08:29 -05:00
agree 50d2d49b9e
Fix agent record selected
`$agent_record` is a string not a Boolean
2021-01-30 22:40:26 -05:00
agree 5fda5d811f call center agent record 2021-01-29 13:56:04 -05:00
FusionPBX 456aa8dce4
Add outbound caller id name and number to follow me destinations. 2021-01-28 17:34:30 -07:00
FusionPBX 2ea3d8a62a
Add more escape functions to the click to call php file. 2021-01-27 22:25:04 -07:00
agree 8e7452e8c7
click to cal 2021-01-27 13:49:01 -05:00
FusionPBX 9213c71b71
Merge pull request #5704 from winsock/patch-1
Do not clobber caller ID names if no number is set
2021-01-26 22:55:39 -07:00
FusionPBX 6c50deee2c
Time condition exclude invalid presets with incorrect json syntax to make it more resilient. 2021-01-26 11:53:44 -07:00
FusionPBX 2e4d07b941
Merge pull request #5705 from emaktech/patch-2
Minor french language updates
2021-01-26 08:43:13 -07:00
FusionPBX 54457c8cc1
Merge pull request #5706 from emaktech/patch-3
Minor French update
2021-01-26 08:42:44 -07:00
FusionPBX d6d010e39b
Merge pull request #5708 from emaktech/patch-5
French language update
2021-01-26 08:42:03 -07:00
FusionPBX 524bf1e230
Merge pull request #5709 from emaktech/patch-6
French language update
2021-01-26 08:41:46 -07:00
FusionPBX 7954af8e6c
Merge pull request #5710 from emaktech/patch-7
French language update
2021-01-26 08:41:16 -07:00
FusionPBX cc322c7650
Merge pull request #5712 from emaktech/patch-9
French language update
2021-01-26 08:40:36 -07:00
FusionPBX 0bc3b4cf57
Merge pull request #5714 from emaktech/patch-11
French language update
2021-01-26 08:38:56 -07:00
FusionPBX 30eb6c942f
Merge pull request #5715 from emaktech/patch-12
Micro update to french language
2021-01-26 08:38:22 -07:00
FusionPBX 8638aa6251
Merge pull request #5728 from emaktech/patch-13
FR-CA update
2021-01-26 08:37:48 -07:00
FusionPBX 5ed3989b4e
Merge pull request #5736 from emaktech/patch-15
French Translation update
2021-01-26 08:36:46 -07:00
FusionPBX d883aafa21
Merge pull request #5737 from emaktech/patch-16
Update app_languages.php
2021-01-26 08:36:04 -07:00
FusionPBX e029ae2729
Merge pull request #5738 from emaktech/patch-17
Update app_menu.php
2021-01-26 08:35:36 -07:00
FusionPBX 92fe4753f0
Merge pull request #5739 from emaktech/patch-18
Update app_config.php
2021-01-26 08:35:07 -07:00
FusionPBX 37889ee6e7
Merge pull request #5740 from greenbea/patch-11
When there's a single app in the app log it's saved as an single object in the json not as an array of objects
2021-01-26 08:34:35 -07:00
fusionate 1b2dc75fa6 Call Center Queues - Delete: Unload deleted queue configurations. 2021-01-25 17:09:55 -07:00
fusionate 0c3aa93dc9 Call Center Agents - Delete: Fix bulk delete bug. 2021-01-25 12:30:42 -07:00
nemerald-voip 3e24d553d9
Update app_config.php 2021-01-25 10:47:59 -08:00
nemerald-voip 8f19861881
Additional Polycom config parameters 2021-01-25 10:01:42 -08:00
FusionPBX d10634d4b3
Add ability to import enabled attribute from the dialplan xml. 2021-01-25 10:12:29 -07:00
FusionPBX 515603db3b
Update 505_call-forward-all.xml
Use tab for indentation, use CDATA for the sip_h_Diversion header, and then add an attribute for enabled.
2021-01-25 10:08:16 -07:00
agree 08f5c1631c
Add missing variable 2021-01-23 23:53:36 -05:00
agree 9c9507e2e3
Fix xml_cdr_details fix application log
When there's a single app in the app log it's saved as an single object in the json not as an array of objects
2021-01-23 23:47:53 -05:00
fusionate 80c51cc2e2 Extension - Edit: Lookup extension on submit if extension_extension permission not assigned. 2021-01-22 12:12:29 -07:00
FusionPBX b78637ff81
Update 055_rtp_has_crypto.xml
Add more crypto options.
2021-01-22 10:24:50 -07:00
FusionPBX 04869c26f9
Update 055_rtp_has_crypto.xml 2021-01-20 20:29:18 -07:00
FusionPBX f473772850
Update 055_rtp_has_crypto.xml 2021-01-20 20:23:51 -07:00
FusionPBX 0a2187a610
Rename 050_rtp_has_crypto.xml to 055_rtp_has_crypto.xml 2021-01-20 20:20:26 -07:00
FusionPBX 11f28f09a5
Create 050_rtp_has_crypto.xml 2021-01-20 20:20:02 -07:00
emaktech 37638eafac
Update app_config.php
fr-ca update
2021-01-20 17:50:04 -05:00
emaktech db16e36fb0
Update app_menu.php
fr-ca update
2021-01-20 17:47:46 -05:00
emaktech c02f401612
Update app_languages.php
fr-ca update
2021-01-20 17:46:05 -05:00
fusionate da79aa0fb1 Devices, Device Profiles - Search: Scope enhancements. 2021-01-20 11:06:34 -07:00
FusionPBX 322bbd4c20
Use column names in the SQL Query. 2021-01-20 10:46:00 -07:00
FusionPBX 03866355f6
Change dialplan_detail_enabled to boolean. 2021-01-20 10:45:08 -07:00
emaktech ddda85bbf1
Update app_languages.php
French Translation update
2021-01-20 12:20:38 -05:00
FusionPBX 7d3e754812
Set the dialplan_detail_enabled default value to true. 2021-01-19 22:18:40 -07:00
FusionPBX 1ddf5bbf41
Check if dialplan_detail_enabled is true or if null consider the value as true and add line feeds to improve readability of the SQL statement. 2021-01-19 18:59:09 -07:00
FusionPBX e64c70ff9d
Add ability to use the dialplan_detail_enabled field. 2021-01-19 18:56:51 -07:00
FusionPBX fb45bfb3fa
Add dialplan_detail_enabled to the app_config.php file. 2021-01-19 18:55:32 -07:00
agree c21961922a
Add extension_extension permission 2021-01-18 23:39:49 -05:00
agree 4037331e4b
Extension add permission for extension field 2021-01-18 23:38:08 -05:00
FusionPBX 3f2332c0e2
Merge pull request #5729 from greenbea/patch-4
Destinations add accountcode permission
2021-01-18 18:50:49 -07:00
fusionate e92ebd8302 Device Profiles - Search: Include some Key and Setting fields. 2021-01-18 16:37:42 -07:00
fusionate 8107694dd3 Devices - Search: Include some Line, Key and Setting fields. 2021-01-18 16:22:18 -07:00
agree 71a468113a
add destination_accountcode permission 2021-01-18 17:12:13 -05:00
agree a1baa68230
Destinations add accountcode permission 2021-01-18 17:08:12 -05:00
emaktech af78f9fc97
Update app_languages.php
FR-CA update
2021-01-18 16:43:55 -05:00
fusionate 2fcabefc49 Voicemail: Remove unused permission. 2021-01-18 11:27:06 -07:00
FusionPBX 246ffb3e12
Add a permission check for xml_cdr_export_csv and xml_cdr_export_pdf to the CDR export. 2021-01-18 00:00:18 -07:00
FusionPBX 1b2812976d
Add xml_cdr_export_csv and xml_cdr_export_pdf permissions to app_config.php. 2021-01-17 23:56:45 -07:00
FusionPBX 9788b7b99f
Add xml_cdr_export_csv and xml_cdr_export_pdf permission checks. 2021-01-17 23:55:23 -07:00
konradSC 5efca5afa7
Bug Fix: No beep when bypassing the greeting
We found that callers were not hearing the tone_stream if they pressed "#" to bypass the voicemail greeting. Inserting a very brief silence_stream seems to fix the issue.
2021-01-15 08:31:21 -05:00
FusionPBX 2157f69e51
Merge pull request #5718 from demonspork/patch-1
Destination Emergency Checkbox Spacing Fix
2021-01-14 20:00:51 -07:00
FusionPBX c0f8ee965e
Merge pull request #5720 from greenbea/patch-4
CDR add permision to hide call center agent legs
2021-01-14 10:17:43 -07:00
Andrew Querol 124f32d989
Remove footer from call center dashboard widget.
This should not have been in here, causes the footer to display outside of the bounds of where it should be.
2021-01-14 10:11:11 -06:00
agree 5778f71663
Update app_config.php 2021-01-13 13:13:11 -05:00
agree 33b206c6a7
Update xml_cdr.php 2021-01-13 13:12:23 -05:00
Greenbea 3a01537487 CDR add permision to hide call center agent legs
Author:    agree <ahrongreenberg@gmail.com>
2021-01-12 16:55:27 -05:00
demonspork 8fb5ffb553
Destination Emergency Checkbox Spacing Fix
Add a missing non-breaking space to fix the positioning of the checkbox.
2021-01-11 10:24:30 -06:00
emaktech fa742ba7ff
Update app_languages.php
Micro update to french language
2021-01-06 16:25:06 -05:00
emaktech d61388b3ee
Update app_languages.php
French language update
2021-01-06 16:20:26 -05:00
emaktech 056e19ce8f
Update app_languages.php
French language update
2021-01-06 16:16:33 -05:00
emaktech 72b273058e
Update app_languages.php
Minuscule French language update
2021-01-06 16:04:03 -05:00
emaktech 731c969d4a
Update app_languages.php
super minor french language edit
2021-01-06 16:02:31 -05:00
emaktech 9eb0e56448
Update app_languages.php
extremely minor french language edit
2021-01-06 15:59:47 -05:00
emaktech 4a31badbba
Update app_languages.php
Minor French update
2021-01-06 15:35:20 -05:00
emaktech a894aa1aa7
Update app_languages.php
Minor french language updates
2021-01-06 15:31:51 -05:00
Andrew Querol ead9afad70
Do not clobber caller ID names
By default custom caller ID names will get clobbered by this diaplan if no number is set. This is potentially problematic if you just want a custom caller ID name set for multiple extensions using the default caller ID number.
2021-01-06 13:27:08 -06:00
demonspork 9cf580c512 Allow Setting Default transcription state
When creating a new extension/voicemail box it can have a global/domain default setting for whether to enable transcription.
`transcription_enabled_default` default setting that determines what status transcription should be for all new extensions/voicemails.
2021-01-06 13:16:19 -06:00
fusionate 60151739be Time Conditions: Minor adjustment. 2021-01-04 18:09:07 -07:00
fusionate 7f08b92631 Time Conditions: Bug fixes. 2021-01-04 17:41:33 -07:00
FusionPBX 597955da06
Add a feature for global call block. 2021-01-01 23:20:17 -07:00
FusionPBX d25f1d393e
Update call_block.php
Call Block changes.
- Add a new permission call_block_domain this is assigned to the superadmin group by default.
- Add a domain select list for those that have the call_block_domain permission.
- Add a show all button to Call Block.
2021-01-01 22:02:38 -07:00
FusionPBX fc16442b3f
Merge pull request #5693 from winsock/calls_toggle_improvments
Remove the toggle dropdown in favor of three separate toggle buttons
2020-12-29 10:38:04 -07:00
Luis Daniel Lucio Quiroz de021ec34c
Hide things that non-admin users shouldnt edit 2020-12-29 00:24:03 -05:00
Luis Daniel Lucio Quiroz bb868a2a8b
Update app_config.php 2020-12-29 00:15:22 -05:00
Andrew Querol 492cbbde14 Re-add permission check per button toggle button. 2020-12-28 22:17:05 -06:00
Andrew Querol d7c7f4f1a5 Do not collapse toggle buttons so they do not loose meaning on small screens/mobile devices. 2020-12-28 21:53:04 -06:00
Andrew Querol 4807e0b570 Remove the toggle dropdown in favor of three separate toggle buttons 2020-12-28 21:32:19 -06:00
FusionPBX cd8a3336b2
Merge pull request #5692 from winsock/panel_status
Fix changing user status via the operator panel
2020-12-28 18:53:31 -07:00
Andrew Querol 88be4e0094 Fix user status setting. 2020-12-28 19:45:05 -06:00
FusionPBX 4cad037cbe
Update app_config.php 2020-12-28 17:05:50 -07:00
chansizzle 53de0031a8
order preset holidays 2020-12-28 17:00:38 -07:00
fusionate e8e67a6af7 CDR: Verify is array before checking size. 2020-12-28 14:23:00 -07:00
FusionPBX dadea8d4c6
Merge pull request #5672 from demonspork/Destination-Emergency
Add Support for Validated Emergency Destinations/Caller ID
2020-12-24 10:31:44 -07:00
emaktech cc5eba5699
Revert "Order by start_epoch to Speed Up Query Execution" 2020-12-23 23:52:15 -05:00
chansizzle 1cd6082981
added new years eve and christmas eve 2020-12-23 17:37:39 -07:00
FusionPBX 37350b4fa7
Merge pull request #5682 from greenbea/patch-1
Time condition add missing extension field  from destination select q…
2020-12-22 10:46:15 -07:00
agree 53e48a5262
Call center: add missing queue_name field from destination select sql query 2020-12-21 18:01:44 -05:00
agree 7d7ba7dee1
Time condition add missing extension field from destination select query 2020-12-21 17:44:46 -05:00
FusionPBX 2931445c91
Get the domain_name with a different approach to fix global inbound routes. 2020-12-21 15:35:59 -07:00
fusionate 54f22dcce5 Test Commit - Ignore 2020-12-21 13:07:04 -07:00
fusionate 9029a851d4 Test Commit - Ignore 2020-12-21 12:58:53 -07:00
fusionate 7ddcbbca39 Test Commit - Ignore 2020-12-21 12:04:43 -07:00
fusionate 88e1285b8b Test Commit - Ignore 2020-12-21 11:35:09 -07:00
fusionate 7d2d05a332 Test Commit - Ignore 2020-12-21 11:31:52 -07:00
fusionate 0a6ab715af Test Commit - Ignore 2020-12-21 11:16:52 -07:00
FusionPBX fa835103e3
Use isset instead of strlen. 2020-12-21 11:13:55 -07:00
fusionate 062c9f4c87 Test Commit - Ignore 2020-12-21 11:02:36 -07:00
FusionPBX 64822a388c
Missing message_status to listen to the recording again.
Missing message_status to listen to the recording again causes to error out and return to the main menu without it.
2020-12-17 09:00:02 -07:00
FusionPBX c0f483ed06
CDR Import fix missing sql parameter 2020-12-16 09:35:01 -07:00
S.Mohammad Emami Razavi f531631ddb
Update exec.lua 2020-12-16 18:23:52 +03:30
agree 60ed198a2e
CDR Import fix missing sql parameter 2020-12-15 12:42:47 -05:00
FusionPBX 74a55f3de2
[4.5] Fix Wrong CIDR 2020-12-14 18:11:09 -07:00
FusionPBX ed33c09b16
Merge pull request #5620 from greenbea/patch-22
Follow me set accountcode for external destinations
2020-12-14 18:09:22 -07:00
FusionPBX c60f2e492f
After importing the dialplans generate the dialplan xml. 2020-12-14 18:00:04 -07:00
FusionPBX dc8f9146ba
Update the array name so that is_array evaluates to true. 2020-12-14 17:31:41 -07:00
fusionate 131d96b60c Follow Me: Fix issue with Destinations not displaying correctly. 2020-12-14 13:21:05 -07:00
Luis Daniel Lucio Quiroz 5eb3eaa529
Update extension_edit.php 2020-12-13 20:18:02 -05:00
demonspork c3704c6172 Add Support for Validated Emergency Destinations/Caller ID
This adds emergency_caller_id_select permissions. and an "Emergency" checkbox to destinations. When emergency_caller_id_select permssion is added, the "Emergency Caller ID number" and name become a dropdown in the Extension and only show Destinations that have the "Emergency" checkbox selected to indicate they are valid for emergency calls.
2020-12-11 18:24:14 -06:00
fusionate e9a6449b07 Time Conditions: Fix dynamic Destination Other > Hangup option. 2020-12-11 16:36:51 -07:00
Zion Dials 53e1440e1d
Update listen_to_recording.lua
Missing message_status to listen to the recording again causes to error out and return to the main menu without it.
2020-12-11 08:55:42 -05:00
FusionPBX c314f4352a
Minor change add a little better description. 2020-12-10 20:20:51 -07:00
FusionPBX d5016a107b
Delete xml_cdr_import_update.php 2020-12-10 20:19:54 -07:00
FusionPBX 53cbf8c9b4
Fix a situation where call recording was not showing up in Call Detail Records.
Make sure the record_path is set to the default path if that value doesn't exist in the xml.
2020-12-10 20:03:53 -07:00
fusionate 1687ebb3ae Destinations: Correct permission. 2020-12-10 16:58:50 -07:00
agree 6504fbb6b0
Follow me set accountcode of the for external destinations
Accountcode of the called extension should be set for follow me
2020-12-10 13:40:11 -05:00
FusionPBX 7fe118daed
Merge pull request #5615 from emaktech/patch-65
Order by start_epoch to Speed Up Query Execution
2020-12-09 20:06:49 -07:00
FusionPBX 059f1c48a6
Merge pull request #5618 from SeyedGH/patch-1
Update gateways.php
2020-12-09 20:06:06 -07:00
FusionPBX 0ee8ff2234
Merge pull request #5617 from chansizzle/patch-324
Update app_config.php
2020-12-09 20:03:42 -07:00
FusionPBX edb9a6e269
Restrict Call Center greeting to applications to playback, say, tone_stream, and phrase. 2020-12-09 20:00:39 -07:00
FusionPBX d7dd1a9b1d
Call Center greeting improve support for say and tone_stream. 2020-12-09 19:42:16 -07:00
FusionPBX 842bcd93ee
Remove domain_uuid from the array that is saved.
The domain_uuid should not be modified from this page so it has been removed.
2020-12-09 12:24:39 -07:00
FusionPBX d0be8bf379
Fix recording icon so that it would indicate the call being recorded. 2020-12-09 10:42:21 -07:00
SeyedGH 0a33d7a90b
Update gateways.php
Foreach has a typo -> must be =>
2020-12-09 17:18:17 +01:00
chansizzle 23b2148649
Update app_config.php
dhcp options
2020-12-08 16:07:53 -07:00
fusionate 5c8201ec0d Time Conditions: Resolve issue with dynamic Destination select not loading for Presets. 2020-12-08 14:29:32 -07:00
fusionate 87c2e80542 Call Recording: Allow recording of certain feature codes. 2020-12-08 11:10:50 -07:00
emaktech c97d9e7022
Order by start_epoch to Speed Up Query Execution
In some cases, this seems to speed up xml_cdr loading times by ~10x.

It appears one big cause of this is the final ORDER_BY statements are very slow in PostgreSQL for timestamp fields. Ordering by start_epoch field improves query execution time in a dramatic way and should result in the same ordering.
2020-12-07 15:56:26 -05:00
fusionate 46b2f00826 Dialplan Manager: Adjust toggle method to support multiple domains if used on show all. 2020-12-04 12:53:51 -07:00
demonspork 5a39dbf68e Prevent Users without permission from clobbering ring_group_caller_id_name and number
Bring the ring_group_caller_id_name and number fields and permissions in line with the prefix permissions so that users without permission don't overwrite those those fields by hitting save.
2020-12-02 20:00:55 -06:00
fusionate da069651f4 CDR: Grant xml_cdr_domain permission to admin group by default. 2020-12-02 13:37:49 -07:00
FusionPBX 6f2365fe24
Update call_center_agent_edit.php 2020-12-02 12:30:02 -07:00
fusionate 0dc478ac00 Fax Server: Add ability to authorize domains for Email-to-Fax. 2020-12-02 12:20:10 -07:00
FusionPBX ae3ade1714
Add new setting agent_contact_method 2020-12-02 12:11:56 -07:00
FusionPBX e05de35122
Remove loopback for call center agent contact. 2020-12-02 11:54:07 -07:00
FusionPBX 38207d146f
Update the polycom_display_language description. 2020-12-01 12:56:16 -07:00
FusionPBX daeb353527
Change the default of polycom_display_language as a null value is English 2020-12-01 12:53:08 -07:00
FusionPBX f5faabf795
Add a new provision variable polycom_display_language default to enabled false. 2020-12-01 12:47:59 -07:00
FusionPBX f71d7f4d43
Update ivr_menu_copy.php 2020-12-01 12:25:25 -07:00
FusionPBX 77043d3961
Use ivr_menu_language, ivr_menu_dialect, ivr_menu_voice 2020-12-01 12:16:42 -07:00
FusionPBX af40fe0a62
Add new fields ivr_menu_dialect and ivr_menu_voice. 2020-12-01 12:13:34 -07:00
FusionPBX 485ebced6a
Use the ivr_menu_language to update the language dialect and voice. 2020-12-01 12:12:29 -07:00
fusionate c13c5182ac Destination Select - Dynamic: Clear session array for Outbound Destinations. 2020-11-30 15:53:44 -07:00
fusionate 229bc0ca4e Extensions - Delete: Restore concurrent deletion of voicemail box. 2020-11-30 14:17:30 -07:00
fusionate c67c8cd4c2 Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
FusionPBX 8b19f03ced
Merge pull request #5606 from winsock/valet_park_blf
Fix the valet auto-in parking dialplan to allow BLF presence monitoring.
2020-11-28 10:51:09 -07:00
FusionPBX 278019e4fe
Merge pull request #5607 from winsock/grandstream_dialplan
Allow park+x in the Grandstream Dialplan
2020-11-28 10:48:48 -07:00
fusionate 72e6368044 IVR Menu: Change spaces to tabs in last commit. 2020-11-27 16:33:05 -07:00
fusionate 6128269328 IVR Menu: Fix issue with CID Name Prefix missing. 2020-11-27 16:31:34 -07:00
FusionPBX 2f7f492039
Merge pull request #5608 from greenbea/patch-19
IVR menu fix Caller ID name prefix
2020-11-25 19:03:48 -07:00
FusionPBX 3ed49f00d9
Add new default settings yealink_firmware_t53w, yealink_firmware_t54s, and yealink_firmware_t54w. 2020-11-25 18:59:05 -07:00
FusionPBX deadafd01e
Add default setting yealink_firmware_t57w 2020-11-25 18:23:16 -07:00
FusionPBX 62887136b1
Add permissions ivr_menus_sub_destinations, ivr_menus_other_destinations and fix related features. 2020-11-23 09:41:35 -07:00
FusionPBX e8790a8314
Remove trailing white space. 2020-11-23 09:36:04 -07:00
FusionPBX 6be0a340f2
Improve the destination select list other category. 2020-11-23 09:32:02 -07:00
FusionPBX 7370d5cd45
Add other_destinations permission. 2020-11-23 08:52:29 -07:00
agree a7712a7582
IVR menu fix Caller ID name prefix 2020-11-22 15:23:03 -05:00
Andrew Querol f1349fac12 Allow both park+x and park+*x prefixes in the Grandstream dialplan.
See #5606 for context
2020-11-20 19:17:43 -06:00
Andrew Querol ef91055b5c Fix the names of the parking lot dialplan with the auto-in support.
This now matches the normal default valet_park dialplan with naming the lots with * prefixed.
2020-11-20 18:55:01 -06:00
FusionPBX 8be1550689
Merge pull request #5596 from demonspork/yealink-local-directory
Yealink Local Directory - Enable Local Directory. Disabled by default to preserve existing behavior (variable unset in configuration file)
2020-11-20 11:36:10 -07:00
demonspork 15894f4e17 Fixed Issue with extension limits preventing Extension Search
Extension searches would fail if an extension limit was set. This is because the unset($parameters) that was used at the end of the query that counts the extensions is also unsetting the "search" parameter that was set previously. I moved the //get total extension count for domain query to happen before the search parameter is added to fix it.
2020-11-19 17:18:51 -06:00
FusionPBX 6fd52ec721
Add select_mode 2020-11-19 09:54:32 -07:00
FusionPBX cb14ed7a77
Create resources/destinations.php 2020-11-19 09:48:38 -07:00
FusionPBX a1ac4cb1b9
Create root.php 2020-11-19 09:47:09 -07:00
FusionPBX 43f162e815
Add new destinations select_mode 2020-11-19 09:46:05 -07:00
fusionate 4b57b2b7f4 Dialplans: Include Outbound Routes in Dialplans list 2020-11-18 16:24:44 -07:00
fusionate f2a9e5e494 Call Block: Set existing with no direction as 'inbound' blocks. 2020-11-18 14:30:14 -07:00
demonspork 99e2060a50 Yealink Local Directory
Enable Local Directory. Disabled by default to preserve existing behavior (variable unset in configuration file)
2020-11-18 12:51:11 -06:00
agree 0857b79ddb
Fix accountcode when using loopback 2020-11-18 13:05:31 -05:00
FusionPBX a87a9b4311
Update app_config.php 2020-11-18 08:40:28 -07:00
FusionPBX f013aa5059
Merge branch 'master' into gxp_feature_key_sync 2020-11-18 08:39:14 -07:00
FusionPBX 3a71d0c02b
Merge pull request #5554 from greenbea/patch-14
Prevent users from overriding user_context
2020-11-18 08:28:59 -07:00
FusionPBX d660e381d7
Merge pull request #5586 from winsock/device_line_add_defaults
Ensure new lines respect proxy and address default settings.
2020-11-18 08:26:01 -07:00
phoneben c76892a5b3
Update conference_centers.php 2020-11-18 16:51:18 +02:00
phoneben bdd42af87b
Update conference_centers.php
0-11-17 20:00:36.267 UTC [6385] fusionpbx@fusionpbx ERROR:  syntax error at or near "v_meeting_users" at character 63
2020-11-17 20:00:36.267 UTC [6385] fusionpbx@fusionpbx STATEMENT:  select count(*) from v_conference_rooms as r, v_meetings as p v_meeting_users as u, where r.domain_uuid = $1 and r.meeting_uuid = p.meeting_uuid and r.meeting_uuid = u.meeting_uuid and u.user_uuid = $2

missing a comma
2020-11-18 16:04:09 +02:00
Andrew Querol cfc44b4d59 Ensure we setup sip proxies even if the user doesn't have permission to customize them when adding.
Also ensures the primary and secondary server address are set to defaults if the permission does not exist.
2020-11-17 21:40:49 -06:00
FusionPBX 9af41fab4f
Merge pull request #5547 from demonspork/GXP17xx-template-fixes
GXP17xx Template Improvements
2020-11-17 20:16:03 -07:00
FusionPBX 3696269c39
Merge pull request #5560 from winsock/grandstream-xml
Grandstream GXV3370 Template Improvements
2020-11-17 20:11:55 -07:00
FusionPBX 5ce78d835a
Merge pull request #5582 from junction1153/patch-6
Updated code for v1p1beta1 API utilization
2020-11-17 18:56:02 -07:00
FusionPBX 815ff63296
Merge pull request #5587 from junction1153/patch-7
Add new_messages variable in VM Email template
2020-11-17 18:54:18 -07:00
FusionPBX 7a9b6f91d8
Merge pull request #5588 from emaktech/patch-64
Optimize Fax Conversion Quality
2020-11-17 18:43:37 -07:00
FusionPBX 62929a36f5
Merge pull request #5583 from Andy-Seattle/patch-6
Update send_email.lua to choose correct email template
2020-11-17 18:37:26 -07:00
FusionPBX 6c55f4d88d
Merge pull request #5589 from greenbea/update_grandstream_dialplan
Grandstream update dialplan to support extension intercept **[ext]
2020-11-17 18:25:14 -07:00
fusionate 832b3fae22 Call Block: Outbound call support. 2020-11-17 17:39:49 -07:00
Greenbea fae6343173 Grandstream update dialplan to support extension intercept **[ext] 2020-11-17 16:57:48 -05:00
emaktech 5d3b2d3226
Optimize Fax Conversion Quality
Added additional command line switches to the Ghostscript command which greatly improves the output quality and legibility of converted faxes.

Now using a simple threshold method - 75% threshold to determine if a pixel will be black or white.
Dithering is turned off completely.
Also switched to newer tiffg4 compression method.
2020-11-17 16:00:23 -05:00
Joseph d58c26a389
Add new_messages variable in VM Email template
Ability to use ${new_messages} as a variable in the subject for voicemail to email template. Specifically useful for users who are migrating from asterisk and freepbx
2020-11-17 09:32:37 -05:00
Andy-Seattle 6c8a4ec135
Update send_email.lua
To handle scenarios where transcribe_enabled is true BUT voicemail_transcription_enabled is not true for specific voicemail boxes. Need to be able to switch between the email templates.
2020-11-16 20:12:45 -08:00
fusionate aa87250196 Call Recording: Ignore feature-code calls. 2020-11-16 17:26:12 -07:00
FusionPBX 708ae63440
Minor change use is_array before count this prevents a PHP Warninng. 2020-11-16 15:42:27 -07:00
fusionate f48d0ade4a Transactions: Add filter by username. 2020-11-16 15:06:10 -07:00
FusionPBX ebcccb9e9d
Fix the distinct syntax issue by removing extension_uuid. 2020-11-16 13:00:01 -07:00
fusionate 6e25a4a7bf Destinations: Apply destinations > unique default setting. 2020-11-16 12:52:14 -07:00
FusionPBX dd15534541
Add a destination unique boolean setting. 2020-11-16 12:43:31 -07:00
Joseph cf2a7d200b
Updated code for v1p1beta1 API utilization
Advanced --> Default Settings --> Voicemail.
Add: Category: voicemail
Subcategory: transcribe_provider
Type: text
Value: google
Enabled: true

Add: Category: voicemail
Subcategory: transcribe_enabled
Type: boolean
Value: true
Enabled: true

Add: Category: voicemail
Subcategory: json_enabled
Type: boolean
Value: true
Enabled: true

Add: Category: voicemail
Subcategory: transcribe_enabled
Type: boolean
Value: true
Enabled: true

Add: Category: voicemail
Subcategory: json_enabled
Type: boolean
Value: true
Enabled: true

Add: Category: voicemail
Subcategory: google_key
Type: text
Value: INSERT YOUR API KEY HERE
Enabled: true

Add: Category: voicemail
Subcategory: google_url
Type: text
Value: https://speech.googleapis.com/v1p1beta1/speech
Enabled: true
2020-11-15 01:03:58 -05:00
FusionPBX bd5036d220
Merge pull request #5570 from greenbea/gateway_ping_params
Add gateway ping-min/max params
2020-11-12 00:03:25 -07:00
FusionPBX 4d183c1ffa
Update destinations.php
Fix a PHP warning.
2020-11-11 09:34:42 -07:00
Greenbea 3f426baf62 Add gateway ping-min/max params 2020-11-11 01:15:46 -05:00
FusionPBX e5cf6bde51
Update mwi_notify.lua
Add 0 as default values for new and saved messages.
2020-11-09 22:03:33 -07:00
FusionPBX f5b4a54403
Create mwi_notify.lua
Add new mwi_notify.lua script.
2020-11-09 21:41:29 -07:00
FusionPBX b494732eb7
Update mwi_notify.lua
Add debug information.
2020-11-09 21:38:04 -07:00
FusionPBX cfe259d868
Update send_mail.lua
Change header from X-FusionPBX-Email-Call-UUID to the correct value of X-FusionPBX-Call-UUID
2020-11-07 19:21:19 -07:00
fusionate 4f29228768 Fax Server: Better compatibility with current libtiff-tools. 2020-11-05 16:08:27 -07:00
FusionPBX 5fa52feefe
Merge pull request #5557 from greenbea/patch-16
Fix cache delete for global dialplans
2020-11-05 16:02:30 -07:00
agree 9708c482fe
Update dialplan_edit.php 2020-11-05 17:56:17 -05:00
Andrew Querol c959b8cd10 Add in the new default settings and enable WiFi management. 2020-11-05 12:02:33 -06:00
Greenbea 6770d15b3c Fix cache delete for global dialplans 2020-11-05 11:29:41 -05:00
Andrew Querol cdab2a752c Fix the whitespace inconsistency 2020-11-05 09:43:51 -06:00
FusionPBX c13b1426bb
Update destinations.php
Prevent a plugin from breaking parts of the project.
2020-11-04 10:46:58 -07:00
agree 139461cf2e
Update extension_edit.php 2020-11-03 16:31:40 -05:00
agree 328d79e95d
Prevent users from overriding user_context 2020-11-03 16:17:58 -05:00
Nate 5f2dddfc60 Email Templates: Integrate Ace Editor. 2020-11-02 15:58:58 -07:00
FusionPBX 991fffa4ed
Update index.lua
Add call_block_country_code and handle e.164 automatically when the country code has been provided.
2020-11-02 11:10:45 -07:00
Nate f748a754ad Call Block: UI Adjustments for Country Code. 2020-11-02 10:55:31 -07:00
FusionPBX 8528f38c51
Update dialplan_outbound_add.php
Use a parameterized query for the domain_uuid.
2020-10-28 22:02:54 -06:00
Darren Williams caacf5b82c
Update dialplan_outbound_add.php
Make the gateway select order the gateways with the current domain first
2020-10-28 18:55:26 +00:00