Update v_xml_cdr_import.php
This commit is contained in:
parent
4461a5ce6f
commit
cd6e5fe791
|
|
@ -191,10 +191,6 @@
|
|||
$database->fields['rtp_audio_in_mos'] = $rtp_audio_in_mos;
|
||||
}
|
||||
|
||||
//get the caller details
|
||||
$database->fields['caller_id_name'] = urldecode($xml->variables->effective_caller_id_name);
|
||||
$database->fields['caller_id_number'] = urldecode($xml->variables->effective_caller_id_number);
|
||||
|
||||
//set missed calls
|
||||
$database->fields['missed_call'] = 'false';
|
||||
if ($xml->variables->call_direction == 'local' || $xml->variables->call_direction == 'inbound') {
|
||||
|
|
@ -206,6 +202,10 @@
|
|||
$database->fields['missed_call'] = 'true';
|
||||
}
|
||||
|
||||
//get the caller details
|
||||
$database->fields['caller_id_name'] = urldecode($xml->variables->effective_caller_id_name);
|
||||
$database->fields['caller_id_number'] = urldecode($xml->variables->effective_caller_id_number);
|
||||
|
||||
//get the values from the callflow.
|
||||
$x = 0;
|
||||
foreach ($xml->callflow as $row) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue