Compare commits

...

15 Commits

Author SHA1 Message Date
Quan HL
185e4df06e obholdMusic for config verb 2023-08-10 13:56:10 +07:00
Quan HL
c22e8c9cf0 feat: add onhold music to dial verb 2023-07-25 17:56:28 +07:00
Dave Horton
1c3d86c807 0.0.26 2023-07-20 07:35:08 -04:00
Dave Horton
7e986acc17 Merge pull request #15 from jambonz/feat/siprec_custom_headers
feat confige record allow SIP custom headers
2023-07-20 07:34:29 -04:00
Quan HL
d5c535c02c feat confige record allow SIP custom headers 2023-07-20 15:12:10 +07:00
Dave Horton
6e819279d1 0.0.25 2023-06-19 06:45:03 +01:00
Dave Horton
24e73a4dc6 Merge pull request #13 from jambonz/feat/multi_srs
config with multiple siprecServerURL
2023-06-19 06:44:28 +01:00
Quan HL
cfd367f185 config with multiple siprecServerURL 2023-06-19 07:26:53 +07:00
Dave Horton
f472de9638 0.0.24 2023-06-02 12:53:12 -04:00
Dave Horton
45a2a039cd transcribe: recognizer is not required, but transcriptionHook is 2023-06-02 12:53:00 -04:00
Dave Horton
4a345633a3 0.0.23 2023-05-28 21:55:58 -04:00
Dave Horton
f14ff2e319 Merge pull request #12 from jambonz/feat/advanced_queue
feat: enqueue dequeue priority and callSid
2023-05-28 21:55:35 -04:00
Quan HL
c85cb7e67e feat: enqueue dequeue priority and callSid 2023-05-29 07:09:00 +07:00
Dave Horton
8ccb13f962 0.0.22 2023-05-09 11:48:09 -04:00
Dave Horton
044ce2d4bb add synthesizer.options 2023-05-09 11:48:00 -04:00
4 changed files with 36 additions and 10 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@jambonz/verb-specifications",
"version": "0.0.21",
"version": "0.0.26",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@jambonz/verb-specifications",
"version": "0.0.21",
"version": "0.0.26",
"license": "MIT",
"dependencies": {
"debug": "^4.3.4",

View File

@@ -1,6 +1,6 @@
{
"name": "@jambonz/verb-specifications",
"version": "0.0.21",
"version": "0.0.26",
"description": "Jambonz Verb Specification Utilities",
"main": "index.js",
"scripts": {

View File

@@ -45,7 +45,8 @@
"listen": "#listenOptions",
"amd": "#amd",
"notifyEvents": "boolean",
"reset": "string|array"
"reset": "string|array",
"onHoldMusic": "string"
},
"required": []
},
@@ -89,7 +90,8 @@
"name": "string",
"actionHook": "object|string",
"timeout": "number",
"beep": "boolean"
"beep": "boolean",
"callSid": "string"
},
"required": [
"name"
@@ -101,6 +103,7 @@
"name": "string",
"actionHook": "object|string",
"waitHook": "object|string",
"priority": "number",
"_": "object"
},
"required": [
@@ -362,7 +365,8 @@
"enum": ["startCallRecording", "stopCallRecording", "pauseCallRecording", "resumeCallRecording"]
},
"recordingID": "string",
"siprecServerURL": "string"
"siprecServerURL": "string|array",
"headers": "object"
},
"required": [
"action"
@@ -421,7 +425,7 @@
"earlyMedia": "boolean"
},
"required": [
"recognizer"
"transcriptionHook"
]
},
"target": {
@@ -480,7 +484,8 @@
"gender": {
"type": "string",
"enum": ["MALE", "FEMALE", "NEUTRAL"]
}
},
"options": "object"
},
"required": [
"vendor"

View File

@@ -34,13 +34,33 @@ test("validate correct verbs", async (t) => {
"enable": true,
"input" : ["speech"],
"actionHook": "/userInput"
},
"onHoldMusic": "http://server.com/hold"
},
{
"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",
"name": "support",
"beep": true,
"timeout": 60
"timeout": 60,
"callSid": "call_sid1234"
},
{
"verb": "dial",
@@ -95,7 +115,8 @@ test("validate correct verbs", async (t) => {
"verb": "enqueue",
"name": "support",
"actionHook": "/queue-action",
"waitHook": "/queue-wait"
"waitHook": "/queue-wait",
"priority": 50
},
{
"verb": "gather",