]> 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:01:00 +0000 (20:01 +0000)
commitec5387748c0e58b219c4e776da4717ce08db9156
tree72ba6addd7ac5b774dda874c9e37f875d659cdae
parent4d7d5deab399edbaf2a91e973391b4928f31b48d
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 3dfac27ef2af798286d001f71335698b5fcb3777)
include/asterisk/res_pjsip.h
res/res_pjsip/pjsip_configuration.c