diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-24 22:05:15 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-24 22:05:15 +0000 |
commit | a1151ca4aefd7969084ce035ec3b6d607d680c61 (patch) | |
tree | 0be0879b89ce8f3f534ba4c8d4b8dd5877ed8285 /channels/h323 | |
parent | 9d64bdc6036c9f6c7b463a026504e0e4d3a3d7b8 (diff) |
Print openh323 log to the Asterisk console.
(closes issue #17109)
Reported by: under
Patches:
logstream.diff uploaded by under (license 914)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@265451 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323')
-rw-r--r-- | channels/h323/ast_h323.cxx | 2 |
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; } |