-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new events for the Attendant Menu app
- Loading branch information
1 parent
f78df33
commit 91c43a6
Showing
4 changed files
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "app.attendant-menu.abandoned", | ||
"description": "The user hung up before being transferred.", | ||
|
||
"definitions": { | ||
"payload": { | ||
"type": "object", | ||
"properties": { | ||
"callId": { "type": "string" }, | ||
"fromUri": { "type": "string" }, | ||
"toUri": { "type": "string" } | ||
}, | ||
"required": ["fromUri", "toUri"] | ||
} | ||
}, | ||
|
||
"allOf": [ | ||
{ "$ref": "/base" }, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"payload": { "$ref": "#/definitions/payload" } | ||
}, | ||
"required": ["payload"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "app.attendant-menu.invalid-dtmf", | ||
"description": "The DTMF tones entered by the user map to neither an extension nor a preset option.", | ||
|
||
"definitions": { | ||
"payload": { | ||
"type": "object", | ||
"properties": { | ||
"entry": { "type": "string" }, | ||
"callId": { "type": "string" }, | ||
"fromUri": { "type": "string" }, | ||
"toUri": { "type": "string" } | ||
}, | ||
"required": ["entry", "fromUri", "toUri"] | ||
} | ||
}, | ||
|
||
"allOf": [ | ||
{ "$ref": "/base" }, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"payload": { "$ref": "#/definitions/payload" } | ||
}, | ||
"required": ["payload"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "app.attendant-menu.started", | ||
"description": "The attendant menu started and a recording is played.", | ||
|
||
"definitions": { | ||
"payload": { | ||
"type": "object", | ||
"properties": { | ||
"callId": { "type": "string" }, | ||
"fromUri": { "type": "string" }, | ||
"toUri": { "type": "string" } | ||
}, | ||
"required": ["fromUri", "toUri"] | ||
} | ||
}, | ||
|
||
"allOf": [ | ||
{ "$ref": "/base" }, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"payload": { "$ref": "#/definitions/payload" } | ||
}, | ||
"required": ["payload"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "app.attendant-menu.transferred", | ||
"Description": "A user is successfully transferred to the sip-address associated with an option, or to the extension. (Note: This also occurs when the user is transferred to another Attendant Menu.)", | ||
|
||
"definitions": { | ||
"payload": { | ||
"type": "object", | ||
"properties": { | ||
"entry": { "type": "string" }, | ||
"callId": { "type": "string" }, | ||
"fromUri": { "type": "string" }, | ||
"toUri": { "type": "string" }, | ||
"referTo": { "type": "string" } | ||
}, | ||
"required": ["entry", "fromUri", "toUri", "referTo"] | ||
} | ||
}, | ||
|
||
"allOf": [ | ||
{ "$ref": "/base" }, | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"payload": { "$ref": "#/definitions/payload" } | ||
}, | ||
"required": ["payload"] | ||
} | ||
] | ||
} |