Add pin_number and json option to xml cdr

This commit is contained in:
Mark Crane
2014-06-14 04:53:04 +00:00
parent 48b860de36
commit 2ab1c81d98
2 changed files with 75 additions and 52 deletions
+12 -1
View File
@@ -145,10 +145,17 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "xml_cdr";
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "xml";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "xml_cdr";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "json";
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "json";
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "caller_id_name";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
@@ -321,6 +328,10 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "digits dialed";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "pin_number";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "pin number";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = "hangup_cause";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";