]> 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:29:19 +0000 (18:29 +0000)
commitfaf046ea86a22cdc2b4abc4ca6b7a0501a76a0b0
tree39b1e1a0a022a5adabb08cf9144d859ae3c3948f
parent95656c409dd6741783558231149efcb9d4de9a49
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 f89e56c178a30db81de90da184baa0e922544b60)
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