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

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

View File

@@ -988,11 +988,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;