Removed ast_log again for testing. Seems that it also causes dead-locks when it is...
authorAndreas Eversberg <jolly@eversberg.eu>
Mon, 26 Jul 2010 06:44:07 +0000 (08:44 +0200)
committerAndreas Eversberg <jolly@eversberg.eu>
Mon, 26 Jul 2010 06:44:07 +0000 (08:44 +0200)
chan_lcr.c

index ebaba2a..edf38a7 100644 (file)
@@ -246,7 +246,8 @@ void chan_lcr_log(int type, const char *file, int line, const char *function, st
                strncpy(ast_text, ast->name, sizeof(ast_text)-1);
        ast_text[sizeof(ast_text)-1] = '\0';
 
                strncpy(ast_text, ast->name, sizeof(ast_text)-1);
        ast_text[sizeof(ast_text)-1] = '\0';
 
-       ast_log(type, file, line, function, "[call=%s ast=%s] %s", call_text, ast_text, buffer);
+//     ast_log(type, file, line, function, "[call=%s ast=%s] %s", call_text, ast_text, buffer);
+       printf("[call=%s ast=%s] %s", call_text, ast_text, buffer);
 
        ast_mutex_unlock(&log_lock);
 }
 
        ast_mutex_unlock(&log_lock);
 }