diff options
author | Mark Michelson <mmichelson@digium.com> | 2015-06-25 09:52:04 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2015-06-25 09:52:04 -0500 |
commit | db0521f905ad6f2624990f8476522c6778c18725 (patch) | |
tree | 4983e7763d63c18b6b231026b17ed028d8873483 /include | |
parent | 61658dd219e40a1ab5f155905d61a207d10d5e4f (diff) | |
parent | 80e82dc97f85ce55bbdb311ea2dce641df388c70 (diff) |
Merge "res_pjsip_mwi: Set up unsolicited MWI upon registration." into 13
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/res_pjsip.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h index d4ab16499..24706c9a5 100644 --- a/include/asterisk/res_pjsip.h +++ b/include/asterisk/res_pjsip.h @@ -168,6 +168,8 @@ struct ast_sip_contact { int authenticate_qualify; /*! Qualify timeout. 0 is diabled. */ double qualify_timeout; + /*! Endpoint that added the contact, only available in observers */ + struct ast_sip_endpoint *endpoint; }; #define CONTACT_STATUS "contact_status" @@ -962,12 +964,14 @@ struct ast_sip_contact *ast_sip_location_retrieve_contact(const char *contact_na * \param expiration_time Optional expiration time of the contact * \param path_info Path information * \param user_agent User-Agent header from REGISTER request + * \param endpoint The endpoint that resulted in the contact being added * * \retval -1 failure * \retval 0 success */ int ast_sip_location_add_contact(struct ast_sip_aor *aor, const char *uri, - struct timeval expiration_time, const char *path_info, const char *user_agent); + struct timeval expiration_time, const char *path_info, const char *user_agent, + struct ast_sip_endpoint *endpoint); /*! * \brief Update a contact |