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();