Change call_center_contact to user_contact.

This commit is contained in:
markjcrane
2015-08-07 15:24:24 -05:00
parent e9b93fd426
commit e19f459cd8
3 changed files with 6 additions and 9 deletions

View File

@@ -478,7 +478,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo " ".$text['label-contact']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo $destination->select('call_center_contact', 'agent_contact', $agent_contact);
echo $destination->select('user_contact', 'agent_contact', $agent_contact);
echo "<br />\n";
echo $text['description-contact']."\n";
echo "</td>\n";

View File

@@ -30,7 +30,7 @@
$apps[$x]['destinations'][$y]['field']['context'] = "user_context";
$apps[$x]['destinations'][$y]['field']['destination'] = "extension";
$apps[$x]['destinations'][$y]['field']['description'] = "description";
$apps[$x]['destinations'][$y]['select_value']['call_center_contact'] = "user/\${destination}@\${domain_name}";
$apps[$x]['destinations'][$y]['select_value']['user_contact'] = "user/\${destination}@\${domain_name}";
$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "transfer:\${destination} XML \${context}";
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:transfer \${destination} XML \${context}";
$apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${description}";

View File

@@ -21,7 +21,6 @@
$apps[$x]['description']['pt-br'] = "";
//destination details
/*
$y = 0;
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "gateways";
@@ -30,16 +29,14 @@
$apps[$x]['destinations'][$y]['sql'] .= "inner join v_domains as d on g.domain_uuid = d.domain_uuid ";
$apps[$x]['destinations'][$y]['where'] = "where g.domain_uuid = '\${domain_uuid}' and g.enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "gateway asc";
$apps[$x]['destinations'][$y]['field']['uuid'] = "gateway_uuid";
$apps[$x]['destinations'][$y]['field']['name'] = "gateway";
$apps[$x]['destinations'][$y]['field']['destination'] = "gateway_uuid";
$apps[$x]['destinations'][$y]['field']['description'] = "description";
$apps[$x]['destinations'][$y]['select_value']['call_center_contact'] = "sofia/gateway/\${destination}/";
$apps[$x]['destinations'][$y]['select_value']['bridge'] = "sofia/gateway/\${destination}/";
$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "bridge:sofia/gateway/\${destination}/";
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:bridge sofia/gateway/\${destination}/";
$apps[$x]['destinations'][$y]['select_value']['user_contact'] = "sofia/gateway/\${destination}/";
//$apps[$x]['destinations'][$y]['select_value']['bridge'] = "sofia/gateway/\${destination}/";
//$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "bridge:sofia/gateway/\${destination}/";
//$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:bridge sofia/gateway/\${destination}/";
$apps[$x]['destinations'][$y]['select_label'] = "\${name}@\${domain_name} \${description}";
*/
//permission details
$y = 0;