fusionate
9227344748
xml_cdr [Class]: Update for PHP 8.1
2023-05-23 20:20:40 +00:00
FusionPBX
62b95fa690
Handle call center variables with a value of _undef_
2023-05-18 23:41:21 -06:00
markjcrane
cf580e6c8c
Move failed call detail records to a failed directory
2023-05-18 17:44:36 -06:00
FusionPBX
eccae62149
Replace is_array with !empty
2023-05-10 22:25:10 -06:00
FusionPBX
020b1414aa
Use empty instead of is_array
2023-05-10 22:22:21 -06:00
fusionate
80ce576ea5
Dashboard - Missed Calls: Updates for PHP 8.1
2023-05-10 22:34:27 +00:00
fusionate
c391faccfc
Dashboard - Recent Calls: Updates for PHP 8.1
2023-05-10 22:32:44 +00:00
frytimo
fef8165be2
Frytimo pr patches for php8.1 ( #6630 )
...
* Passing null to parameter #2 ($string) of type string is deprecated
* Passing null to parameter #1 ($string) of type string is deprecated
* php 8.1 fixes
* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - strlower with null
* php 8.1 fixes - strreplace with null
* php 8.1 fixes - passing null to base64_decode
* php 8.1 fixes - check for false and check for null on $this->dir
* php 8.1 fixes - remove assignment of $db variable to modules object
* php 8.1 fixes - avoid sending null to substr
* php 8.1 fixes - change ${var} to {$var}
* php 8.1 fixes - check for null before preg_replace
* php 8.1 fixes - remove setting db variable on domains object
* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null
* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available
* php 8.1 fixes
* php 8.1 fixes - correct $_POST checking syntax
* php 8.1 fixes - correct $_POST variables
* php 8.1 fixes
* Use brackets consistently
* Update user_setting_edit.php
* Change to not empty
* Update device.php
* Update text.php
---------
Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
frytimo
69bd42af05
remove unneeded destruct methods as GC has higher performance ( #6631 )
...
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
Finn
54be67935b
Improve error handling when a recording download fails ( #6592 )
2023-03-29 17:46:51 -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
fusionate
f6b065085b
Dashboard - Missed & Recent Calls: Fix minor inconsistencies.
2023-02-23 14:50:16 +00:00
FusionPBX
67bfd31765
Fix syntax problem
2023-02-21 19:44:41 -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
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
d04b6db96a
Dashboard: Call Forward widget, Edit position without reload, misc adjustments.
2023-01-31 00:19:09 +00: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
b35aafc391
Dashboard: Click chart to expand/contract details.
2023-01-28 01:52:13 +00:00
demonspork
a3811128af
Support upcoming change in freeswitch - bridge_uuid changes to bridge_uuids array ( #6531 )
2023-01-27 10:18:35 -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
bccc736fea
Update xml_cdr.php
2022-12-05 17:52:36 -07:00
FusionPBX
0f60b2b34d
Add record_length numeric
...
And remove call_recordings save
2022-12-03 18:36:42 -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
markjcrane
d50bcb476a
Replace root.php
2022-10-10 16:35:14 -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
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
f94bad1730
[xml_cdr] more caller id handling ( #6452 )
2022-08-16 00:00:43 -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
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
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
3418859ee9
Update xml_cdr.php
2022-08-04 15:37:12 -06:00
FusionPBX
7a6c44267a
Check for missed_call variable use it if it exists
2022-08-04 12:50:29 -06:00
FusionPBX
7f6b1472e6
Add conference recording to CDR page.
...
Tested and works with regular dialplan conference.
2022-06-09 11:04:07 -06:00
FusionPBX
9e77266299
Re-add permission check for xml_cdr_lose_race and xml_cdr_enterprise_leg.
2022-05-05 10:55:52 -06:00
emak
2050d98e3e
Update XML CDR Extension Summary Queries #5979 ( #6365 )
...
* Change labels to reflect new CC missed field
* Update extension summary queries
* Hide number alias field
2022-05-05 10:43:44 -06:00
FusionPBX
a16c109c96
Missed Calls exclude LOSE_RACE
2022-04-07 09:59:29 -06:00
FusionPBX
3336e1420a
If caller_destination is not set use dialed_user
2022-03-15 14:50:28 -06:00
FusionPBX
af994de554
Set caller_id_number using sip_from_user if the variable is not set.
2022-03-15 14:43:55 -06:00
FusionPBX
76a4e9dd50
Work on caller_destination, caller_id_name and caller_id_number.
2022-03-15 14:33:44 -06:00
FusionPBX
fac8ee8244
Hide Extension Summary Show all by default. ( #6318 )
...
* Hide Extension Summary button show all by default. Add new permission xml_cdr_extension_summary_all
Many extensions and CDR records make this a resource very intensive query. Disable by default for all groups.
* Add new permission xml_cdr_extension_summary_all
* Update xml_cdr_extension_summary.php
* Update xml_cdr.php
2022-02-24 01:53:54 -07:00
AlexC
78c5666aff
Fixed dashboard layout bugs ( #6263 )
...
* Fixed dashboard layout bugs
* Update domain_limits.php
* Update missed_calls.php
* Update recent_calls.php
* Update voicemails.php
* Update system_counts.php
* Update system_cpu_status.php
* Update system_status.php
* Update caller_id.php
2022-01-25 11:03:37 -07:00
FusionPBX
ba2f5c379f
Only compare sip_from_domain with domain_name if the sip_from_domain exists.
2022-01-18 12:05:32 -07:00
FusionPBX
e16cc5e725
Need to keep the caller ID prefix on the caller ID name.
...
This was needed to keep caller id prefix for the caller ID name so it shows up in the Call Detail Records.
2022-01-18 11:52:26 -07:00
FusionPBX
9d01324da7
Use sip_from_display and sip_from_user when the call originated from the VoIP Provider.
...
When an inbound call is forwarded the call_direction is set to inbound and then updated to outbound. In this situation we use the sip_from_display and sip_from_user to get the original caller ID instead of the updated caller ID after the call was forwarded.
2022-01-04 17:50:51 -07:00
FusionPBX
1f0af43d83
Use the date c function only if the the epoch is_numeric
2022-01-04 16:54:47 -07:00