From: Alexandr Anikin Date: Wed, 20 Jun 2012 09:15:22 +0000 (+0000) Subject: fix compile error (1.8 don't have ast_channel_name macro) X-Git-Tag: 1.8.15.0-rc1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71fbf1a748a2efe5f08edef06649a8ccdcb764a8;p=thirdparty%2Fasterisk.git 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 --- 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); }