aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323
diff options
context:
space:
mode:
Diffstat (limited to 'channels/h323')
-rw-r--r--channels/h323/ast_h323.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/h323/ast_h323.cxx b/channels/h323/ast_h323.cxx
index e98592d7d..c068389f8 100644
--- a/channels/h323/ast_h323.cxx
+++ b/channels/h323/ast_h323.cxx
@@ -2257,6 +2257,7 @@ void h323_end_point_create(void)
{
channelsOpen = 0;
logstream = new PAsteriskLog();
+ PTrace::SetStream(logstream);
endPoint = new MyH323EndPoint();
}
@@ -2672,6 +2673,7 @@ void h323_end_process(void)
close(_timerChangePipe[1]);
#endif
if (logstream) {
+ PTrace::SetStream(NULL);
delete logstream;
logstream = NULL;
}