Commit Graph

161 Commits

Author SHA1 Message Date
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
FusionPBX
dd106a6871 Replace event_socket_mkdir with php mkdir. (#6170) 2021-12-02 19:03:55 -07:00
AlexC
2a4550c910 Add dashboard default settings to recent_calls.php (#6138)
* Add dashboard default settings to recent_calls.php

* Update recent_calls.php
2021-11-19 16:32:53 -07:00
AlexC
4b6f42e5c3 Add dashboard default settings to missed_calls.php (#6137)
* Add dashboard default settings to missed_calls.php

* Update missed_calls.php
2021-11-19 16:31:51 -07:00
FusionPBX
2d4c65abee Simplify missed call handling. 2021-11-19 15:47:54 -07:00
FusionPBX
80cfab92b8 Use answer_stamp and bridge_uuid to deteremine if the call was answered. 2021-11-19 11:11:40 -07:00
AlexC
4600e5f98e Update missed_calls.php (#6122) 2021-11-12 12:56:11 -07:00
AlexC
fd3f3c2d69 Update recent_calls.php (#6121) 2021-11-12 12:55:51 -07:00
AlexC
12260ae24b Update recent_calls.php (#6117) 2021-11-09 23:23:18 -07:00
AlexC
e67e005d08 Update missed_calls.php (#6116) 2021-11-09 23:22:03 -07:00
AlexC
cbd0081e3d Add chart to cdr recent calls (#6111) 2021-11-09 22:27:23 -07:00
AlexC
b77e2468d9 Add chart to cdr missed calls (#6110) 2021-11-09 22:27:06 -07:00
markjcrane
032a5aec39 Add a new dashboard 2021-11-09 18:42:14 -07:00
FusionPBX
4da962e4e0 Add sip_call_id to the xml cdr import.
The sip_call_id is the Call-ID found in the SIP headers.
2021-07-31 19:25:23 -06:00
FusionPBX
bcd7482e5c Use elseif instead of a series of if statements. 2021-06-15 13:44:14 -06:00
FusionPBX
6d536ce4d7 Add more to the missed call check
Only count as a missed call if the bridge_uuid has a length.
2021-06-15 12:53:46 -06:00
FusionPBX
3e2ae03295 Count a going to voicemail as a missed call. 2021-06-15 12:20:04 -06:00
markjcrane
2750475ab2 Add better logging to XML CDR 2021-05-26 14:29:46 -06:00
demonspork
7133f35af5 Use epoch times for CDR Imports (#5955)
* Use epoch times for CDR Imports

There has been some discussion of edge cases for CDR Importing time zones/time stamps.

This modification makes the start_stamp, answer_stamp, and end_stamp values use the corresponding _epoch times for import into the v_xml_cdr table to remove any chance of time zone mis-alignment.

* Set Call recording date with Epoch

Use the start_epoch to set the call recording date.
2021-05-26 09:11:09 -06:00
FusionPBX
21ab598390 Merge pull request #5935 from greenbea/upstream/patch-39
[call_center] export call_center_queue_uuid channel variable to agent legs for cdr import
2021-05-10 12:29:55 -06:00
FusionPBX
10ca93cbc0 Add timestamptz and timezone to the extension summary. 2021-05-10 11:34:47 -06:00
agree
06062b7fba * export call_center_queue_uuid channel variable to agent legs for cdr import
* add call_center_queue_uuid field to cdr for referenceing the call center queue table (cc_queue is a freeswitch variable for  the queue name)
2021-05-09 15:52:42 -04:00