--- /dev/null
+++ b/pjlib/include/pj/config_site.h
-@@ -0,0 +1,83 @@
+@@ -0,0 +1,91 @@
+/*
+ * Asterisk config_site.h
+ */
+#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
--- /dev/null
+--- a/pjsip/src/pjsip/sip_transport.c
++++ b/pjsip/src/pjsip/sip_transport.c
+@@ -2088,15 +2088,17 @@ PJ_DEF(pj_ssize_t) pjsip_tpmgr_receive_p
+ * which were sent to keep NAT bindings.
+ */
+ if (tmp.slen) {
+- PJ_LOG(1, (THIS_FILE,
+- "Error processing %d bytes packet from %s %s:%d %.*s:\n"
+- "%.*s\n"
+- "-- end of packet.",
++ PJ_LOG(2, (THIS_FILE,
++ "Dropping %d bytes packet from %s %s:%d %.*s\n",
+ msg_fragment_size,
+ rdata->tp_info.transport->type_name,
+- rdata->pkt_info.src_name,
++ rdata->pkt_info.src_name,
+ rdata->pkt_info.src_port,
+- (int)tmp.slen, tmp.ptr,
++ (int)tmp.slen, tmp.ptr));
++ PJ_LOG(4, (THIS_FILE,
++ "Dropped packet:"
++ "%.*s\n"
++ "-- end of packet.",
+ (int)msg_fragment_size,
+ rdata->msg_info.msg_buf));
+ }