]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix compile error (1.8 don't have ast_channel_name macro)
authorAlexandr Anikin <may@telecom-service.ru>
Wed, 20 Jun 2012 09:15:22 +0000 (09:15 +0000)
committerAlexandr Anikin <may@telecom-service.ru>
Wed, 20 Jun 2012 09:15:22 +0000 (09:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@369130 65c4cc65-6c06-0410-ace0-fbb531ad65f3

addons/chan_ooh323.c

index 1b94a20b183a87e7b1eaca42b694be6ffaaa7e77..e76e95276979117e5d5631d8528dbc90d14574d3 100644 (file)
@@ -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);
                                }