[svn-commits] mmichelson: trunk r265451 - /trunk/channels/h323/ast_h323.cxx

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon May 24 17:05:17 CDT 2010


Author: mmichelson
Date: Mon May 24 17:05:15 2010
New Revision: 265451

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=265451
Log:
Print openh323 log to the Asterisk console.

(closes issue #17109)
Reported by: under
Patches:
      logstream.diff uploaded by under (license 914)


Modified:
    trunk/channels/h323/ast_h323.cxx

Modified: trunk/channels/h323/ast_h323.cxx
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/h323/ast_h323.cxx?view=diff&rev=265451&r1=265450&r2=265451
==============================================================================
--- trunk/channels/h323/ast_h323.cxx (original)
+++ trunk/channels/h323/ast_h323.cxx Mon May 24 17:05:15 2010
@@ -2257,6 +2257,7 @@
 {
 	channelsOpen = 0;
 	logstream = new PAsteriskLog();
+	PTrace::SetStream(logstream); 
 	endPoint = new MyH323EndPoint();
 }
 
@@ -2672,6 +2673,7 @@
 	close(_timerChangePipe[1]);
 #endif
 	if (logstream) {
+		PTrace::SetStream(NULL);
 		delete logstream;
 		logstream = NULL;
 	}




More information about the svn-commits mailing list