path: root/include
diff options
authorAlfred E. Heggestad <>2015-10-31 19:53:31 +0100
committerAlfred E. Heggestad <>2015-10-31 19:53:31 +0100
commit7c2feeeafb9ffb672697872adda0bdb155df53bc (patch)
tree4aca3982dd8ce04741bdd63d38885eb15c5be69f /include
parent136f8543e65e29fea1538fa7cd9a4dbdd533a6eb (diff)
presence: use struct sipevent_sock instance from core
- remove own instance of "struct sipevent_sock" in notifier - add a new handler uag_set_sub_handler for incoming SUBSCRIBE messages after this patch there should be only 1 global instance of sipevent_sock, in ua.c -- this patch will also fix a bug where sipevent could not find the subscription/notification and replies with 481
Diffstat (limited to 'include')
1 files changed, 1 insertions, 0 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 2f91d6d..74cef89 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -546,6 +546,7 @@ void ua_stop_all(bool forced);
int uag_reset_transp(bool reg, bool reinvite);
int uag_event_register(ua_event_h *eh, void *arg);
void uag_event_unregister(ua_event_h *eh);
+void uag_set_sub_handler(sip_msg_h *subh);
int ua_print_sip_status(struct re_printf *pf, void *unused);
struct ua *uag_find(const struct pl *cuser);
struct ua *uag_find_aor(const char *aor);