Merge "manager_channels: Fix throwing of HangupHandler manager events"

This commit is contained in:
Friendly Automation 2019-01-23 09:46:00 -06:00 committed by Gerrit Code Review
commit 389b2ab39b
1 changed files with 3 additions and 3 deletions

View File

@ -971,11 +971,11 @@ static void channel_hangup_handler_cb(void *data, struct stasis_subscription *su
return;
}
if (!strcmp(action, "type")) {
if (!strcmp(action, "run")) {
event = "HangupHandlerRun";
} else if (!strcmp(action, "type")) {
} else if (!strcmp(action, "pop")) {
event = "HangupHandlerPop";
} else if (!strcmp(action, "type")) {
} else if (!strcmp(action, "push")) {
event = "HangupHandlerPush";
} else {
return;