mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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
This commit is contained in:
@@ -535,7 +535,7 @@ if (!class_exists('xml_cdr')) {
|
||||
$array['call_recordings'][$x]['call_recording_name'] = $record_name;
|
||||
$array['call_recordings'][$x]['call_recording_path'] = $record_path;
|
||||
$array['call_recordings'][$x]['call_recording_length'] = $record_length;
|
||||
$array['call_recordings'][$x]['call_recording_date'] = urldecode($xml->variables->answer_stamp);
|
||||
$array['call_recordings'][$x]['call_recording_date'] = urldecode($xml->variables->start_stamp);
|
||||
$array['call_recordings'][$x]['call_direction'] = urldecode($xml->variables->call_direction);
|
||||
//$array['call_recordings'][$x]['call_recording_description']= $row['zzz'];
|
||||
//$array['call_recordings'][$x]['call_recording_base64']= $row['zzz'];
|
||||
|
||||
Reference in New Issue
Block a user