@jambonz/node-red-contrib-jambonz 2.4.16 → 2.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/nodes/lcc.html +2 -0
- package/src/nodes/lcc.js +6 -0
package/package.json
CHANGED
package/src/nodes/lcc.html
CHANGED
|
@@ -292,6 +292,8 @@
|
|
|
292
292
|
<option value="resume">resume listen audio feed</option>
|
|
293
293
|
<option value="redirect">redirect call</option>
|
|
294
294
|
<option value="whisper">whisper</option>
|
|
295
|
+
<option value="pause_transcribe">pause transcribe</option>
|
|
296
|
+
<option value="resume_transcribe">resume transcribe</option>
|
|
295
297
|
<option value="sip_request">sip request</option>
|
|
296
298
|
<option value="start_call_recording">start call recording</option>
|
|
297
299
|
<option value="stop_call_recording">stop call recording</option>
|
package/src/nodes/lcc.js
CHANGED
|
@@ -44,6 +44,12 @@ function lcc(config) {
|
|
|
44
44
|
case 'resume':
|
|
45
45
|
opts.listen_status = 'resume';
|
|
46
46
|
break;
|
|
47
|
+
case 'pause_transcribe':
|
|
48
|
+
opts.transcribe_status = 'pause';
|
|
49
|
+
break;
|
|
50
|
+
case 'resume_transcribe':
|
|
51
|
+
opts.transcribe_status = 'resume';
|
|
52
|
+
break;
|
|
47
53
|
case 'redirect':
|
|
48
54
|
opts.call_hook = {url: new_resolve(RED, config.callHook, config.callHookType, node, msg)};
|
|
49
55
|
if (config.childCallHook) {
|