Commit Graph

65 Commits

Author SHA1 Message Date
FusionPBX
39cf5583bb Update xml_cdr.php 2019-09-03 14:32:33 -06:00
konradSC
d0bc9034a1 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
186d7981a2 [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
7eafc693c4 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
ea63afcc02 Update xml_cdr.php 2019-03-17 00:55:09 -06:00
FusionPBX
0d98092c9c Update xml_cdr.php 2019-02-18 13:30:17 -07:00
FusionPBX
7b8eda9e49 Update xml_cdr.php 2018-11-23 08:03:36 -07:00
FusionPBX
6ca703693a Update xml_cdr.php 2018-11-21 16:07:02 -07:00
FusionPBX
fabc145bd7 Update xml_cdr.php 2018-10-17 22:08:20 -06:00
FusionPBX
3bcd6b1f4f Update xml_cdr.php 2018-10-17 15:52:15 -06:00
Luis Daniel Lucio Quiroz
07a292b552 Same logic as v_xml_cdr_import.php (#3048) 2018-06-09 09:30:02 -06:00
FusionPBX
ff363d921f Update xml_cdr.php 2018-02-05 13:32:40 -07:00
FusionPBX
20219c1735 Update xml_cdr.php 2018-01-29 17:25:40 -07:00
FusionPBX
73cd5b3443 Update xml_cdr.php 2018-01-09 11:11:03 -07:00
konradSC
0170979401 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
9ee2b71ce2 Fix. Extension summary for local calls (#2918) 2017-11-21 09:13:58 -07:00
konradSC
ba0606c7ae 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
f3f7c5ea40 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
35e069f3a8 Update xml_cdr.php 2017-11-05 11:32:05 -07:00
konradSC
f6217c6e49 Bug fix for caller_destination populating CDR's (#2902) 2017-11-02 21:57:36 -06:00
FusionPBX
3c0ffc943d Update xml_cdr.php 2017-10-20 18:04:07 -06:00
FusionPBX
0ab3fcaff4 Update xml_cdr.php 2017-10-20 17:54:49 -06:00
FusionPBX
d500708a92 Update xml_cdr.php 2017-10-20 16:55:19 -06:00
FusionPBX
6fca820102 Update xml_cdr.php 2017-10-15 14:26:06 -06:00
FusionPBX
f4931adfe7 Update xml_cdr.php 2017-10-15 11:53:10 -06:00
FusionPBX
8bc2864b1e Update xml_cdr.php 2017-10-15 11:35:55 -06:00
FusionPBX
4a78d69aac Update xml_cdr.php 2017-10-05 12:52:08 -06:00
FusionPBX
7b75aed3d0 Update xml_cdr.php 2017-09-22 19:24:40 -06:00
FusionPBX
a0a3c1c5ee Update xml_cdr.php 2017-09-22 19:04:18 -06:00
FusionPBX
d36c4bbcbd Update xml_cdr.php 2017-09-14 17:27:38 -05:00
FusionPBX
132aa88275 Update xml_cdr.php 2017-09-11 01:27:37 -05:00
FusionPBX
958551c55b Update xml_cdr.php 2017-09-11 01:23:41 -05:00
FusionPBX
5130a1750e Update xml_cdr.php 2017-09-10 13:14:42 -06:00
FusionPBX
88ef151220 Update xml_cdr.php 2017-09-10 11:53:40 -06:00
FusionPBX
af71ec5ca8 Update xml_cdr.php 2017-06-21 23:46:17 -06:00
FusionPBX
b8e460a81c Update xml_cdr.php 2017-06-21 23:39:56 -06:00
Mafoo
7bdea2c30c dos2unix (#2682)
find . -name "*.php" | xargs dos2unix
2017-06-12 22:09:36 -07:00
FusionPBX
0deed74c56 Update xml_cdr.php 2017-05-29 15:54:39 -06:00
FusionPBX
c3ab507841 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
fcc1ff7af4 Fix xml_cdr_extension_summary.php speed issues (#2280) 2016-12-29 12:59:52 -07:00
FusionPBX
e7a7d0086a Update xml_cdr.php 2016-12-22 21:14:22 -07:00
FusionPBX
f4378f8c2d Update xml_cdr.php 2016-12-21 14:02:56 -07:00
FusionPBX
d2b65acc3a Update xml_cdr.php 2016-11-23 05:24:33 -07:00
FusionPBX
aef9abc28c Update xml_cdr.php 2016-10-25 18:06:34 -06:00
FusionPBX
edf8117215 Update xml_cdr.php 2016-10-25 18:02:26 -06:00
markjcrane
bd23c78670 Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
FusionPBX
5f1d64bd61 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
97d6bd24d8 Fix. Display correct info for extensions with number-alias. (#1665) 2016-06-15 11:39:09 -06:00
FusionPBX
08ceeece82 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
e9ce02147a 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