fusionpbx/app/xml_cdr/resources
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
..
classes [4.5] fixes null record_name and record_path fields in v_xml_cdr (#4053) 2019-04-20 17:05:40 -06:00