diff --git a/src/apps/callflows/i18n/en-US.json b/src/apps/callflows/i18n/en-US.json index 4458d3d..b032e22 100644 --- a/src/apps/callflows/i18n/en-US.json +++ b/src/apps/callflows/i18n/en-US.json @@ -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", diff --git a/src/apps/callflows/submodules/misc/misc.js b/src/apps/callflows/submodules/misc/misc.js index 429bdba..7b890f3 100644 --- a/src/apps/callflows/submodules/misc/misc.js +++ b/src/apps/callflows/submodules/misc/misc.js @@ -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(); + } + } } }); },