mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 17:13:49 +00:00
Add rtp_audio_in_mos to the Call Detail Record indexed details
This commit is contained in:
@@ -255,6 +255,10 @@
|
||||
$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.";
|
||||
$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]['type'] = "text";
|
||||
$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_uuid'] = check_str(urldecode($xml->variables->conference_uuid));
|
||||
$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.
|
||||
$x = 0;
|
||||
@@ -148,7 +153,7 @@
|
||||
|
||||
//get the domain values from the xml
|
||||
$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
|
||||
if (strlen($domain_uuid) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user