diff options
-rwxr-xr-x | channels/chan_mgcp.c | 2 | ||||
-rwxr-xr-x | logger.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index a0b0724db..e25a0b2bc 100755 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -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 |