Commit Graph

64 Commits

Author SHA1 Message Date
konradSC
2a2c405528 Check for null uuid's (#4402)
Null UUID's are not very kind. They will sneak into your CDR's when you aren't looking and break an otherwise very nice database INSERT statement. We cannot tolerate that sort of behavior.
2019-07-31 16:00:20 -06:00
Luis Daniel Lucio Quiroz
67043c6ad8 [4.5] fixes null record_name and record_path fields in v_xml_cdr (#4053)
* record_name verification

* record_name better verification

when you carry on some updates from 4.0 to 4.2 and then 4.4, old dialplans do not create all the variables, record_session is created, but record_name (and record_path) are not null, set and lenght zero,  "" in otherwords.

Then, in the db record, record_name and record_path are empty, regardless if the recording file exists. Therefore, they are not shown in the CDR app.
This fixes this issue.
2019-04-20 17:05:40 -06:00
konradSC
7fe9794191 Bug fix: No answer_stamp in CDR (#4049)
* Bug fix: No answer_stamp in CDR

Here's a fun little bug that took me a longer than it should have to figure out. When a person make a call and then cancels the request there is no "answer_stamp" written to the CDR. Because of this, v_call_recordings.call_recording_name gets imported as NULL. This causes all the canceled calls to show up in the Call Recordings app first in the list and with no date set.

* Update xml_cdr.php

* Update v_xml_cdr_import.php
2019-04-11 18:00:11 -06:00
FusionPBX
75182f2ee1 Update xml_cdr.php 2019-03-17 00:55:09 -06:00
FusionPBX
4972776d73 Update xml_cdr.php 2019-02-18 13:30:17 -07:00
FusionPBX
e29dcbeb37 Update xml_cdr.php 2018-11-23 08:03:36 -07:00
FusionPBX
7eab2ffb06 Update xml_cdr.php 2018-11-21 16:07:02 -07:00
FusionPBX
d58d9914cc Update xml_cdr.php 2018-10-17 22:08:20 -06:00
FusionPBX
3a7fee84c8 Update xml_cdr.php 2018-10-17 15:52:15 -06:00
Luis Daniel Lucio Quiroz
483cf5542d Same logic as v_xml_cdr_import.php (#3048) 2018-06-09 09:30:02 -06:00
FusionPBX
c2f8733728 Update xml_cdr.php 2018-02-05 13:32:40 -07:00
FusionPBX
3cbc25d669 Update xml_cdr.php 2018-01-29 17:25:40 -07:00
FusionPBX
4046a8ab34 Update xml_cdr.php 2018-01-09 11:11:03 -07:00
konradSC
fa58a7ed33 Update xml_cdr.php (#2942)
Add check for duplicate call records. Duplicate records will cause the entire db insert to fail. I have tested this with the /app/xml_cdr/xml_cdr_import.php method for cdr insertion.
2018-01-09 11:01:10 -07:00
Alexey Melnichuk
cc22f35e74 Fix. Extension summary for local calls (#2918) 2017-11-21 09:13:58 -07:00
konradSC
49417a105a Bug Fix - Match correct database column names (#2908)
call_recording_name & call_recording_path are the correct values.
2017-11-14 22:02:08 -07:00
konradSC
9fb207c16b More ways of adding recordings to CDR's (#2904)
This grabs a recording if started by bind_digit_action "*2" or by "nolocal:api_on_answer=uuid_record ${uuid} start ${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext}".
2017-11-08 09:51:53 -07:00
FusionPBX
20b5f61ae7 Update xml_cdr.php 2017-11-05 11:32:05 -07:00
konradSC
9d1f16fe64 Bug fix for caller_destination populating CDR's (#2902) 2017-11-02 21:57:36 -06:00
FusionPBX
9b9c3950c0 Update xml_cdr.php 2017-10-20 18:04:07 -06:00
FusionPBX
65dd10e433 Update xml_cdr.php 2017-10-20 17:54:49 -06:00
FusionPBX
e7038b0ed4 Update xml_cdr.php 2017-10-20 16:55:19 -06:00
FusionPBX
7a967d8d3f Update xml_cdr.php 2017-10-15 14:26:06 -06:00
FusionPBX
66c90568a0 Update xml_cdr.php 2017-10-15 11:53:10 -06:00
FusionPBX
760eea11af Update xml_cdr.php 2017-10-15 11:35:55 -06:00
FusionPBX
a45b9ffa78 Update xml_cdr.php 2017-10-05 12:52:08 -06:00
FusionPBX
1e4aeace11 Update xml_cdr.php 2017-09-22 19:24:40 -06:00
FusionPBX
4b7c529336 Update xml_cdr.php 2017-09-22 19:04:18 -06:00
FusionPBX
5d07761381 Update xml_cdr.php 2017-09-14 17:27:38 -05:00
FusionPBX
dcdaec1850 Update xml_cdr.php 2017-09-11 01:27:37 -05:00
FusionPBX
1aa94e1e2c Update xml_cdr.php 2017-09-11 01:23:41 -05:00
FusionPBX
179df1c064 Update xml_cdr.php 2017-09-10 13:14:42 -06:00
FusionPBX
a9fbc3e9c7 Update xml_cdr.php 2017-09-10 11:53:40 -06:00
FusionPBX
116ba64fcb Update xml_cdr.php 2017-06-21 23:46:17 -06:00
FusionPBX
a5827cd4d4 Update xml_cdr.php 2017-06-21 23:39:56 -06:00
Mafoo
02719901b4 dos2unix (#2682)
find . -name "*.php" | xargs dos2unix
2017-06-12 22:09:36 -07:00
FusionPBX
beeaaa7e3b Update xml_cdr.php 2017-05-29 15:54:39 -06:00
FusionPBX
10c55348ea Update xml_cdr.php
Capitalize the SQL, change tmp_cdr to an alias of c for CDR, and remove the spaces from the indentation.
2016-12-30 10:54:33 -07:00
Karolis Pabijanskas
f3c90f6060 Fix xml_cdr_extension_summary.php speed issues (#2280) 2016-12-29 12:59:52 -07:00
FusionPBX
4ca5ad50c7 Update xml_cdr.php 2016-12-22 21:14:22 -07:00
FusionPBX
6f8dc1093b Update xml_cdr.php 2016-12-21 14:02:56 -07:00
FusionPBX
2c7715dcfd Update xml_cdr.php 2016-11-23 05:24:33 -07:00
FusionPBX
29021963fa Update xml_cdr.php 2016-10-25 18:06:34 -06:00
FusionPBX
549332b457 Update xml_cdr.php 2016-10-25 18:02:26 -06:00
markjcrane
6f2601e32a Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
FusionPBX
7b683c4842 Update xml_cdr.php
Fix the order by number alias addition by grouping it with ( and ).
2016-06-15 11:48:53 -06:00
Alexey Melnichuk
40fe5f3138 Fix. Display correct info for extensions with number-alias. (#1665) 2016-06-15 11:39:09 -06:00
FusionPBX
6a9b6dff73 Update xml_cdr.php
Update the xml cdr class to generate a complete extension / user summary array.
2016-06-14 22:44:34 -06:00
FusionPBX
11efb35712 Update xml_cdr.php
In the xml_cdr class change method xml_array from $row to $key. Key is more descriptive and should prevent bugs in the future.
2016-06-11 16:17:35 -06:00
FusionPBX
a8f7bcc9f2 Update xml_cdr.php
Use the class variables.
2016-06-05 21:53:28 -06:00