TT#81166 CF: As a Customer, I want to add new forwarding groups "If call from ..."

Change-Id: I421dbdb6606700af34d52426149990516c5da764
changes/29/40029/2
Carlo Venusino 5 years ago
parent a252fe21d8
commit a34a8b05de

@ -170,6 +170,10 @@
case "csc-timeout":
title = `${this.$t('pages.newCallForward.titles.timeoutGroup')}`;
break;
case "csc-unconditional-from":
case "csc-timeout-from":
title = `${this.$t('pages.newCallForward.titles.timeoutGroupFrom')}`;
break;
case "csc-offline":
title = `${this.$t('pages.newCallForward.titles.offlineGroup')}`;
break;

@ -199,6 +199,21 @@
}
}
break;
case "unconditional-from":{
if(this.toggleDefaultNumber){
const tempTimeoutFwdGroup = await this.$store.dispatch('newCallForward/getForwardGroupById', 'temp-csc-timeout-from');
if(!tempTimeoutFwdGroup){
await this.$store.dispatch('newCallForward/addTempGroup','timeoutFrom' );
}
}
else{
const tempUnconditionalFwdGroup = await this.$store.dispatch('newCallForward/getForwardGroupById', 'temp-csc-unconditional-from');
if(!tempUnconditionalFwdGroup){
await this.$store.dispatch('newCallForward/addTempGroup','unconditionalFrom' );
}
}
}
break;
case "offline":{
await this.$store.dispatch('newCallForward/addTempGroup','offline' );
}

@ -213,6 +213,7 @@
"newCallForward": {
"titles": {
"timeoutGroup" : "If online",
"timeoutGroupFrom" : "If online and call from ...",
"offlineGroup" : "If offline",
"busyGroup" : "If busy"
},

Loading…
Cancel
Save