Merge "manager_channels: Fix throwing of HangupHandler manager events" into 13

This commit is contained in:
Joshua C. Colp
2019-01-23 09:52:02 -06:00
committed by Gerrit Code Review

View File

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