]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Tue, 12 Nov 2024 20:16:28 +0000 (20:16 +0000)
commit3dfac27ef2af798286d001f71335698b5fcb3777
tree1db4f7d9c80b2c91966c223ec5624ee52b606cc0
parentd1ed1018c426726976ff8a7132072f1f5ae161df
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