summaryrefslogtreecommitdiff
path: root/src/ua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ua.c')
-rw-r--r--src/ua.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ua.c b/src/ua.c
index 009553a..65834a6 100644
--- a/src/ua.c
+++ b/src/ua.c
@@ -799,6 +799,8 @@ void ua_hangup(struct ua *ua, struct call *call,
(void)call_hangup(call, scode, reason);
+ ua_event(ua, UA_EVENT_CALL_CLOSED, call, reason);
+
mem_deref(call);
resume_call(ua);