mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-07-04 19:22:00 +00:00
Merge pull request #19 from jambonz/feat/moh_01
add onHoldHook to dial verb
This commit is contained in:
@@ -198,6 +198,7 @@
|
||||
"properties": {
|
||||
"id": "string",
|
||||
"actionHook": "object|string",
|
||||
"onHoldHook": "object|string",
|
||||
"answerOnBridge": "boolean",
|
||||
"callerId": "string",
|
||||
"callerName": "string",
|
||||
|
||||
@@ -67,6 +67,7 @@ test("validate correct verbs", async (t) => {
|
||||
{
|
||||
"verb": "dial",
|
||||
"actionHook": "/outdial",
|
||||
"onHoldHook": "/onHoldHook",
|
||||
"callerId": "+16173331212",
|
||||
"callerName": "Tom",
|
||||
"answerOnBridge": true,
|
||||
|
||||
Reference in New Issue
Block a user