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", "call_recording": "Call Recording",
"__comment": "UI-1395: Added voicemail[single_mailbox_login] feature code", "__comment": "UI-1395: Added voicemail[single_mailbox_login] feature code",
"__version": "3.20", "__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.", "__comment": "UI-1028, v3.20_s0: Added categories for the feature codes.",
"categories": { "categories": {


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

@ -48,7 +48,8 @@ define(function(require){
"call_waiting[action=enable]", "call_waiting[action=enable]",
"call_waiting[action=disable]", "call_waiting[action=disable]",
"sound_test_service", "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]*)$', pattern: '^\\*5([0-9]*)$',
moduleName: 'park', moduleName: 'park',
actionName: 'retrieve' actionName: 'retrieve'
},
{
name: 'move',
number: '6683',
callflowNumber: '*6683',
moduleName: 'move'
} }
], ],
@ -2879,9 +2885,7 @@ define(function(require){
var callflow = { var callflow = {
flow: { flow: {
children: {}, children: {},
data: $.extend(true, (featureCode.extraData || {}), {
action: featureCode.actionName
}),
data: featureCode.extraData || {},
module: featureCode.moduleName module: featureCode.moduleName
}, },
featurecode: { 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) { if('pattern' in featureCode) {
callflow.patterns = [ featureCode.pattern ]; callflow.patterns = [ featureCode.pattern ];
} }


Loading…
Cancel
Save