From 71fbf1a748a2efe5f08edef06649a8ccdcb764a8 Mon Sep 17 00:00:00 2001 From: Alexandr Anikin Date: Wed, 20 Jun 2012 09:15:22 +0000 Subject: [PATCH] fix compile error (1.8 don't have ast_channel_name macro) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@369130 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- addons/chan_ooh323.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c index 1b94a20b18..e76e952769 100644 --- a/addons/chan_ooh323.c +++ b/addons/chan_ooh323.c @@ -3465,7 +3465,7 @@ static void *do_monitor(void *data) h323->lastrtprx + h323->rtptimeout < t) { if (!ast_channel_trylock(h323->owner)) { ast_softhangup_nolock(h323->owner, AST_SOFTHANGUP_DEV); - ast_log(LOG_NOTICE, "Disconnecting call '%s' for lack of RTP activity in %ld seconds\n", ast_channel_name(h323->owner), (long) (t - h323->lastrtprx)); + ast_log(LOG_NOTICE, "Disconnecting call '%s' for lack of RTP activity in %ld seconds\n", h323->owner->name, (long) (t - h323->lastrtprx)); ast_channel_unlock(h323->owner); }