diff --git a/app/call_flows/app_config.php b/app/call_flows/app_config.php index f260fd46da..4ff68b40eb 100644 --- a/app/call_flows/app_config.php +++ b/app/call_flows/app_config.php @@ -32,7 +32,7 @@ //destination details $y=0; $apps[$x]['destinations'][$y]['type'] = "sql"; - $apps[$x]['destinations'][$y]['label'] = "call_flows"; + $apps[$x]['destinations'][$y]['label'] = "call_flow_destination"; $apps[$x]['destinations'][$y]['name'] = "call_flows"; $apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and call_flow_enabled = 'true' "; $apps[$x]['destinations'][$y]['order_by'] = "call_flow_name asc"; @@ -44,6 +44,20 @@ $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} \${name}"; + $y++; + $apps[$x]['destinations'][$y]['type'] = "sql"; + $apps[$x]['destinations'][$y]['label'] = "call_flow_feature_code"; + $apps[$x]['destinations'][$y]['name'] = "call_flows"; + $apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and call_flow_enabled = 'true' "; + $apps[$x]['destinations'][$y]['order_by'] = "call_flow_name asc"; + $apps[$x]['destinations'][$y]['field']['call_flow_uuid'] = "call_flow_uuid"; + $apps[$x]['destinations'][$y]['field']['name'] = "call_flow_name"; + $apps[$x]['destinations'][$y]['field']['destination'] = "call_flow_feature_code"; + $apps[$x]['destinations'][$y]['field']['extension'] = "call_flow_feature_code"; + $apps[$x]['destinations'][$y]['field']['context'] = "call_flow_context"; + $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} \${name}"; //permission details $y=0; diff --git a/app/call_flows/app_languages.php b/app/call_flows/app_languages.php index 6e30aafa30..6e81095cef 100644 --- a/app/call_flows/app_languages.php +++ b/app/call_flows/app_languages.php @@ -43,6 +43,48 @@ $text['title-call_flow']['ru-ru'] = "Переключатель вызовов"; $text['title-call_flow']['sv-se'] = "Samtalsflöde"; $text['title-call_flow']['uk-ua'] = "Потік дзвінків"; +$text['title-call_flow_destination']['en-us'] = "Call Flows - Destination"; +$text['title-call_flow_destination']['en-gb'] = "Call Flows - Destination"; +$text['title-call_flow_destination']['ar-eg'] = ""; +$text['title-call_flow_destination']['de-at'] = "Anruf Steuerung - Ziel"; //copied from de-de +$text['title-call_flow_destination']['de-ch'] = "Anruf Steuerung - Ziel"; //copied from de-de +$text['title-call_flow_destination']['de-de'] = "Anruf Steuerung - Ziel"; +$text['title-call_flow_destination']['es-cl'] = "Flujo de Llamada - Destino"; +$text['title-call_flow_destination']['es-mx'] = "Flujo de Llamada - Destino"; //copied from es-cl +$text['title-call_flow_destination']['fr-ca'] = "Flux d'appel - Destination"; //copied from fr-fr +$text['title-call_flow_destination']['fr-fr'] = "Flux d'appel - Destination"; +$text['title-call_flow_destination']['he-il'] = ""; +$text['title-call_flow_destination']['it-it'] = "Deviatori di Chiamata - Destinazione"; +$text['title-call_flow_destination']['nl-nl'] = "Oproep besturing - Bestemming"; +$text['title-call_flow_destination']['pl-pl'] = "Przepływ rozmów - Destynacja"; +$text['title-call_flow_destination']['pt-br'] = "Fluxo de chamadas - Destino"; +$text['title-call_flow_destination']['pt-pt'] = "Fluxo de Chamadas - Desvio"; +$text['title-call_flow_destination']['ro-ro'] = ""; +$text['title-call_flow_destination']['ru-ru'] = "Переключатели вызовов - Направление"; +$text['title-call_flow_destination']['sv-se'] = "Samtalsflöden - Destination"; +$text['title-call_flow_destination']['uk-ua'] = "Потоки дзвінків - Номер"; + +$text['title-call_flow_feature_code']['en-us'] = "Call Flows - Feature Code"; +$text['title-call_flow_feature_code']['en-gb'] = "Call Flows - Feature Code"; +$text['title-call_flow_feature_code']['ar-eg'] = ""; +$text['title-call_flow_feature_code']['de-at'] = "Anruf Steuerung - Funktions-Code"; //copied from de-de +$text['title-call_flow_feature_code']['de-ch'] = "Anruf Steuerung - Funktions-Code"; //copied from de-de +$text['title-call_flow_feature_code']['de-de'] = "Anruf Steuerung - Funktions-Code"; +$text['title-call_flow_feature_code']['es-cl'] = "Flujo de Llamada - Código distintivo"; +$text['title-call_flow_feature_code']['es-mx'] = "Flujo de Llamada - Código distintivo"; //copied from es-cl +$text['title-call_flow_feature_code']['fr-ca'] = "Flux d'appel - Code Fonction"; //copied from fr-fr +$text['title-call_flow_feature_code']['fr-fr'] = "Flux d'appel - Code Fonction"; +$text['title-call_flow_feature_code']['he-il'] = ""; +$text['title-call_flow_feature_code']['it-it'] = "Deviatori di Chiamata "; +$text['title-call_flow_feature_code']['nl-nl'] = "Oproep besturing - Functie-code"; +$text['title-call_flow_feature_code']['pl-pl'] = "Przepływ rozmów "; +$text['title-call_flow_feature_code']['pt-br'] = "Fluxo de chamadas - Código de função"; +$text['title-call_flow_feature_code']['pt-pt'] = "Fluxo de Chamadas - Código de função"; +$text['title-call_flow_feature_code']['ro-ro'] = ""; +$text['title-call_flow_feature_code']['ru-ru'] = "Переключатели вызовов - Код функции"; +$text['title-call_flow_feature_code']['sv-se'] = "Samtalsflöden - Funktionskod"; +$text['title-call_flow_feature_code']['uk-ua'] = "Потоки дзвінків"; + $text['label-call_flow_name']['en-us'] = "Name"; $text['label-call_flow_name']['en-gb'] = "Name"; $text['label-call_flow_name']['ar-eg'] = "";