]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Expanding PJSIP endpoint ID and relevant resource length to 255 characters
authorsungtae kim <pchero21@gmail.com>
Fri, 22 Sep 2023 17:32:43 +0000 (02:32 +0900)
committerAsterisk Development Team <asteriskteam@digium.com>
Fri, 12 Jan 2024 18:21:32 +0000 (18:21 +0000)
commiteeea910890a3d87aea123a1b4f6acf6fc338293e
tree5601de490026f13897263e2e55a9b27e36129ced
parenta4433f494d865919e2cfdf8c828ea9d07288cb4d
res_pjsip: Expanding PJSIP endpoint ID and relevant resource length to 255 characters

This commit introduces an extension to the endpoint and relevant
resource sizes for PJSIP, transitioning from its current 40-character
constraint to a more versatile 255-character capacity. This enhancement
significantly overcomes limitations related to domain qualification and
practical usage, ultimately delivering improved functionality. In
addition, it includes adjustments to accommodate the expanded realm size
within the ARI, specifically enhancing the maximum realm length.

Resolves: #345

UserNote: With this update, the PJSIP realm lengths have been extended
to support up to 255 characters.

UpgradeNote: As part of this update, the maximum allowable length
for PJSIP endpoints and relevant resources has been increased from
40 to 255 characters. To take advantage of this enhancement, it is
recommended to run the necessary procedures (e.g., Alembic) to
update your schemas.

(cherry picked from commit 96420f3d48bd5830e0d9babbb91fbbfb606b0ac6)
contrib/ast-db-manage/config/versions/dac2b4c328b8_incease_pjsip_id_length.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
res/ari/internal.h
res/res_pjsip/pjsip_distributor.c
res/res_pjsip_authenticator_digest.c
res/res_pjsip_endpoint_identifier_user.c