From b422117500c366b85d4a6f450303bbb0afaf9ccb Mon Sep 17 00:00:00 2001 From: markjcrane Date: Tue, 12 Jan 2016 21:07:49 -0700 Subject: [PATCH] Add hangup to the destination select list. --- app/dialplan/app_languages.php | 10 ++++++++++ resources/classes/destinations.php | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/app/dialplan/app_languages.php b/app/dialplan/app_languages.php index 9ddd161baf..268f332d55 100644 --- a/app/dialplan/app_languages.php +++ b/app/dialplan/app_languages.php @@ -118,6 +118,16 @@ $text['option-company_directory']['sv-se'] = "Företagskatalog"; $text['option-company_directory']['uk'] = "Каталог компаній"; $text['option-company_directory']['de-at'] = "Firmenverzeichnis"; +$text['option-hangup']['en-us'] = "Hangup"; +$text['option-hangup']['es-cl'] = "Colgar"; +$text['option-hangup']['pt-pt'] = "Desligar"; +$text['option-hangup']['fr-fr'] = "Raccrocher"; +$text['option-hangup']['pt-br'] = "Desligar"; +$text['option-hangup']['pl'] = "Odwieszenie"; +$text['option-hangup']['sv-se'] = "Lägg på"; +$text['option-hangup']['uk'] = "роз'єднання"; +$text['option-hangup']['de-at'] = "Auflegen"; + $text['option-record']['en-us'] = "Record"; $text['option-record']['es-cl'] = "Registro"; $text['option-record']['pt-pt'] = "Registro"; diff --git a/resources/classes/destinations.php b/resources/classes/destinations.php index ddb95690d2..d95d3d7c1a 100644 --- a/resources/classes/destinations.php +++ b/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}';