summaryrefslogtreecommitdiff
path: root/main/manager_endpoints.c
diff options
context:
space:
mode:
authorGeorge Joseph <george.joseph@fairview5.com>2015-05-21 16:21:01 -0600
committerGeorge Joseph <george.joseph@fairview5.com>2015-05-26 15:32:45 -0600
commit262d590819b123b1f57196beef8aca45c4aa0d09 (patch)
tree9eb0814bbf51f1fbf54d83b20efada205292211f /main/manager_endpoints.c
parent87c03b792b0b87447cb820fcbfab6a859996ddd6 (diff)
res_pjsip: Add AMI events for chan_pjsip contact lifecycle changes
Add a new ContactStatus AMI event. Publish the following status/state changes: Created Removed Reachable Unreachable Unknown Contact URI, new status/state, aor and endpoint names, and the last qualify rtt result are included in the event. ASTERISK-25114 #close Change-Id: Id25aae5f7122facba183273efb3e8f36c20fb61e Reported-by: George Joseph <george.joseph@fairview5.com> Tested-by: George Joseph <george.joseph@fairview5.com>
Diffstat (limited to 'main/manager_endpoints.c')
-rw-r--r--main/manager_endpoints.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/manager_endpoints.c b/main/manager_endpoints.c
index 0d0866016..b2a45734a 100644
--- a/main/manager_endpoints.c
+++ b/main/manager_endpoints.c
@@ -75,6 +75,7 @@ int manager_endpoints_init(void)
}
ret |= stasis_message_router_add(endpoint_router, ast_endpoint_state_type(), endpoint_state_cb, NULL);
+ ret |= stasis_message_router_add(endpoint_router, ast_endpoint_contact_state_type(), endpoint_state_cb, NULL);
/* If somehow we failed to add any routes, just shut down the whole
* thing and fail it.