]> 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:32:12 +0000 (18:32 +0000)
commit39c2f5733ef0d7bbda18040068e12898b2062c13
tree3114edc608528b9417ea35b9ecf2c32427cab57a
parent56d568d1d537a1c3a3afc4f7ff279bbd44ec5fa7
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 9b70b18dec3e9d788a907867925a5c613cc10e70)
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