diff --git a/main/manager_channels.c b/main/manager_channels.c index 218e0b4a60..2655cf6723 100644 --- a/main/manager_channels.c +++ b/main/manager_channels.c @@ -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;