]> 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 Development Team <asteriskteam@digium.com>
Thu, 14 Nov 2024 20:02:03 +0000 (20:02 +0000)
commit2a48183169891c386185a31d3a5f2f1e3f9c4610
treecd4b99958118bfae71aa4a5a239201f43ba38f95
parent6795ded3f4ecfa2d34babd5d713913d3396e6a16
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
(cherry picked from commit 144033db31b33dddc6a58bfc842c5dc98852b6cb)
include/asterisk/res_pjsip.h
res/res_pjsip/pjsip_configuration.c