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