From ca07702e4932f09c5b4a4bf9e7fa98fd725e3ed1 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Fri, 13 Dec 2019 09:22:37 -0500 Subject: [PATCH] add call_hook and call_status_hook to authentication callback response --- db/jambones.sqs | 12 ++++++------ lib/swagger/swagger.yaml | 10 +++++++++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/db/jambones.sqs b/db/jambones.sqs index fb1beb1..27a1549 100644 --- a/db/jambones.sqs +++ b/db/jambones.sqs @@ -917,7 +917,7 @@ - + @@ -1147,17 +1147,17 @@ - + - - - + + + - + diff --git a/lib/swagger/swagger.yaml b/lib/swagger/swagger.yaml index 8b46541..00efa79 100644 --- a/lib/swagger/swagger.yaml +++ b/lib/swagger/swagger.yaml @@ -793,6 +793,14 @@ paths: type: string description: a human-readable message example: authentication granted + call_hook: + type: string + format: url + description: url of application to invoke when this device places a call + call_status_hook: + type: string + format: url + description: url of application to invoke for call status events on calls placed from this device expires: type: number description: | @@ -803,7 +811,7 @@ paths: type: number description: | If provided, represents a period in seconds during which the source IP - address will be blacklisted by the platform (-1 means forever). + address should be blacklisted by the platform (0 means forever). get: summary: list accounts