From 262d590819b123b1f57196beef8aca45c4aa0d09 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Thu, 21 May 2015 16:21:01 -0600 Subject: 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 Tested-by: George Joseph --- main/manager_endpoints.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main/manager_endpoints.c') 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. -- cgit v1.2.3