From: root Date: Tue, 3 Aug 2010 14:09:56 +0000 (+0400) Subject: revert changes from PProcess to PLibraryProcess due console locking issue. X-Git-Tag: v1.2-rc1~526^2~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa8692576c8611357928113d5dff06921e43e495;p=thirdparty%2Ffreeswitch.git revert changes from PProcess to PLibraryProcess due console locking issue. --- diff --git a/src/mod/endpoints/mod_h323/mod_h323.cpp b/src/mod/endpoints/mod_h323/mod_h323.cpp index bc6e84a63e..b17536bb46 100644 --- a/src/mod/endpoints/mod_h323/mod_h323.cpp +++ b/src/mod/endpoints/mod_h323/mod_h323.cpp @@ -338,16 +338,14 @@ PString GetH245CodecName(const H323Capability* cap) } FSProcess::FSProcess() - : PProcess("FreeSWITCH", "mod_h323", 1, 0, AlphaCode, 1) - , m_h323endpoint(NULL) -{ + : PLibraryProcess("Test", "mod_h323", 1, 0, AlphaCode, 1) + , m_h323endpoint(NULL){ PTrace::SetLevel(4); PTrace::SetOptions(PTrace::TraceLevel); PTrace::SetStream(new FSTrace); } -FSProcess::~FSProcess() -{ +FSProcess::~FSProcess(){ delete m_h323endpoint; } diff --git a/src/mod/endpoints/mod_h323/mod_h323.h b/src/mod/endpoints/mod_h323/mod_h323.h index a88abf5301..9383d03b86 100644 --- a/src/mod/endpoints/mod_h323/mod_h323.h +++ b/src/mod/endpoints/mod_h323/mod_h323.h @@ -208,8 +208,8 @@ switch_status_t name(type1 name1) switch_status_t name(type1 name1, type2 name2, type3 name3) class FSH323EndPoint; -class FSProcess:public PProcess { - PCLASSINFO(FSProcess, PProcess); +class FSProcess:public PLibraryProcess { + PCLASSINFO(FSProcess, PLibraryProcess); public: FSProcess();