Merge "PJPROJECT logging: Fix detection of max supported log level."
[asterisk/asterisk.git] / res / res_rtp_asterisk.c
index c88c7b5..750e1ef 100644 (file)
@@ -5666,7 +5666,7 @@ static int load_module(void)
 #ifdef HAVE_PJPROJECT
        pj_lock_t *lock;
 
-       pj_log_set_level(ast_option_pjproject_log_level);
+       AST_PJPROJECT_INIT_LOG_LEVEL();
        if (pj_init() != PJ_SUCCESS) {
                return AST_MODULE_LOAD_DECLINE;
        }