mirror of
https://github.com/jambonz/jambonz-node.git
synced 2026-07-23 20:42:32 +00:00
further fix for conf_hold_status
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ function validate(name, data) {
|
||||
const validateCallUpdate = (opts) => {
|
||||
const {call_hook, child_call_hook, call_status, listen_status, mute_status, whisper, conf_hold_status} = opts;
|
||||
|
||||
assert.ok(call_hook || child_call_hook || call_status || listen_status || mute_status || whisper,
|
||||
assert.ok(call_hook || child_call_hook || call_status || listen_status || mute_status || whisper || conf_hold_status,
|
||||
`calls.update: invalid request ${JSON.stringify(opts)}`);
|
||||
|
||||
if (call_status) assert.ok(['completed', 'no-answer'].includes(call_status),
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@jambonz/node-client",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.8",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@jambonz/node-client",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.8",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"bent": "^7.3.12",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jambonz/node-client",
|
||||
"version": "0.2.7",
|
||||
"version": "0.2.8",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user