Add rtp_audio_in_mos to the Call Detail Record indexed details
This commit is contained in:
parent
be2c379852
commit
a192ffd900
|
|
@ -255,6 +255,10 @@
|
||||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "smallint";
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "smallint";
|
||||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Post Dial Delay (PDD) in miliseconds. Divide by 1000 for seconds.";
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Post Dial Delay (PDD) in miliseconds. Divide by 1000 for seconds.";
|
||||||
$z++;
|
$z++;
|
||||||
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "rtp_audio_in_mos";
|
||||||
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
||||||
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||||
|
$z++;
|
||||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "last_app";
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "last_app";
|
||||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Save the last application in the leg.";
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Save the last application in the leg.";
|
||||||
|
|
|
||||||
|
|
@ -115,6 +115,11 @@
|
||||||
$database->fields['conference_name'] = check_str(urldecode($xml->variables->conference_name));
|
$database->fields['conference_name'] = check_str(urldecode($xml->variables->conference_name));
|
||||||
$database->fields['conference_uuid'] = check_str(urldecode($xml->variables->conference_uuid));
|
$database->fields['conference_uuid'] = check_str(urldecode($xml->variables->conference_uuid));
|
||||||
$database->fields['conference_member_id'] = check_str(urldecode($xml->variables->conference_member_id));
|
$database->fields['conference_member_id'] = check_str(urldecode($xml->variables->conference_member_id));
|
||||||
|
//call quality
|
||||||
|
$rtp_audio_in_mos = check_str(urldecode($xml->variables->rtp_audio_in_mos));
|
||||||
|
if (strlen($rtp_audio_in_mos) > 0) {
|
||||||
|
$database->fields['rtp_audio_in_mos'] = $rtp_audio_in_mos;
|
||||||
|
}
|
||||||
|
|
||||||
//get the values from the callflow.
|
//get the values from the callflow.
|
||||||
$x = 0;
|
$x = 0;
|
||||||
|
|
@ -148,7 +153,7 @@
|
||||||
|
|
||||||
//get the domain values from the xml
|
//get the domain values from the xml
|
||||||
$domain_name = check_str(urldecode($xml->variables->domain_name));
|
$domain_name = check_str(urldecode($xml->variables->domain_name));
|
||||||
$domain_uuid = check_str(urldecode($xml->variables->domain_uuid));
|
$domain_uuid = check_str(urldecode($xml->variables->domain_uuid));
|
||||||
|
|
||||||
//get the domain_uuid with the domain_name
|
//get the domain_uuid with the domain_name
|
||||||
if (strlen($domain_uuid) == 0) {
|
if (strlen($domain_uuid) == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue