summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexei Gradinari <alex2grad@gmail.com>2016-04-15 15:26:15 -0400
committerJoshua Colp <jcolp@digium.com>2016-05-02 09:59:08 -0300
commit3cb8934de0db468d600beddd3464b44d33759cdc (patch)
tree69f5c5807ad778eaf004852019afeb89113a8722 /include
parent69ced86c6c1847e5c4b683e35ccd407f3eff594a (diff)
pjsip: Added "reg_server" to contacts.
If the Asterisk system name is set in asterisk.conf, it will be stored into the "reg_server" field in the ps_contacts table to facilitate multi-server setups. ASTERISK-25931 Change-Id: Ia8f6bd2267809c78753b52bcf21835b9b59f4cb8
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/res_pjsip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h
index 5ffeaff60..f284702df 100644
--- a/include/asterisk/res_pjsip.h
+++ b/include/asterisk/res_pjsip.h
@@ -248,6 +248,8 @@ struct ast_sip_contact {
struct ast_sip_endpoint *endpoint;
/*! The name of the aor this contact belongs to */
char *aor;
+ /*! Asterisk Server name */
+ AST_STRING_FIELD_EXTENDED(reg_server);
};
#define CONTACT_STATUS "contact_status"