Oops for mgcp and logger fix for old linux

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Mark Spencer 21 years ago
parent 483146e034
commit 419e5113e6

@ -899,7 +899,7 @@ static int mgcp_call(struct ast_channel *ast, char *dest, int timeout)
res = -1;
}
ast_mutex_unlock(&sub->lock);
ast_queue_frame(ast, AST_CONTROL_RINGING);
ast_queue_control(ast, AST_CONTROL_RINGING);
return res;
}

@ -48,7 +48,7 @@ static int syslog_level_map[] = {
#define MAX_MSG_QUEUE 200
#ifdef __linux__
#if defined(__linux__) && defined(__NR_gettid)
#include <asm/unistd.h>
#define GETTID() syscall(__NR_gettid)
#else

Loading…
Cancel
Save