mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
It was my intent with the introduction of dialplan -> destinations to allow non numeric destination numbers this change enables non numeric destination numbers to be used with inbound routes.
This commit is contained in:
@@ -1,69 +1,101 @@
|
||||
<?php
|
||||
|
||||
// main
|
||||
$text['title-dialplan-inbound-add']['en-us'] = 'Inbound Call Routing';
|
||||
$text['description-dialplan-inbound-add']['en-us'] = 'The public dialplan is used to route incoming calls to destinations based on one or more conditions and context. It can send incoming calls to an auto attendant, huntgroup, extension, external number, or a script.';
|
||||
|
||||
$text['label-access-denied']['en-us'] = 'access denied';
|
||||
|
||||
$text['button-back']['en-us'] = 'Back';
|
||||
$text['title-dialplan-inbound-add']['pt-pt'] = '';
|
||||
|
||||
//begin: Basic
|
||||
$text['description-dialplan-inbound-add']['en-us'] = 'The public dialplan is used to route incoming calls to destinations based on one or more conditions and context. It can send incoming calls to an auto attendant, huntgroup, extension, external number, or a script.';
|
||||
$text['description-dialplan-inbound-add']['pt-pt'] = '';
|
||||
|
||||
$text['label-access-denied']['en-us'] = 'access denied';
|
||||
$text['label-access-denied']['pt-pt'] = '';
|
||||
|
||||
$text['button-back']['en-us'] = 'Back';
|
||||
$text['button-back']['pt-pt'] = '';
|
||||
|
||||
// basic
|
||||
$text['button-basic']['en-us'] = 'Basic';
|
||||
|
||||
$text['button-basic']['pt-pt'] = '';
|
||||
|
||||
$text['label-name']['en-us'] = 'Name';
|
||||
$text['description-name']['en-us'] = 'Please enter an inbound route name.';
|
||||
$text['label-name']['pt-pt'] = '';
|
||||
|
||||
$text['description-name']['en-us'] = 'Please enter an inbound route name.';
|
||||
$text['description-name']['pt-pt'] = '';
|
||||
|
||||
$text['label-destination-number']['en-us'] = 'Destination Number';
|
||||
|
||||
$text['label-destination-number']['pt-pt'] = '';
|
||||
|
||||
$text['label-select-inbound-destination-number']['en-us'] = 'Select the inbound destination number.';
|
||||
|
||||
$text['label-select-inbound-destination-number']['pt-pt'] = '';
|
||||
|
||||
$text['button-add']['en-us'] = 'Add';
|
||||
$text['button-add']['pt-pt'] = '';
|
||||
|
||||
$text['label-action']['en-us'] = 'Action';
|
||||
|
||||
$text['label-limit']['en-us'] = 'Limit';
|
||||
|
||||
$text['label-order']['en-us'] = 'Order';
|
||||
|
||||
$text['label-enabled']['en-us'] = 'Enabled';
|
||||
|
||||
$text['label-true']['en-us'] = 'true';
|
||||
|
||||
$text['label-false']['en-us'] = 'false';
|
||||
|
||||
$text['label-description']['en-us'] = 'Description';
|
||||
//end: Basic
|
||||
$text['label-action']['pt-pt'] = '';
|
||||
|
||||
//begin: Advanced
|
||||
$text['label-limit']['en-us'] = 'Limit';
|
||||
$text['label-limit']['pt-pt'] = '';
|
||||
|
||||
$text['label-order']['en-us'] = 'Order';
|
||||
$text['label-order']['pt-pt'] = '';
|
||||
|
||||
$text['label-enabled']['en-us'] = 'Enabled';
|
||||
$text['label-enabled']['pt-pt'] = '';
|
||||
|
||||
$text['label-true']['en-us'] = 'true';
|
||||
$text['label-true']['pt-pt'] = '';
|
||||
|
||||
$text['label-false']['en-us'] = 'false';
|
||||
$text['label-false']['pt-pt'] = '';
|
||||
|
||||
$text['label-description']['en-us'] = 'Description';
|
||||
$text['label-description']['pt-pt'] = '';
|
||||
|
||||
|
||||
// advanced
|
||||
$text['button-advanced']['en-us'] = 'Advanced';
|
||||
|
||||
$text['button-advanced']['pt-pt'] = '';
|
||||
|
||||
$text['label-condition_1']['en-us'] = 'Condition 1';
|
||||
$text['label-condition_1']['pt-pt'] = '';
|
||||
|
||||
$text['label-condition_2']['en-us'] = 'Condition 2';
|
||||
$text['label-condition_2']['pt-pt'] = '';
|
||||
|
||||
$text['label-action_1']['en-us'] = 'Action 1';
|
||||
$text['label-action_1']['pt-pt'] = '';
|
||||
|
||||
$text['label-action_2']['en-us'] = 'Action 2';
|
||||
|
||||
$text['label-field']['en-us'] = 'Field';
|
||||
|
||||
$text['label-expression']['en-us'] = 'Expression';
|
||||
//end: Advanced
|
||||
$text['label-action_2']['pt-pt'] = '';
|
||||
|
||||
$text['label-field']['en-us'] = 'Field';
|
||||
$text['label-field']['pt-pt'] = '';
|
||||
|
||||
$text['label-expression']['en-us'] = 'Expression';
|
||||
$text['label-expression']['pt-pt'] = '';
|
||||
|
||||
// general
|
||||
$text['button-save']['en-us'] = 'Save';
|
||||
|
||||
$text['button-save']['pt-pt'] = '';
|
||||
|
||||
$text['label-required-domain_uuid']['en-us'] = 'Please provide: domain_uuid';
|
||||
|
||||
$text['label-required-domain_uuid']['pt-pt'] = '';
|
||||
|
||||
$text['label-required-dialplan_name']['en-us'] = 'Please provide: Extension Name';
|
||||
|
||||
$text['label-required-dialplan_name']['pt-pt'] = '';
|
||||
|
||||
$text['label-required-condition_field_1']['en-us'] = 'Please provide: Condition Field';
|
||||
|
||||
$text['label-required-condition_field_1']['pt-pt'] = '';
|
||||
|
||||
$text['label-required-condition_expression_1']['en-us'] = 'Please provide: Condition Expression';
|
||||
|
||||
$text['label-required-condition_expression_1']['pt-pt'] = '';
|
||||
|
||||
$text['label-required-action_application_1']['en-us'] = 'Please provide: Action Application';
|
||||
|
||||
$text['label-destination-must-be-num']['en-us'] = 'The destination number must be numeric.';
|
||||
|
||||
$text['label-required-action_application_1']['pt-pt'] = '';
|
||||
|
||||
$text['confirm-update-complete']['en-us'] = 'Update Complete';
|
||||
$text['confirm-update-complete']['pt-pt'] = '';
|
||||
|
||||
?>
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2012
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2013
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -102,9 +102,6 @@ foreach($text as $key => $value) {
|
||||
$condition_expression_1 = str_replace("+", "\+", $condition_expression_1);
|
||||
$condition_expression_1 = '^'.$condition_expression_1.'$';
|
||||
}
|
||||
else {
|
||||
$msg .= "".$text['label-destination-must-be-num']."<br>\n";
|
||||
}
|
||||
}
|
||||
$dialplan_enabled = check_str($_POST["dialplan_enabled"]);
|
||||
$dialplan_description = check_str($_POST["dialplan_description"]);
|
||||
|
||||
Reference in New Issue
Block a user