[asterisk-commits] pcadach: branch pcadach/chan_h323-live r41225 - /team/pcadach/chan_h323-live/...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Aug 26 22:13:00 MST 2006


Author: pcadach
Date: Sun Aug 27 00:12:59 2006
New Revision: 41225

URL: http://svn.digium.com/view/asterisk?rev=41225&view=rev
Log:
Don't reset OpenH323 logging level on startup

Modified:
    team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp

Modified: team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp?rev=41225&r1=41224&r2=41225&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp (original)
+++ team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp Sun Aug 27 00:12:59 2006
@@ -160,6 +160,8 @@
 
 void MyProcess::Main()
 {
+	extern unsigned PTraceCurrentLevel;
+
 	cout << "  == Creating H.323 Endpoint" << endl;
 	if (endPoint) {
 		cout << "  == ENDPOINT ALREADY CREATED" << endl;
@@ -171,7 +173,7 @@
 	   We are requesting 128 (64k in each direction), which is the worst case codec. */
         endPoint->SetInitialBandwidth(1280);
 
-	PTrace::Initialise(0, NULL, PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine);
+	PTrace::Initialise(PTraceCurrentLevel, NULL, PTrace::Timestamp | PTrace::Thread | PTrace::FileAndLine);
 	PTrace::SetStream(logstream);
 }
 



More information about the asterisk-commits mailing list