[asterisk-commits] mmichelson: branch 1.6.2 r265452 - in /branches/1.6.2: ./ channels/h323/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 24 17:07:13 CDT 2010


Author: mmichelson
Date: Mon May 24 17:07:11 2010
New Revision: 265452

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=265452
Log:
Merged revisions 265451 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r265451 | mmichelson | 2010-05-24 17:05:15 -0500 (Mon, 24 May 2010) | 8 lines
  
  Print openh323 log to the Asterisk console.
  
  (closes issue #17109)
  Reported by: under
  Patches:
        logstream.diff uploaded by under (license 914)
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/h323/ast_h323.cxx

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/channels/h323/ast_h323.cxx
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/h323/ast_h323.cxx?view=diff&rev=265452&r1=265451&r2=265452
==============================================================================
--- branches/1.6.2/channels/h323/ast_h323.cxx (original)
+++ branches/1.6.2/channels/h323/ast_h323.cxx Mon May 24 17:07:11 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 asterisk-commits mailing list