Skip to content

Commit

Permalink
menu: use new bevent_call_emit()
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 authored and sreimers committed Aug 26, 2024
1 parent 61d5d1b commit 98b9236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/menu/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,8 @@ static int menu_autoanwser_call(struct call *call)
outgoing = menu_find_call(outgoing_call_test, call);
if (outgoing) {
call_hangup(outgoing, 0, NULL);
ua_event(call_get_ua(outgoing), UA_EVENT_CALL_CLOSED, outgoing,
"Outgoing call cancelled due to auto answer");
bevent_call_emit(UA_EVENT_CALL_CLOSED, outgoing,
"Outgoing call cancelled due to auto answer");
mem_deref(outgoing);
}

Expand Down

0 comments on commit 98b9236

Please sign in to comment.