[asterisk-commits] may: branch 1.8 r369130 - /branches/1.8/addons/chan_ooh323.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 20 04:15:26 CDT 2012


Author: may
Date: Wed Jun 20 04:15:22 2012
New Revision: 369130

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=369130
Log:
fix compile error (1.8 don't have ast_channel_name macro)

Modified:
    branches/1.8/addons/chan_ooh323.c

Modified: branches/1.8/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/chan_ooh323.c?view=diff&rev=369130&r1=369129&r2=369130
==============================================================================
--- branches/1.8/addons/chan_ooh323.c (original)
+++ branches/1.8/addons/chan_ooh323.c Wed Jun 20 04:15:22 2012
@@ -3465,7 +3465,7 @@
 				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);
 				}
 				




More information about the asterisk-commits mailing list