Browse Source

UI-2256: adding *6883 to feature codes

4.3
Jean-Roch Maitre 10 years ago
parent
commit
9d67b9eec1
3 changed files with 19 additions and 5 deletions
  1. +4
    -1
      i18n/en-US.json
  2. +2
    -1
      submodules/featureCodes/featureCodes.js
  3. +13
    -3
      submodules/strategy/strategy.js

+ 4
- 1
i18n/en-US.json View File

@ -1059,7 +1059,10 @@
"call_recording": "Call Recording",
"__comment": "UI-1395: Added voicemail[single_mailbox_login] feature code",
"__version": "3.20",
"voicemail[single_mailbox_login]": "Check Voicemail (auto login)"
"voicemail[single_mailbox_login]": "Check Voicemail (auto login)",
"__comment": "UI-2256: adding move feature code",
"__version": "4.0",
"move": "Move"
},
"__comment": "UI-1028, v3.20_s0: Added categories for the feature codes.",
"categories": {


+ 2
- 1
submodules/featureCodes/featureCodes.js View File

@ -48,7 +48,8 @@ define(function(require){
"call_waiting[action=enable]",
"call_waiting[action=disable]",
"sound_test_service",
"call_recording"
"call_recording",
"move"
]
},


+ 13
- 3
submodules/strategy/strategy.js View File

@ -142,6 +142,12 @@ define(function(require){
pattern: '^\\*5([0-9]*)$',
moduleName: 'park',
actionName: 'retrieve'
},
{
name: 'move',
number: '6683',
callflowNumber: '*6683',
moduleName: 'move'
}
],
@ -2879,9 +2885,7 @@ define(function(require){
var callflow = {
flow: {
children: {},
data: $.extend(true, (featureCode.extraData || {}), {
action: featureCode.actionName
}),
data: featureCode.extraData || {},
module: featureCode.moduleName
},
featurecode: {
@ -2890,6 +2894,12 @@ define(function(require){
}
};
if(featureCode.hasOwnProperty('actionName')) {
callflow.flow.data = $.extend(callflow.flow.data, {
action: featureCode.actionName
});
}
if('pattern' in featureCode) {
callflow.patterns = [ featureCode.pattern ];
}


Loading…
Cancel
Save