mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-04-02 08:20:50 +00:00
Compare commits
10 Commits
feat/advan
...
v0.0.26
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c3d86c807 | ||
|
|
7e986acc17 | ||
|
|
d5c535c02c | ||
|
|
6e819279d1 | ||
|
|
24e73a4dc6 | ||
|
|
cfd367f185 | ||
|
|
f472de9638 | ||
|
|
45a2a039cd | ||
|
|
4a345633a3 | ||
|
|
f14ff2e319 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@jambonz/verb-specifications",
|
"name": "@jambonz/verb-specifications",
|
||||||
"version": "0.0.22",
|
"version": "0.0.26",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@jambonz/verb-specifications",
|
"name": "@jambonz/verb-specifications",
|
||||||
"version": "0.0.22",
|
"version": "0.0.26",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@jambonz/verb-specifications",
|
"name": "@jambonz/verb-specifications",
|
||||||
"version": "0.0.22",
|
"version": "0.0.26",
|
||||||
"description": "Jambonz Verb Specification Utilities",
|
"description": "Jambonz Verb Specification Utilities",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -364,7 +364,8 @@
|
|||||||
"enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"]
|
"enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"]
|
||||||
},
|
},
|
||||||
"recordingID": "string",
|
"recordingID": "string",
|
||||||
"siprecServerURL": "string"
|
"siprecServerURL": "string|array",
|
||||||
|
"headers": "object"
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"action"
|
"action"
|
||||||
@@ -423,7 +424,7 @@
|
|||||||
"earlyMedia": "boolean"
|
"earlyMedia": "boolean"
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"recognizer"
|
"transcriptionHook"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"target": {
|
"target": {
|
||||||
|
|||||||
@@ -36,6 +36,24 @@ test("validate correct verbs", async (t) => {
|
|||||||
"actionHook": "/userInput"
|
"actionHook": "/userInput"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"verb": "config",
|
||||||
|
"record": {
|
||||||
|
"action": "startCallRecording",
|
||||||
|
"siprecServerURL": ["sip:srs@recording.example.com","sip:srs@recording.example.com"],
|
||||||
|
"headers" : {
|
||||||
|
"X-Header1": "Value1",
|
||||||
|
"X-Header2": "Value2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"verb": "config",
|
||||||
|
"record": {
|
||||||
|
"action": "startCallRecording",
|
||||||
|
"siprecServerURL": "sip:srs@recording.example.com"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"verb": "dequeue",
|
"verb": "dequeue",
|
||||||
"name": "support",
|
"name": "support",
|
||||||
|
|||||||
Reference in New Issue
Block a user