@jambonz/node-red-contrib-jambonz 2.4.25 → 2.4.26
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 +11 -5
- package/src/nodes/lcc.js +1 -0
package/package.json
CHANGED
package/src/nodes/lcc.html
CHANGED
|
@@ -60,10 +60,16 @@
|
|
|
60
60
|
return action !== 'send_dtmf' || v.length > 0;
|
|
61
61
|
}},
|
|
62
62
|
dtmfDigitType: {value: 'str'},
|
|
63
|
-
dtmfDuration: {value: ''
|
|
63
|
+
dtmfDuration: {value: '', validate: function(v) {
|
|
64
|
+
const action = $('#node-input-action').val();
|
|
65
|
+
return action !== 'send_dtmf' || v.length > 0;
|
|
66
|
+
}},
|
|
64
67
|
dtmfDurationType: {value: 'str'},
|
|
65
|
-
tag: {value: ''
|
|
66
|
-
|
|
68
|
+
tag: {value: '{}', validate: function(v) {
|
|
69
|
+
const action = $('#node-input-action').val();
|
|
70
|
+
return action !== 'tag' || v.length > 0;
|
|
71
|
+
}},
|
|
72
|
+
tagType: {value: 'json'},
|
|
67
73
|
},
|
|
68
74
|
inputs:1,
|
|
69
75
|
outputs:1,
|
|
@@ -118,7 +124,7 @@
|
|
|
118
124
|
});
|
|
119
125
|
$('#node-input-sipRequestHeaders').typedInput({
|
|
120
126
|
default: $('#node-input-sipRequestHeadersType').val(),
|
|
121
|
-
types: ['
|
|
127
|
+
types: ['msg', 'flow', 'global', 'json', 'jsonata'],
|
|
122
128
|
typeField: $('#node-input-sipRequestHeadersType')
|
|
123
129
|
});
|
|
124
130
|
$('#node-input-siprecServerURL').typedInput({
|
|
@@ -143,7 +149,7 @@
|
|
|
143
149
|
});
|
|
144
150
|
$('#node-input-tag').typedInput({
|
|
145
151
|
default: $('#node-input-tagType').val(),
|
|
146
|
-
types: ['
|
|
152
|
+
types: ['msg', 'flow', 'global', 'json', 'jsonata', 'env', mustacheType],
|
|
147
153
|
typeField: $('#node-input-tagType')
|
|
148
154
|
});
|
|
149
155
|
|