diff options
author | Alfred E. Heggestad <aeh@db.org> | 2016-02-28 18:04:19 +0100 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2016-02-28 18:04:19 +0100 |
commit | 7e002c7d0aad76fb78b57679d597fc270cd6e573 (patch) | |
tree | 345d2f6e0aab658d6ac04d7e097458e8d612da0b /src | |
parent | ee1719f51d31eecf061b7b126782963fb5e020ca (diff) |
ua: add UA_EVENT_CALL_CLOSED on ua_hangup
thanks to Gary Metalle for testing
ref. issue #111
Diffstat (limited to 'src')
-rw-r--r-- | src/ua.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |