mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-21 12:54:56 +00:00
Corrected response class for stopPlayback
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -145,7 +145,7 @@ static void ast_ari_stop_playback_cb(
|
||||
break;
|
||||
default:
|
||||
if (200 <= code && code <= 299) {
|
||||
is_valid = ast_ari_validate_playback(
|
||||
is_valid = ast_ari_validate_void(
|
||||
response->message);
|
||||
} else {
|
||||
ast_log(LOG_ERROR, "Invalid error response %d for /playback/{playbackId}\n", code);
|
||||
|
@@ -31,7 +31,7 @@
|
||||
"httpMethod": "DELETE",
|
||||
"summary": "Stop a playback.",
|
||||
"nickname": "stopPlayback",
|
||||
"responseClass": "Playback",
|
||||
"responseClass": "void",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "playbackId",
|
||||
|
Reference in New Issue
Block a user