]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Move tenantid to end of ast_sip_endpoint
authorGeorge Joseph <gjoseph@sangoma.com>
Wed, 6 Nov 2024 17:31:08 +0000 (10:31 -0700)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Tue, 12 Nov 2024 20:16:36 +0000 (20:16 +0000)
commit3e9b00a115b143210a51f5d875d0a542bc19af07
treeaad69d8203f8d02208fba0639eda19507f058667
parent5d26fef4077e79822d4b738dece4693dfa74a2b7
res_pjsip: Move tenantid to end of ast_sip_endpoint

The tenantid field was originally added to the ast_sip_endpoint
structure at the end of the AST_DECLARE_STRING_FIELDS block.  This
caused everything after it in the structure to move down in memory
and break ABI compatibility.  It's now at the end of the structure
as an AST_STRING_FIELD_EXTENDED.  Given the number of string fields
in the structure now, the initial string field allocation was
also increased from 64 to 128 bytes.

Resolves: #982
include/asterisk/res_pjsip.h
res/res_pjsip/pjsip_configuration.c