From: George Joseph Date: Fri, 11 Aug 2023 13:10:18 +0000 (-0600) Subject: pjproject_bundled: Increase PJSIP_MAX_MODULE to 38 X-Git-Tag: 21.0.0-rc1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e37cfa85bb63ed28110f812429f6a9c08600af70;p=thirdparty%2Fasterisk.git pjproject_bundled: Increase PJSIP_MAX_MODULE to 38 The default is 32 with 8 being used by pjproject itself. Recent commits have put us over the limit resulting in assertions in pjproject. Since this value is used in invites, dialogs, transports and subscriptions as well as the global pjproject endpoint, we don't want to increase it too much. Resolves: #255 (cherry picked from commit d3ee0e65163f3dd3720f7f7333ad54e0253c1477) --- diff --git a/third-party/pjproject/patches/config_site.h b/third-party/pjproject/patches/config_site.h index 9f4d678782..bb40c7bcd4 100644 --- a/third-party/pjproject/patches/config_site.h +++ b/third-party/pjproject/patches/config_site.h @@ -91,3 +91,11 @@ #define PJSIP_TSX_UAS_CONTINUE_ON_TP_ERROR 0 #define PJ_SSL_SOCK_OSSL_USE_THREAD_CB 0 #define PJSIP_AUTH_ALLOW_MULTIPLE_AUTH_HEADER 1 + +/* + * The default is 32 with 8 being used by pjproject itself. + * Since this value is used in invites, dialogs, transports + * and subscriptions as well as the global pjproject endpoint, + * we don't want to increase it too much. + */ +#define PJSIP_MAX_MODULE 38