diff --git a/res/res_pjsip/pjsip_distributor.c b/res/res_pjsip/pjsip_distributor.c
index e59305ec57396d6006fc6d9a28e6b4fec5781620..5cc645cc3d90f2aa1f6da534a57036826a055eaf 100644
--- a/res/res_pjsip/pjsip_distributor.c
+++ b/res/res_pjsip/pjsip_distributor.c
@@ -228,6 +228,11 @@ static int create_artificial_endpoint(void)
 	}
 
 	AST_VECTOR_INIT(&artificial_endpoint->inbound_auths, 1);
+	/* Pushing a bogus value into the vector will ensure that
+	 * the proper size of the vector is returned. This value is
+	 * not actually used anywhere
+	 */
+	AST_VECTOR_APPEND(&artificial_endpoint->inbound_auths, "artificial-auth");
 	return 0;
 }