From 3cb8934de0db468d600beddd3464b44d33759cdc Mon Sep 17 00:00:00 2001 From: Alexei Gradinari Date: Fri, 15 Apr 2016 15:26:15 -0400 Subject: 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 --- include/asterisk/res_pjsip.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/asterisk/res_pjsip.h') 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" -- cgit v1.2.3