<div dir="ltr">hello all,<div>what is the problem?(excuse about not using pastebin)</div><div><br></div><div><div>making all mod_h323</div><div>make[4]: Entering directory `/home/m.emami/projects/c++/freeswitch/src/mod/endpoints/mod_h323'</div>
<div> CXX mod_h323_la-mod_h323.lo</div><div>In file included from mod_h323.cpp:40:0:</div><div>mod_h323.h:108:41: error: 'NumAnswerCallResponses' is not a member of 'H323Connection'</div><div> const char* const GetAnswerCallResponse[H323Connection::NumAnswerCallResponses+1]={</div>
<div> ^</div><div>mod_h323.h:242:2: error: 'H323ListenerTCP' does not name a type</div><div> H323ListenerTCP *listenAddress;</div><div> ^</div><div>In file included from mod_h323.cpp:40:0:</div>
<div>mod_h323.h:326:78: error: 'RTP_QOS' has not been declared</div><div> unsigned sessionID, const H245_H2250LogicalChannelParameters * param, RTP_QOS * rtpqos = NULL);</div><div> ^</div>
<div>mod_h323.h:405:64: error: expected class-name before '{' token</div><div> class FSH323_ExternalRTPChannel:public H323_ExternalRTPChannel {</div><div> ^</div>
<div>mod_h323.h:409:94: error: 'Directions' has not been declared</div><div> FSH323_ExternalRTPChannel(FSH323Connection & connection, const H323Capability & capability, Directions direction, unsigned sessionID, const PIPSocket::Address & ip, WORD dataPort);</div>
<div> ^</div><div>In file included from /usr/local/include/ptlib.h:47:0,</div><div> from mod_h323.h:42,</div><div>
from mod_h323.cpp:40:</div><div>mod_h323.h: In member function 'virtual PBoolean FSH323_ExternalRTPChannel::InternalIsDescendant(const char*) const':</div><div>mod_h323.h:406:40: error: 'H323_ExternalRTPChannel' has not been declared</div>
<div> PCLASSINFO(FSH323_ExternalRTPChannel, H323_ExternalRTPChannel);</div><div> ^</div><div>mod_h323.h: In member function 'virtual const char* FSH323_ExternalRTPChannel::GetClass(unsigned int) const':</div>
<div>mod_h323.h:406:40: error: 'H323_ExternalRTPChannel' has not been declared</div><div> PCLASSINFO(FSH323_ExternalRTPChannel, H323_ExternalRTPChannel);</div><div> ^</div>
<div>
mod_h323.h: In member function 'virtual PObject::Comparison FSH323_ExternalRTPChannel::CompareObjectMemoryDirect(const PObject&) const':</div><div>mod_h323.h:406:2: error: no matching function for call to 'PObject::InternalCompareObjectMemoryDirect(const FSH323_ExternalRTPChannel* const, const FSH323_ExternalRTPChannel*, long unsigned int)'</div>
<div> PCLASSINFO(FSH323_ExternalRTPChannel, H323_ExternalRTPChannel);</div><div> ^</div><div>mod_h323.h:406:2: note: candidate is:</div><div>/usr/local/include/ptlib/object.h:1683:23: note: static PObject::Comparison PObject::InternalCompareObjectMemoryDirect(const PObject*, const PObject*, PINDEX)</div>
<div> static Comparison InternalCompareObjectMemoryDirect(</div><div> ^</div><div>/usr/local/include/ptlib/object.h:1683:23: note: no known conversion for argument 1 from 'const FSH323_ExternalRTPChannel* const' to 'const PObject*'</div>
<div>In file included from mod_h323.cpp:40:0:</div><div>mod_h323.h: At global scope:</div><div>mod_h323.h:450:10: error: 'H323Codec' does not name a type</div><div> virtual H323Codec *CreateCodec(H323Codec::Direction direction) const {</div>
<div> ^</div><div>mod_h323.h: In constructor 'BaseG7231Capab::BaseG7231Capab(const char*, bool)':</div><div>mod_h323.h:439:58: error: no matching function for call to 'H323AudioCapability::H323AudioCapability(int, int)'</div>
<div> : H323AudioCapability(7, 4), m_name(fname), m_aa(annexA) {</div><div> ^</div><div>mod_h323.h:439:58: note: candidates are:</div><div>In file included from /usr/local/include/h323/h323con.h:48:0,</div>
<div> from /usr/local/include/h323/h323ep.h:49,</div><div> from /usr/include/openh323/h323.h:39,</div><div> from mod_h323.h:43,</div><div> from mod_h323.cpp:40:</div>
<div>/usr/local/include/h323/h323caps.h:613:5: note: H323AudioCapability::H323AudioCapability()</div><div> H323AudioCapability();</div><div> ^</div><div>/usr/local/include/h323/h323caps.h:613:5: note: candidate expects 0 arguments, 2 provided</div>
<div>/usr/local/include/h323/h323caps.h:604:7: note: H323AudioCapability::H323AudioCapability(const H323AudioCapability&)</div><div> class H323AudioCapability : public H323RealTimeCapability</div><div> ^</div><div>
/usr/local/include/h323/h323caps.h:604:7: note: candidate expects 1 argument, 2 provided</div><div>In file included from mod_h323.cpp:40:0:</div><div>mod_h323.h: At global scope:</div><div>mod_h323.h:501:10: error: 'H323Codec' does not name a type</div>
<div> virtual H323Codec *CreateCodec(H323Codec::Direction direction) const {</div><div> ^</div><div>mod_h323.h: In constructor 'BaseG729Capab::BaseG729Capab(const char*, unsigned int)':</div><div>mod_h323.h:489:59: error: no matching function for call to 'H323AudioCapability::H323AudioCapability(int, int)'</div>
<div> : H323AudioCapability(24, 6), m_name(fname), m_type(type) {</div><div> ^</div><div>mod_h323.h:489:59: note: candidates are:</div><div>In file included from /usr/local/include/h323/h323con.h:48:0,</div>
<div> from /usr/local/include/h323/h323ep.h:49,</div><div> from /usr/include/openh323/h323.h:39,</div><div> from mod_h323.h:43,</div><div> from mod_h323.cpp:40:</div>
<div>/usr/local/include/h323/h323caps.h:613:5: note: H323AudioCapability::H323AudioCapability()</div><div> H323AudioCapability();</div><div> ^</div><div>/usr/local/include/h323/h323caps.h:613:5: note: candidate expects 0 arguments, 2 provided</div>
<div>/usr/local/include/h323/h323caps.h:604:7: note: H323AudioCapability::H323AudioCapability(const H323AudioCapability&)</div><div> class H323AudioCapability : public H323RealTimeCapability</div><div> ^</div><div>
/usr/local/include/h323/h323caps.h:604:7: note: candidate expects 1 argument, 2 provided</div><div>In file included from mod_h323.cpp:40:0:</div><div>mod_h323.h: At global scope:</div><div>mod_h323.h:520:10: error: 'H323Codec' does not name a type</div>
<div> virtual H323Codec *CreateCodec(H323Codec::Direction direction) const {</div><div> ^</div><div>mod_h323.h: In constructor 'BaseGSM0610Cap::BaseGSM0610Cap(const char*, unsigned int)':</div><div>mod_h323.h:515:94: error: no matching function for call to 'H323AudioCapability::H323AudioCapability(int, int)'</div>
<div> : H323AudioCapability(24, 2), m_name(fname), m_type(type), m_comfortNoise(0), m_scrambled(0) {</div><div> ^</div><div>mod_h323.h:515:94: note: candidates are:</div>
<div>In file included from /usr/local/include/h323/h323con.h:48:0,</div><div> from /usr/local/include/h323/h323ep.h:49,</div><div> from /usr/include/openh323/h323.h:39,</div><div> from mod_h323.h:43,</div>
<div> from mod_h323.cpp:40:</div><div>/usr/local/include/h323/h323caps.h:613:5: note: H323AudioCapability::H323AudioCapability()</div><div> H323AudioCapability();</div><div> ^</div><div>/usr/local/include/h323/h323caps.h:613:5: note: candidate expects 0 arguments, 2 provided</div>
<div>/usr/local/include/h323/h323caps.h:604:7: note: H323AudioCapability::H323AudioCapability(const H323AudioCapability&)</div><div> class H323AudioCapability : public H323RealTimeCapability</div><div> ^</div><div>
/usr/local/include/h323/h323caps.h:604:7: note: candidate expects 1 argument, 2 provided</div><div>mod_h323.cpp: In function 'const OpalMediaFormat& GetOpalT38_IFP_COR()':</div><div>mod_h323.cpp:86:5: error: 'DefaultDataSessionID' is not a member of 'OpalMediaFormat'</div>
<div> OpalMediaFormat::DefaultDataSessionID,</div><div> ^</div><div>mod_h323.cpp: In function 'const OpalMediaFormat& GetOpalT38_IFP_PRE()':</div><div>mod_h323.cpp:102:5: error: 'DefaultDataSessionID' is not a member of 'OpalMediaFormat'</div>
<div> OpalMediaFormat::DefaultDataSessionID,</div><div> ^</div><div>mod_h323.cpp: In member function 'bool FSH323EndPoint::Initialise(switch_loadable_module_interface_t*)':</div><div>mod_h323.cpp:403:33: error: 'AddAllCapabilities' was not declared in this scope</div>
<div> AddAllCapabilities(0, 0, tmp);</div><div> ^</div><div>mod_h323.cpp:425:64: error: 'SetCapability' was not declared in this scope</div><div> SetCapability(0, 0, new FSH323_T38Capability(OpalT38_IFP_PRE));</div>
<div> ^</div><div>mod_h323.cpp:428:64: error: 'SetCapability' was not declared in this scope</div><div> SetCapability(0, 0, new FSH323_T38Capability(OpalT38_IFP_COR));</div>
<div> ^</div><div>mod_h323.cpp:431:34: error: 'AddAllUserInputCapabilities' was not declared in this scope</div><div> AddAllUserInputCapabilities(0, 1);</div>
<div> ^</div><div>mod_h323.cpp:436:39: error: 'DisableDetectInBandDTMF' was not declared in this scope</div><div> DisableDetectInBandDTMF(!m_dtmfinband);</div><div> ^</div>
<div>mod_h323.cpp:444:27: error: 'struct FSListener' has no member named 'listenAddress'</div><div> if (!StartListener(it->listenAddress)) {</div><div> ^</div><div>mod_h323.cpp: In member function 'switch_status_t FSH323EndPoint::ReadConfig(int)':</div>
<div>mod_h323.cpp:582:13: error: 'struct FSListener' has no member named 'listenAddress'</div><div> listener.listenAddress = new H323ListenerTCP(*this, ip, port);</div><div> ^</div><div>mod_h323.cpp:582:33: error: expected type-specifier before 'H323ListenerTCP'</div>
<div> listener.listenAddress = new H323ListenerTCP(*this, ip, port);</div><div> ^</div><div>mod_h323.cpp:582:33: error: expected ';' before 'H323ListenerTCP'</div><div>mod_h323.cpp: In constructor 'FSH323EndPoint::FSH323EndPoint()':</div>
<div>mod_h323.cpp:605:22: error: no matching function for call to 'H323EndPoint::H323EndPoint()'</div><div> ,m_fax_old_asn(false)</div><div> ^</div><div>mod_h323.cpp:605:22: note: candidates are:</div>
<div>In file included from /usr/include/openh323/h323.h:39:0,</div><div> from mod_h323.h:43,</div><div> from mod_h323.cpp:40:</div><div>/usr/local/include/h323/h323ep.h:99:5: note: H323EndPoint::H323EndPoint(OpalManager&)</div>
<div> H323EndPoint(</div><div> ^</div><div>/usr/local/include/h323/h323ep.h:99:5: note: candidate expects 1 argument, 0 provided</div><div>/usr/local/include/h323/h323ep.h:86:7: note: H323EndPoint::H323EndPoint(const H323EndPoint&)</div>
<div> class H323EndPoint : public OpalRTPEndPoint</div><div> ^</div><div>/usr/local/include/h323/h323ep.h:86:7: note: candidate expects 1 argument, 0 provided</div><div>mod_h323.cpp: In constructor 'FSH323Connection::FSH323Connection(FSH323EndPoint&, H323Transport*, unsigned int, switch_caller_profile_t*, switch_core_session_t*, switch_channel_t*)':</div>
<div>mod_h323.cpp:722:20: error: no matching function for call to 'H323Connection::H323Connection(FSH323EndPoint&, unsigned int&)'</div><div> , m_RTPlocalPort(0)</div><div> ^</div><div>
mod_h323.cpp:722:20: note: candidates are:</div><div>In file included from /usr/local/include/h323/h323ep.h:49:0,</div><div> from /usr/include/openh323/h323.h:39,</div><div> from mod_h323.h:43,</div>
<div> from mod_h323.cpp:40:</div><div>/usr/local/include/h323/h323con.h:144:5: note: H323Connection::H323Connection(OpalCall&, H323EndPoint&, const PString&, const PString&, const H323TransportAddress&, unsigned int, OpalConnection::StringOptions*)</div>
<div> H323Connection(</div><div> ^</div><div>/usr/local/include/h323/h323con.h:144:5: note: candidate expects 7 arguments, 2 provided</div><div>/usr/local/include/h323/h323con.h:135:7: note: H323Connection::H323Connection(const H323Connection&)</div>
<div> class H323Connection : public OpalRTPConnection</div><div> ^</div><div>/usr/local/include/h323/h323con.h:135:7: note: candidate expects 1 argument, 2 provided</div><div>mod_h323.cpp: In member function 'bool FSH323Connection::SetLocalCapabilities()':</div>
<div>mod_h323.cpp:812:32: error: 'fastStartChannels' was not declared in this scope</div><div> for (PINDEX idx = 0; idx < fastStartChannels.GetSize(); idx++) {</div><div> ^</div>
<div>mod_h323.cpp: In member function 'bool FSH323Connection::decodeCapability(const H323Capability&, const char**, int*, PString*)':</div><div>mod_h323.cpp:845:38: error: no matching function for call to 'OpalMediaFormat::OpalMediaFormat(PString&, bool)'</div>
<div> OpalMediaFormat oformat(fname, false);</div><div> ^</div><div>mod_h323.cpp:845:38: note: candidates are:</div><div>In file included from /usr/local/include/opal/connection.h:44:0,</div>
<div> from /usr/local/include/opal/call.h:41,</div><div> from /usr/local/include/opal/manager.h:42,</div><div> from /usr/local/include/opal/endpoint.h:41,</div><div> from /usr/include/rtp/rtpep.h:38,</div>
<div> from /usr/local/include/h323/h323ep.h:45,</div><div> from /usr/include/openh323/h323.h:39,</div><div> from mod_h323.h:43,</div><div> from mod_h323.cpp:40:</div>
<div>/usr/local/include/opal/mediafmt.h:886:5: note: OpalMediaFormat::OpalMediaFormat(const PString&)</div><div> OpalMediaFormat(</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:886:5: note: candidate expects 1 argument, 2 provided</div>
<div>/usr/local/include/opal/mediafmt.h:869:5: note: OpalMediaFormat::OpalMediaFormat(const char*)</div><div> OpalMediaFormat(</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:869:5: note: candidate expects 1 argument, 2 provided</div>
<div>/usr/local/include/opal/mediafmt.h:849:5: note: OpalMediaFormat::OpalMediaFormat(RTP_DataFrame::PayloadTypes, unsigned int, const char*, const char*)</div><div> OpalMediaFormat(</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:849:5: note: no known conversion for argument 1 from 'PString' to 'RTP_DataFrame::PayloadTypes'</div>
<div>/usr/local/include/opal/mediafmt.h:827:5: note: OpalMediaFormat::OpalMediaFormat(const char*, const OpalMediaType&, RTP_DataFrame::PayloadTypes, const char*, PBoolean, OpalBandwidth, PINDEX, unsigned int, unsigned int, time_t)</div>
<div> OpalMediaFormat(</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:827:5: note: candidate expects 10 arguments, 2 provided</div><div>/usr/local/include/opal/mediafmt.h:810:5: note: OpalMediaFormat::OpalMediaFormat(OpalMediaFormatInternal*)</div>
<div> OpalMediaFormat(</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:810:5: note: candidate expects 1 argument, 2 provided</div><div>/usr/local/include/opal/mediafmt.h:799:5: note: OpalMediaFormat::OpalMediaFormat(const OpalMediaFormat&)</div>
<div> OpalMediaFormat(const OpalMediaFormat & c);</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:799:5: note: candidate expects 1 argument, 2 provided</div><div>mod_h323.cpp: At global scope:</div>
<div>mod_h323.cpp:976:190: error: 'RTP_QOS' has not been declared</div><div> H323Channel* FSH323Connection::CreateRealTimeLogicalChannel(const H323Capability& capability,H323Channel::Directions dir,unsigned sessionID,const H245_H2250LogicalChannelParameters* param, RTP_QOS * rtpqos)</div>
<div> ^</div><div>mod_h323.cpp: In member function 'virtual H323Channel* FSH323Connection::CreateRealTimeLogicalChannel(const H323Capability&, H323Channel::Directions, unsigned int, const H245_H2250LogicalChannelParameters*, int*)':</div>
<div>mod_h323.cpp:986:100: error: cannot convert 'FSH323_ExternalRTPChannel*' to 'H323Channel*' in return</div><div> return new FSH323_ExternalRTPChannel(*this, capability, dir, sessionID,m_RTPlocalIP,m_RTPlocalPort);</div>
<div> ^</div><div>mod_h323.cpp: In member function 'virtual PBoolean FSH323Connection::OnStartLogicalChannel(H323Channel&)':</div>
<div>mod_h323.cpp:992:134: error: 'ConnectionStatesNames' was not declared in this scope</div><div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"======>FSH323Connection::OnStartLogicalChannel connectionState = %s [%p]\n",ConnectionStatesNames[connectionState],this);</div>
<div> ^</div><div>mod_h323.cpp: In member function 'virtual bool FSH323Connection::OnReceivedSignalSetup(const H323SignalPDU&)':</div>
<div>mod_h323.cpp:1038:144: error: 'ConnectionStatesNames' was not declared in this scope</div><div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"---------> after FSH323Connection::OnReceivedSignalSetup connectionState = %s [%p]\n",ConnectionStatesNames[connectionState],this);</div>
<div> ^</div><div>mod_h323.cpp:1056:26: error: 'controlChannel' was not declared in this scope</div>
<div> if (!h245Tunneling && (controlChannel == NULL)) {</div><div> ^</div><div>mod_h323.cpp:1057:29: error: 'StartControlChannel' was not declared in this scope</div><div> if (!StartControlChannel()){</div>
<div> ^</div><div>mod_h323.cpp: In member function 'virtual bool FSH323Connection::OnSendCallProceeding(H323SignalPDU&)':</div><div>mod_h323.cpp:1097:132: error: 'FastStartStateNames' was not declared in this scope</div>
<div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"======>FSH323Connection::OnSendCallProceeding fastStartState = %s [%p]\n",FastStartStateNames[fastStartState],this); </div><div> ^</div>
<div>mod_h323.cpp:1097:152: error: 'fastStartState' was not declared in this scope</div><div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"======>FSH323Connection::OnSendCallProceeding fastStartState = %s [%p]\n",FastStartStateNames[fastStartState],this); </div>
<div> ^</div><div>mod_h323.cpp: In member function 'virtual void FSH323Connection::AnsweringCall(OpalConnection::AnswerCallResponse)':</div>
<div>mod_h323.cpp:1170:82: error: 'GetAnswerCallResponse' was not declared in this scope</div><div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"Answering call: %s\n",GetAnswerCallResponse[response]);</div>
<div> ^</div><div>mod_h323.cpp:1172:14: error: 'Lock' was not declared in this scope</div><div> if (!Lock())</div><div> ^</div>
<div>mod_h323.cpp:1220:11: error: 'Unlock' was not declared in this scope</div><div> Unlock();</div><div> ^</div><div>mod_h323.cpp:1227:15: error: 'Lock' was not declared in this scope</div><div>
if (!Lock())</div><div> ^</div><div>mod_h323.cpp:1245:5: error: 'alertingTime' was not declared in this scope</div><div> alertingTime = PTime();</div><div> ^</div><div>mod_h323.cpp:1247:12: error: 'Unlock' was not declared in this scope</div>
<div> Unlock();</div><div> ^</div><div>mod_h323.cpp: In member function 'virtual void FSH323Connection::OnUserInputTone(char, unsigned int, unsigned int, unsigned int)':</div><div>mod_h323.cpp:1468:81: error: no matching function for call to 'FSH323Connection::OnUserInputTone(char&, unsigned int&, unsigned int&, unsigned int&)'</div>
<div> H323Connection::OnUserInputTone( tone, duration, logicalChannel, rtpTimestamp);</div><div> ^</div><div>mod_h323.cpp:1468:81: note: candidate is:</div>
<div>In file included from /usr/local/include/opal/call.h:41:0,</div><div> from /usr/local/include/opal/manager.h:42,</div><div> from /usr/local/include/opal/endpoint.h:41,</div><div> from /usr/include/rtp/rtpep.h:38,</div>
<div> from /usr/local/include/h323/h323ep.h:45,</div><div> from /usr/include/openh323/h323.h:39,</div><div> from mod_h323.h:43,</div><div> from mod_h323.cpp:40:</div>
<div>/usr/local/include/opal/connection.h:1502:18: note: virtual void OpalConnection::OnUserInputTone(char, unsigned int)</div><div> virtual void OnUserInputTone(</div><div> ^</div><div>/usr/local/include/opal/connection.h:1502:18: note: candidate expects 2 arguments, 4 provided</div>
<div>mod_h323.cpp: In member function 'switch_status_t FSH323Connection::receive_message(switch_core_session_message_t*)':</div><div>mod_h323.cpp:1533:9: error: 'fastStartState' was not declared in this scope</div>
<div> if (fastStartState == FastStartDisabled){</div><div> ^</div><div>mod_h323.cpp:1555:9: error: 'fastStartState' was not declared in this scope</div><div> if (fastStartState == FastStartDisabled){</div>
<div> ^</div><div>mod_h323.cpp: At global scope:</div><div>mod_h323.cpp:1926:8: error: 'Directions' has not been declared</div><div> Directions direction, </div><div> ^</div><div>mod_h323.cpp: In constructor 'FSH323_ExternalRTPChannel::FSH323_ExternalRTPChannel(FSH323Connection&, const H323Capability&, int, unsigned int, const PIPSocket::Address&, WORD)':</div>
<div>mod_h323.cpp:1930:4: error: class 'FSH323_ExternalRTPChannel' does not have any field named 'H323_ExternalRTPChannel'</div><div> : H323_ExternalRTPChannel(connection, capability, direction, sessionID,ip,dataPort)</div>
<div> ^</div><div>mod_h323.cpp:1939:93: error: 'SetExternalAddress' was not declared in this scope</div><div> SetExternalAddress(H323TransportAddress(ip, dataPort), H323TransportAddress(ip, dataPort+1));</div>
<div> ^</div><div>mod_h323.cpp:1940:195: error: 'GetDirection' was not declared in this scope</div><div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"======>FSH323_ExternalRTPChannel::FSH323_ExternalRTPChannel sessionID = %d :%s addr = %s:%d [%p]\n",sessionID,GetDirections[GetDirection()],(const char*)m_RTPlocalIP,m_RTPlocalPort,this); </div>
<div> ^</div><div>mod_h323.cpp:1954:37: error: no matching function for call to 'OpalMediaFormat::OpalMediaFormat(PString&, int)'</div>
<div> OpalMediaFormat format(fname, FALSE);</div><div> ^</div><div>mod_h323.cpp:1954:37: note: candidates are:</div><div>In file included from /usr/local/include/opal/connection.h:44:0,</div>
<div> from /usr/local/include/opal/call.h:41,</div><div> from /usr/local/include/opal/manager.h:42,</div><div> from /usr/local/include/opal/endpoint.h:41,</div><div> from /usr/include/rtp/rtpep.h:38,</div>
<div> from /usr/local/include/h323/h323ep.h:45,</div><div> from /usr/include/openh323/h323.h:39,</div><div> from mod_h323.h:43,</div><div> from mod_h323.cpp:40:</div>
<div>/usr/local/include/opal/mediafmt.h:886:5: note: OpalMediaFormat::OpalMediaFormat(const PString&)</div><div> OpalMediaFormat(</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:886:5: note: candidate expects 1 argument, 2 provided</div>
<div>/usr/local/include/opal/mediafmt.h:869:5: note: OpalMediaFormat::OpalMediaFormat(const char*)</div><div> OpalMediaFormat(</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:869:5: note: candidate expects 1 argument, 2 provided</div>
<div>/usr/local/include/opal/mediafmt.h:849:5: note: OpalMediaFormat::OpalMediaFormat(RTP_DataFrame::PayloadTypes, unsigned int, const char*, const char*)</div><div> OpalMediaFormat(</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:849:5: note: no known conversion for argument 1 from 'PString' to 'RTP_DataFrame::PayloadTypes'</div>
<div>/usr/local/include/opal/mediafmt.h:827:5: note: OpalMediaFormat::OpalMediaFormat(const char*, const OpalMediaType&, RTP_DataFrame::PayloadTypes, const char*, PBoolean, OpalBandwidth, PINDEX, unsigned int, unsigned int, time_t)</div>
<div> OpalMediaFormat(</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:827:5: note: candidate expects 10 arguments, 2 provided</div><div>/usr/local/include/opal/mediafmt.h:810:5: note: OpalMediaFormat::OpalMediaFormat(OpalMediaFormatInternal*)</div>
<div> OpalMediaFormat(</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:810:5: note: candidate expects 1 argument, 2 provided</div><div>/usr/local/include/opal/mediafmt.h:799:5: note: OpalMediaFormat::OpalMediaFormat(const OpalMediaFormat&)</div>
<div> OpalMediaFormat(const OpalMediaFormat & c);</div><div> ^</div><div>/usr/local/include/opal/mediafmt.h:799:5: note: candidate expects 1 argument, 2 provided</div><div>mod_h323.cpp: In destructor 'FSH323_ExternalRTPChannel::~FSH323_ExternalRTPChannel()':</div>
<div>mod_h323.cpp:1963:158: error: 'GetDirection' was not declared in this scope</div><div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"======>FSH323_ExternalRTPChannel::~FSH323_ExternalRTPChannel %s [%p]\n",GetDirections[GetDirection()],this); </div>
<div> ^</div><div>mod_h323.cpp: In member function 'virtual PBoolean FSH323_ExternalRTPChannel::Start()':</div>
<div>mod_h323.cpp:1984:117: error: 'sessionID' was not declared in this scope</div><div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"------------->m_sessionID = %d m_active_sessionID = %d\n",sessionID,m_conn->m_active_sessionID); </div>
<div> ^</div><div>mod_h323.cpp:1985:18: error: 'H323_ExternalRTPChannel' has not been declared</div>
<div> if (!(m_conn && H323_ExternalRTPChannel::Start())) {</div><div> ^</div><div>mod_h323.cpp:2059:19: error: 'GetDirection' was not declared in this scope</div><div> if (GetDirection() == IsReceiver) {</div>
<div> ^</div><div>mod_h323.cpp:2059:24: error: 'IsReceiver' was not declared in this scope</div><div> if (GetDirection() == IsReceiver) {</div><div> ^</div><div>mod_h323.cpp:2084:171: error: 'GetDirection' was not declared in this scope</div>
<div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,"%s Cannot initialise %s %s codec for connection [%p]\n",switch_channel_get_name(m_fsChannel), ((GetDirection() == IsReceiver)? " read" : " write")</div>
<div> ^</div><div>mod_h323.cpp:2084:176: error: 'IsReceiver' was not declared in this scope</div>
<div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,"%s Cannot initialise %s %s codec for connection [%p]\n",switch_channel_get_name(m_fsChannel), ((GetDirection() == IsReceiver)? " read" : " write")</div>
<div> ^</div><div>mod_h323.cpp:2092:192: error: 'GetDirection' was not declared in this scope</div>
<div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,"%s Unsupported ptime of %u on %s %s codec %s for connection [%p]\n",switch_channel_get_name(m_fsChannel),m_codec_ms,((GetDirection() == IsReceiver)? " read" : " write")</div>
<div> ^</div><div>mod_h323.cpp:2092:197: error: 'IsReceiver' was not declared in this scope</div>
<div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,"%s Unsupported ptime of %u on %s %s codec %s for connection [%p]\n",switch_channel_get_name(m_fsChannel),m_codec_ms,((GetDirection() == IsReceiver)? " read" : " write")</div>
<div> ^</div><div>mod_h323.cpp:2096:19: error: 'GetDirection' was not declared in this scope</div>
<div> if (GetDirection() == IsReceiver) {</div><div> ^</div><div>mod_h323.cpp:2096:24: error: 'IsReceiver' was not declared in this scope</div><div> if (GetDirection() == IsReceiver) {</div><div>
^</div><div>mod_h323.cpp:2148:119: error: 'GetDirection' was not declared in this scope</div><div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"Set %s %s codec to %s for connection [%p]\n",((GetDirection() == IsReceiver)? " read" : " write")</div>
<div> ^</div><div>mod_h323.cpp:2148:124: error: 'IsReceiver' was not declared in this scope</div>
<div> switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"Set %s %s codec to %s for connection [%p]\n",((GetDirection() == IsReceiver)? " read" : " write")</div><div> ^</div>
<div>mod_h323.cpp:2152:50: error: 'GetRemoteAddress' was not declared in this scope</div><div> GetRemoteAddress(remoteIpAddress,m_RTPremotePort); </div><div> ^</div>
<div>mod_h323.cpp: In member function 'virtual PBoolean FSH323_ExternalRTPChannel::OnReceivedPDU(const H245_H2250LogicalChannelParameters&, unsigned int&)':</div><div>mod_h323.cpp:2283:7: error: 'H323_ExternalRTPChannel' has not been declared</div>
<div> if (!H323_ExternalRTPChannel::OnReceivedPDU(param,errorCode))</div><div> ^</div><div>mod_h323.cpp:2287:45: error: 'GetRemoteAddress' was not declared in this scope</div><div> GetRemoteAddress(remoteIpAddress,remotePort);</div>
<div> ^</div><div>mod_h323.cpp: In member function 'virtual PBoolean FSH323_ExternalRTPChannel::OnSendingPDU(H245_H2250LogicalChannelParameters&)':</div><div>mod_h323.cpp:2296:9: error: 'H323_ExternalRTPChannel' has not been declared</div>
<div> return H323_ExternalRTPChannel::OnSendingPDU(param);</div><div> ^</div><div>mod_h323.cpp: In member function 'virtual PBoolean FSH323_ExternalRTPChannel::OnReceivedAckPDU(const H245_H2250LogicalChannelAckParameters&)':</div>
<div>mod_h323.cpp:2302:9: error: 'H323_ExternalRTPChannel' has not been declared</div><div> return H323_ExternalRTPChannel::OnReceivedAckPDU(param);</div><div> ^</div><div>mod_h323.cpp: In member function 'virtual void FSH323_ExternalRTPChannel::OnSendOpenAck(H245_H2250LogicalChannelAckParameters&)':</div>
<div>mod_h323.cpp:2308:2: error: 'H323_ExternalRTPChannel' has not been declared</div><div> H323_ExternalRTPChannel::OnSendOpenAck(param);</div><div> ^</div><div>mod_h323.cpp: In member function 'FSH323Connection* FSH323EndPoint::FSMakeCall(const PString&, void*)':</div>
<div>mod_h323.cpp:2321:45: error: 'class OpalListener' has no member named 'GetTransportAddress'</div><div> H323TransportAddress taddr = listeners[0].GetTransportAddress();</div><div> ^</div>
<div>mod_h323.cpp:2326:21: error: expected type-specifier before 'H323TransportTCP'</div><div> transport = new H323TransportTCP(*this, addr,false);</div><div> ^</div><div>mod_h323.cpp:2326:21: error: expected ';' before 'H323TransportTCP'</div>
<div>mod_h323.cpp:2334:41: error: 'MakeCall' is not a member of 'H323EndPoint'</div><div> if (!(connection = (FSH323Connection *)H323EndPoint::MakeCall(dest, token, userData))) {</div><div> ^</div>
<div>mod_h323.cpp: In function 'switch_status_t on_hangup(switch_core_session_t*)':</div><div>mod_h323.cpp:2416:11: error: 'class FSH323Connection' has no member named 'TryLock'</div><div> if (me->TryLock() == 1) {</div>
<div> ^</div><div>mod_h323.cpp:2419:8: error: 'class FSH323Connection' has no member named 'Unlock'</div><div> me->Unlock();</div><div> ^</div><div>mod_h323.cpp:2423:21: error: 'class FSH323Connection' has no member named 'TryLock'</div>
<div> int trylock = me->TryLock();</div><div> ^</div><div>mod_h323.cpp:2427:109: error: invalid cast from type 'PSafePtr<H323Connection>' to type 'FSH323Connection*'</div><div>
FSH323Connection *connection = (FSH323Connection *)me->GetEndPoint()->FindConnectionWithLock(currentToken); </div><div> ^</div>
<div>mod_h323.cpp:2429:17: error: 'class FSH323Connection' has no member named 'Unlock'</div><div> connection->Unlock();</div><div> ^</div><div>mod_h323.cpp:2432:8: error: 'class FSH323Connection' has no member named 'Unlock'</div>
<div> me->Unlock();</div><div> ^</div><div>make[4]: *** [mod_h323_la-mod_h323.lo] Error 1</div><div>make[4]: Leaving directory `/home/m.emami/projects/c++/freeswitch/src/mod/endpoints/mod_h323'</div><div>
make[3]: *** [mod_h323-all] Error 1</div><div>make[3]: Leaving directory `/home/m.emami/projects/c++/freeswitch/src/mod'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/home/m.emami/projects/c++/freeswitch/src'</div>
<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/home/m.emami/projects/c++/freeswitch'</div><div>make: *** [all] Error 2</div></div><div><br></div></div>