work on say and gather

This commit is contained in:
Dave Horton
2020-01-13 14:01:19 -05:00
parent 1debb193c2
commit 1a656f3f0e
16 changed files with 1034 additions and 236 deletions

36
lib/utils/constants.json Normal file
View File

@@ -0,0 +1,36 @@
{
"TaskName": {
"Dial": "dial",
"Gather": "gather",
"Hangup": "hangup",
"Listen": "listen",
"Play": "play",
"redirect": "redirect",
"SipDecline": "sip:decline",
"SipNotify": "sip:notify",
"SipRedirect": "sip:redirect",
"Say": "say",
"Transcribe": "transcribe"
},
"CallStatus": {
"Trying": "trying",
"Ringing": "ringing",
"EarlyMedia": "early-media",
"InProgress": "in-progress",
"Queued": "queued",
"Failed": "failed",
"Busy": "busy",
"NoAnswer": "no-answer",
"Completed": "completed"
},
"CallDirection": {
"Inbound": "inbound",
"Outbound": "outbound"
},
"TaskPreconditions": {
"None": "none",
"Endpoint": "endpoint",
"StableCall": "stable-call",
"UnansweredCall": "unanswered-call"
}
}