]> 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:31 +0000 (20:16 +0000)
commit144033db31b33dddc6a58bfc842c5dc98852b6cb
treefbdcbb969c62042895bce65c1734c8f668b38b73
parent184a30efac73d763781784b8632749d1d5be41b7
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