Skip to content
Snippets Groups Projects
Commit 43ef73ad authored by zuul's avatar zuul Committed by Gerrit Code Review
Browse files

Merge "resource_channels.c: add hangup reason "answered_elsewhere"."

parents 7437467d 91993eba
Branches
Tags
No related merge requests found
......@@ -886,6 +886,8 @@ void ast_ari_channels_hangup(struct ast_variable *headers,
cause = AST_CAUSE_CONGESTION;
} else if (!strcmp(args->reason, "no_answer")) {
cause = AST_CAUSE_NOANSWER;
} else if(!strcmp(args->reason, "answered_elsewhere")) {
cause = AST_CAUSE_ANSWERED_ELSEWHERE;
} else {
ast_ari_response_error(
response, 400, "Invalid Reason",
......
......@@ -400,7 +400,8 @@
"normal",
"busy",
"congestion",
"no_answer"
"no_answer",
"answered_elsewhere"
]
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment