Commit Graph

17615 Commits

Author SHA1 Message Date
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
FusionPBX
46d13689fc Fix a duplicaiton problem when editing and saving extension settings. 2021-03-04 13:41:27 -07:00
FusionPBX
3c10002d01 Merge pull request #5787 from Len-PGH/patch-187
Remove duplicate fanvil default settings.
2021-02-28 19:24:25 -07: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
FusionPBX
a7518e52e7 Change the input type from text description into a textarea. 2021-02-26 10:23:28 -07:00
FusionPBX
05e151822a Change the input text type description into a textarea so the description shows in a more convenient container. 2021-02-26 10:17:16 -07:00
FusionPBX
f054319197 Merge pull request #5784 from demonspork/grandstream-headsets
Grandstream: Plantronics EHS and additional non-clobbering of settings
2021-02-25 17:36:43 -07:00
FusionPBX
edbaf32018 Merge pull request #5785 from demonspork/grandstream-nway-conference
Grandstream template nway conference support
2021-02-25 17:34:51 -07:00
demonspork
1d9694a671 Grandstream template nway conference support
Support enabling nway conference with Grandstream phones if nway_conference is set to true. If it is not true, it sets the conference URI back to blank to restore local conference
2021-02-25 17:10:49 -06: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
094188fd76 Minor version change from 4.5.21 to 4.5.22. 2021-02-25 10:16:23 -07: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
FusionPBX
9c82526021 Merge pull request #5782 from greenbea/patch-22
fix unassigned group permission
2021-02-23 19:21:04 -07:00
agree
15e2dcd0d2 fix unassigned group permission 2021-02-23 21:14:13 -05:00
FusionPBX
313704745a Merge pull request #5780 from chansizzle/patch-398
y000000000000.cfg renamed y000000000073.cfg
2021-02-22 15:28:24 -07:00
FusionPBX
f40c77f6a1 Merge pull request #5781 from chansizzle/patch-399
Rename y000000000000.cfg to y000000000073.cfg
2021-02-22 14:13:37 -07:00
chansizzle
bc39596fd9 Rename y000000000000.cfg to y000000000073.cfg 2021-02-22 12:51:27 -07:00
chansizzle
c0634e5b40 y000000000000.cfg renamed y000000000073.cfg 2021-02-22 12:50:27 -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
FusionPBX
4e17dc4f85 Advanced -> Domains add Manage link as an option to switch domains.
This used to be there and some people miss it so adding it back again.
2021-02-20 17:02:31 -07: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
FusionPBX
c7e981dd20 Merge pull request #5774 from chansizzle/patch-397
y000000000000.cfg renamed y000000000078.cfg
2021-02-18 21:05:03 -07:00
FusionPBX
db3dbf69fb Merge pull request #5773 from chansizzle/patch-396
Rename y000000000000.cfg to y000000000078.cfg
2021-02-18 21:04:49 -07:00
FusionPBX
3399a58ef4 Merge pull request #5777 from Len-PGH/patch-186
Duplicate variable yealink_ringtone_url and uuid
2021-02-18 21:04:29 -07:00
FusionPBX
13d97d67e2 Added http.cfg.enabled and httpd.cfg.port. 2021-02-18 17:00:07 -07: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
chansizzle
f4948f6886 y000000000000.cfg renamed y000000000078.cfg 2021-02-18 13:35:05 -07:00
chansizzle
39c6b4a3f0 Rename y000000000000.cfg to y000000000078.cfg 2021-02-18 13:34:01 -07:00
FusionPBX
8e92ad53d2 Chang the tls-verify-date so that it defaults to false. 2021-02-17 22:12:42 -07:00