Skip to content
Snippets Groups Projects
Commit 15036c29 authored by David M. Lee's avatar David M. Lee
Browse files

Document the 400 error response for originate

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent a73394ab
No related branches found
No related tags found
No related merge requests found
......@@ -142,6 +142,7 @@ static void stasis_http_originate_cb(
switch (code) {
case 500: /* Internal server error */
case 400: /* Invalid parameters for originating a channel. */
is_valid = 1;
break;
default:
......
......@@ -88,6 +88,12 @@
"dataType": "int",
"defaultValue": 30
}
],
"errorResponses": [
{
"code": 400,
"reason": "Invalid parameters for originating a channel."
}
]
}
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment