mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Merge "manager_channels: Fix throwing of HangupHandler manager events"
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user