diff options
author | Alfred E. Heggestad <aeh@db.org> | 2015-11-22 17:10:32 +0100 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2015-11-22 17:10:32 +0100 |
commit | d4aa343472e0ea59e74907afa04a0afb07482d93 (patch) | |
tree | 455891257da0f6d73d31c6c29b98c799fb88d74f /include | |
parent | fe6edee8d7b76b98c41a3792c143a8656af46b52 (diff) |
ua: add event UA_EVENT_SHUTDOWN
- this event is sent when the uag is shutting down
- modules can subscribe to this event to check when the
shutdown sequence has started
- presence,mwi: add usage of SHUTDOWN event and add 500ms delay
fixes #30
https://github.com/alfredh/baresip/issues/30
Diffstat (limited to 'include')
-rw-r--r-- | include/baresip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/baresip.h b/include/baresip.h index 74cef89..76da052 100644 --- a/include/baresip.h +++ b/include/baresip.h @@ -489,6 +489,7 @@ enum ua_event { UA_EVENT_CALL_TRANSFER_FAILED, UA_EVENT_CALL_DTMF_START, UA_EVENT_CALL_DTMF_END, + UA_EVENT_SHUTDOWN, UA_EVENT_MAX, }; |