Browse Source

Dead Air submodule

pull/4/head
Vladimir Barkasov 6 years ago
parent
commit
64c48a60de
2 changed files with 28 additions and 0 deletions
  1. +4
    -0
      src/apps/callflows/i18n/en-US.json
  2. +24
    -0
      src/apps/callflows/submodules/misc/misc.js

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

@ -255,6 +255,10 @@
"play_exit_tone": "Play Exit Tone",
"play_exit_tone_help": "Will play a tone whenever a caller exits the conference if checked"
},
"dead_air": {
"dead_air": "Dead Air",
"tooltip": "Answers the call and switches media off. Could be useful for external calls/conferences recording over inbound leg."
},
"device": {
"device": "Device",
"device_tip": "Ring a VoIP or cell phone or other device",


+ 24
- 0
src/apps/callflows/submodules/misc/misc.js View File

@ -1306,6 +1306,30 @@ define(function(require) {
callback();
}
}
},
'dead_air[]': {
name: self.i18n.active().callflows.dead_air.dead_air,
icon: 'volume-off',
category: self.i18n.active().oldCallflows.basic_cat,
module: 'dead_air',
tip: self.i18n.active().callflows.dead_air.tooltip,
data: {},
rules: [
{
type: 'quantity',
maxSize: '1'
}
],
isUsable: 'true',
weight: 48,
caption: function(node, caption_map) {
return '';
},
edit: function(node, callback) {
if (typeof callback === 'function') {
callback();
}
}
}
});
},


Loading…
Cancel
Save