Skip to content
Snippets Groups Projects
Commit c5be9d22 authored by Mark Michelson's avatar Mark Michelson
Browse files

Print openh323 log to the Asterisk console.

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



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@265451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent f908dd98
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment