Просмотр исходного кода

Add hangup to the destination select list.

markjcrane 9 лет назад
Родитель
Сommit
9a4eb14b46
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      resources/classes/destinations.php

+ 4 - 0
resources/classes/destinations.php

@@ -97,6 +97,10 @@ class destinations {
 			$this->destinations[$x]['result']['data'][$y]['name'] = '*411';
 			$this->destinations[$x]['result']['data'][$y]['destination'] = '*411 XML ${context}';
 			$y++;
+			$this->destinations[$x]['result']['data'][$y]['label'] = 'hangup';
+			$this->destinations[$x]['result']['data'][$y]['name'] = 'hangup';
+			$this->destinations[$x]['result']['data'][$y]['destination'] = '';
+			$y++;
 			$this->destinations[$x]['result']['data'][$y]['label'] = 'record';
 			$this->destinations[$x]['result']['data'][$y]['name'] = '*732';
 			$this->destinations[$x]['result']['data'][$y]['destination'] = '*732 XML ${context}';