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