Browse Source

Fix eavesdrop feature

pull/4/head
Vladimir Barkasov 6 years ago
parent
commit
016f580a2d
2 changed files with 19 additions and 19 deletions
  1. +1
    -1
      src/apps/callflows/i18n/en-US.json
  2. +18
    -18
      src/apps/callflows/submodules/featurecodes/featurecodes.js

+ 1
- 1
src/apps/callflows/i18n/en-US.json View File

@ -928,7 +928,7 @@
"check_voicemail": "Check Voicemail",
"miscellaneous_cat": "Miscellaneous",
"direct_to_voicemail": "Direct to Voicemail",
"eavesdrop": "Eavesdrop",
"eavesdrop_feature": "Eavesdrop Feature",
"eavesdropPopup": {
"title": "Eavesdrop",
"eavesdropTarget": {


+ 18
- 18
src/apps/callflows/submodules/featurecodes/featurecodes.js View File

@ -665,24 +665,24 @@ define(function(require) {
return number;
}
},
'eavesdrop': {
name: self.i18n.active().callflows.featureCodes.eavesdrop,
icon: 'phone',
category: self.i18n.active().callflows.featureCodes.miscellaneous_cat,
module: 'eavesdrop',
number_type: 'numbers',
data: {},
enabled: false,
hasStar: true,
editConfiguration: function() {
self.featureCodesEditEavesdrop(this);
},
default_number: '*',
number: this.default_number,
build_regex: function(number) {
return '^\\*' + number + '([0-9]+)$';
}
}
'eavesdrop_feature': {
name: self.i18n.active().callflows.featureCodes.eavesdrop_feature,
icon: 'phone',
category: self.i18n.active().callflows.featureCodes.miscellaneous_cat,
module: 'eavesdrop_feature',
number_type: 'patterns',
data: {},
enabled: false,
hasStar: true,
editConfiguration: function() {
self.featureCodesEditEavesdrop(this);
},
default_number: '77',
number: this.default_number,
build_regex: function(number) {
return '^\\*' + number + '([0-9]*)$';
}
}
/*'call_forward[action=on_busy_enable]': {
name: 'Enable Call-Forward on Busy',
icon: 'phone',


Loading…
Cancel
Save