Commit Graph

237 Commits

Author SHA1 Message Date
FusionPBX
ce26f227bf Changed the order of missed_call conditions
Move billsec condition near the end but before voicemail.

If a call center call was missed but answered by an extension with the exit action then the call wasn't technically missed.
2024-07-03 14:36:40 -06:00
FusionPBX
14d69d6ca2 Update xml_cdr.php 2024-05-15 14:52:00 -06:00
FusionPBX
b61f9375ff Update the caller ID when using intercept
When intercept is used then use the last_sent_callee_id_name and last_sent_callee_id_number for the caller ID information.
2024-05-15 14:41:44 -06:00
FusionPBX
2262ec7272 Recent Calls hide Lose Race 2024-04-22 12:18:00 -06:00
FusionPBX
c1e6f3e11d Include ORIGINATOR_CANCEL for missed calls 2024-03-01 14:10:19 -07:00
FusionPBX
fc0d72c5fa Update missed_calls.php
- Simplify SQL time format
- Use SQL limit to be more efficient
- Use the call detail record status
- Fix the View all link to use statu=missed
2024-02-20 14:51:09 -07:00
FusionPBX
d028b0ca84 Update recent_calls.php
- Simplify SQL time format
- Use SQL limit to be more efficient
- Use the call detail record status
2024-02-20 14:49:09 -07:00
FusionPBX
ebadf2934d Replace voicemail_answer_stamp with voicemail_message_seconds
The voicemail_answer_stamp value exists if the call reaches voicemail. The voicemail_message_seconds is set if the caller leaves a voicemail message.
2024-02-20 12:49:06 -07:00
FusionPBX
ee49410edb Don't use voicemail_id to determine call status
This is an unreliable way to detect if the call went to voicemail.
2024-02-20 12:30:20 -07:00
FusionPBX
bdd0d26324 Bug Fix: missed_call handling and voicemail status
Call going to voicemail for an extension was showing status answered instead of voicemail and missed call
2024-02-06 15:25:36 -07:00
FusionPBX
51fe5f1d4b Update xml_cdr.php 2024-01-18 14:13:44 -07:00
FusionPBX
4e622d9b10 Handle no answer for unset status 2023-12-27 13:08:15 -07:00
FusionPBX
7de2ae0d23 Use last_bridge_hangup_cause to determine status 2023-12-27 11:37:36 -07:00
FusionPBX
4919633568 Create debian.service 2023-12-26 20:45:54 -07:00
FusionPBX
89ab37ce9d Create xml_cdr.php 2023-12-26 20:43:59 -07:00
FusionPBX
7d819c4822 Use isset and if statements
Changed ifelse to if statement to make sure it evaluates each condition.
2023-12-20 13:59:33 -07:00
FusionPBX
b9686aeae7 Set call center cancel call to missed 2023-12-20 13:49:48 -07:00
FusionPBX
cea06a548e Add provider_uuid to destinations dialplan xml and XML CDR 2023-12-09 23:07:36 -07:00
FusionPBX
65b6600e82 Changing format from 11/02 to 02 Nov
Reason for the change better worldwide support. Problem with numeric dates is that it can have a date 07/09 and does mean July 9 or September 7. In the US its standard month then day. However this isn't universal. This makes the dates confusing. So changed this to day and abbreviated month.
2023-11-02 12:45:38 -06:00
FusionPBX
12964eb83e Prevent an error by casting to int 2023-10-30 20:29:56 -06:00
FusionPBX
3514a489d1 After application conference skip the row 2023-10-25 11:23:38 -06:00
FusionPBX
72fd0fe343 Move code for calculating the duration 2023-10-25 11:13:20 -06:00
FusionPBX
cb65e7f66e Prevent an warning by using preg_quote
This accounts for special characters like a * in the value.
2023-10-25 10:41:03 -06:00
FusionPBX
57d8d52336 Add Call Detail Record status no answer 2023-10-25 09:37:17 -06:00
FusionPBX
d7e2ab900b Call Detail Record add status and use billsec for the duration 2023-10-24 15:58:13 -06:00
FusionPBX
f09b04eb01 Only add default value if application was not found 2023-10-23 16:13:07 -06:00
FusionPBX
1e06e3aa1c Move the find_app method to the xml_cdr class 2023-10-23 15:15:58 -06:00
FusionPBX
d6fb5ac7b8 Call Flow Summary add the IVR Menus status to routed 2023-10-21 20:57:11 -06:00
FusionPBX
115e9e0055 Use lower case status values to match the translation labels. 2023-10-21 13:26:26 -06:00
FusionPBX
026b2f4f44 CDR Call Flow Summary add a status for Call Flows 2023-10-21 10:40:31 -06:00
FusionPBX
ea05178018 Add new rows when callee_id_number exists 2023-10-20 22:16:48 -06:00
FusionPBX
9fb99cc137 Add additional error handling 2023-10-19 20:02:55 -06:00
FusionPBX
8158518837 CDR call flow array add bridged_time, answer_time and update park 2023-10-19 19:49:51 -06:00
FusionPBX
6ce57690ee Update the call_flow_summary array add a new row for inbound calls 2023-10-18 21:26:25 -06:00
FusionPBX
7c98190bde Add new class methods called call_flow and call_flow_summary 2023-10-17 16:21:17 -06:00
FusionPBX
694d701757 Auto decode when urlencoding is detected 2023-10-16 09:55:20 -06:00
FusionPBX
c7ae3b3a63 [SECURITY] Prevent showing Missed and Recent Calls to users that are not in xml_cdr_domain group and not assigned any extensions. 2023-10-13 14:25:02 -06:00
FusionPBX
09dd09305c Fix CDR import for HTTP POST
Add syslog server messages with more details when sending access denied.
2023-09-25 12:55:20 -06:00
FusionPBX
24bdccdb0b Use the settings class instead of the SESSION 2023-09-18 14:59:21 -06:00
FusionPBX
9684541dbe PHP 8.1 end function requires array 2023-09-08 09:33:54 -06:00
FusionPBX
85f6793a41 Set bridge statements variables 2023-08-25 16:05:33 -06:00
FusionPBX
e8e6673be8 Remove some redudant code for finding record_path and record_name 2023-08-10 09:05:42 -06:00
FusionPBX
0304dfffad Use empty record_name
Recording call through a ring group its not setting the record_name variable this picks up the recording from the file system.
2023-08-04 13:53:37 -06:00
fusionate
f61302190b Dashboard - Missed Calls: Apply domain time zone. 2023-08-01 20:33:51 +00:00
fusionate
d68f9826f1 Dashboard - Recent Calls: Apply domain time zone. 2023-08-01 20:33:39 +00:00
FusionPBX
49648e6655 Handle errors better for invalid xml with simplexml_load_string
When the XML object detects invalid XML move the file to the failed directory.

After reading and processing the XML save each call detail record to the database.
2023-06-29 17:25:20 -06:00
frytimo
d7bbcd89f5 Use magic constant dir (#6711)
* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__ to load only functions.php

* replace spaces with tab character

* update dirname command to use levels instead of nesting

* use magic constant __DIR__

* update dirname command to use levels instead of nesting

* Update access_control_edit.php

* Update access_control_import.php

* Update access_controls.php

* Update dnd.php

* Update access_controls_reload.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update fax_queue.php

* Update login.php

* Update pdo.php

* Update pdo_vm.php

* Update switch.php

* Update index.php

* Update css.php

* Update v_mailto.php

* Update fax_to_email.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -06:00
FusionPBX
5759a636e6 Add missing cc_queue_joined_epoch variable 2023-06-08 18:47:17 -06:00
Alex
66e14c586c Update xml_cdr.php (#6749) 2023-06-08 16:57:06 -06:00
Alex
22a01b147d Fixed call center queue agents table (#6746)
* Update destination_edit.php

* Fixed php 8.1 errors

* Fixed cdr recording download not working

* Update call_center_queue_edit.php

* Update call_center_queue_edit.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-06 11:31:22 -06:00