mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 03:02:15 +00:00
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>
This commit is contained in:
@@ -178,7 +178,9 @@ struct ast_sip_contact {
|
||||
enum ast_sip_contact_status_type {
|
||||
UNAVAILABLE,
|
||||
AVAILABLE,
|
||||
UNKNOWN
|
||||
UNKNOWN,
|
||||
CREATED,
|
||||
REMOVED,
|
||||
};
|
||||
|
||||
/*!
|
||||
|
@@ -118,6 +118,12 @@ void ast_endpoint_blob_publish(struct ast_endpoint *endpoint, struct stasis_mess
|
||||
*/
|
||||
struct stasis_message_type *ast_endpoint_state_type(void);
|
||||
|
||||
/*!
|
||||
* \brief Message type for endpoint contact state changes.
|
||||
* \since 13.5
|
||||
*/
|
||||
struct stasis_message_type *ast_endpoint_contact_state_type(void);
|
||||
|
||||
/*!
|
||||
* \brief Message type for \ref ast_endpoint_snapshot.
|
||||
* \since 12
|
||||
|
Reference in New Issue
Block a user