Change $name to ${name}

This commit is contained in:
markjcrane
2015-08-09 12:14:47 -06:00
parent 5c11a3f103
commit ade62be0f1
+4 -4
View File
@@ -89,15 +89,15 @@ class destinations {
$this->destinations[$x]['field']['destination'] = "destination"; $this->destinations[$x]['field']['destination'] = "destination";
$this->destinations[$x]['select_value']['dialplan'] = "transfer:\${destination}"; $this->destinations[$x]['select_value']['dialplan'] = "transfer:\${destination}";
$this->destinations[$x]['select_value']['ivr'] = "menu-exec-app:transfer \${destination}"; $this->destinations[$x]['select_value']['ivr'] = "menu-exec-app:transfer \${destination}";
$this->destinations[$x]['select_label'] = "\$name"; $this->destinations[$x]['select_label'] = "\${name}";
$y = 0; $y = 0;
$this->destinations[$x]['result']['data'][$y]['name'] = 'check_voicemail'; $this->destinations[$x]['result']['data'][$y]['name'] = '*98';
$this->destinations[$x]['result']['data'][$y]['destination'] = '*98 XML ${context}'; $this->destinations[$x]['result']['data'][$y]['destination'] = '*98 XML ${context}';
$y++; $y++;
$this->destinations[$x]['result']['data'][$y]['name'] = 'company_directory'; $this->destinations[$x]['result']['data'][$y]['name'] = '*411';
$this->destinations[$x]['result']['data'][$y]['destination'] = '*411 XML ${context}'; $this->destinations[$x]['result']['data'][$y]['destination'] = '*411 XML ${context}';
$y++; $y++;
$this->destinations[$x]['result']['data'][$y]['name'] = 'record'; $this->destinations[$x]['result']['data'][$y]['name'] = '*732';
$this->destinations[$x]['result']['data'][$y]['destination'] = '*732 XML ${context}'; $this->destinations[$x]['result']['data'][$y]['destination'] = '*732 XML ${context}';
$y++; $y++;
} }