<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&#39;</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: &#39;NumAnswerCallResponses&#39; is not a member of &#39;H323Connection&#39;</div><div> const char* const GetAnswerCallResponse[H323Connection::NumAnswerCallResponses+1]={</div>

<div>                                         ^</div><div>mod_h323.h:242:2: error: &#39;H323ListenerTCP&#39; 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: &#39;RTP_QOS&#39; 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 &#39;{&#39; token</div><div> class FSH323_ExternalRTPChannel:public H323_ExternalRTPChannel {</div><div>                                                                ^</div>

<div>mod_h323.h:409:94: error: &#39;Directions&#39; has not been declared</div><div>  FSH323_ExternalRTPChannel(FSH323Connection &amp; connection, const H323Capability &amp; capability, Directions direction, unsigned sessionID, const PIPSocket::Address &amp; 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 &#39;virtual PBoolean FSH323_ExternalRTPChannel::InternalIsDescendant(const char*) const&#39;:</div><div>mod_h323.h:406:40: error: &#39;H323_ExternalRTPChannel&#39; has not been declared</div>

<div>  PCLASSINFO(FSH323_ExternalRTPChannel, H323_ExternalRTPChannel);</div><div>                                        ^</div><div>mod_h323.h: In member function &#39;virtual const char* FSH323_ExternalRTPChannel::GetClass(unsigned int) const&#39;:</div>

<div>mod_h323.h:406:40: error: &#39;H323_ExternalRTPChannel&#39; has not been declared</div><div>  PCLASSINFO(FSH323_ExternalRTPChannel, H323_ExternalRTPChannel);</div><div>                                        ^</div>
<div>
mod_h323.h: In member function &#39;virtual PObject::Comparison FSH323_ExternalRTPChannel::CompareObjectMemoryDirect(const PObject&amp;) const&#39;:</div><div>mod_h323.h:406:2: error: no matching function for call to &#39;PObject::InternalCompareObjectMemoryDirect(const FSH323_ExternalRTPChannel* const, const FSH323_ExternalRTPChannel*, long unsigned int)&#39;</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 &#39;const FSH323_ExternalRTPChannel* const&#39; to &#39;const PObject*&#39;</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: &#39;H323Codec&#39; does not name a type</div><div>  virtual H323Codec *CreateCodec(H323Codec::Direction direction) const {</div>

<div>          ^</div><div>mod_h323.h: In constructor &#39;BaseG7231Capab::BaseG7231Capab(const char*, bool)&#39;:</div><div>mod_h323.h:439:58: error: no matching function for call to &#39;H323AudioCapability::H323AudioCapability(int, int)&#39;</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&amp;)</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: &#39;H323Codec&#39; does not name a type</div>

<div>  virtual H323Codec *CreateCodec(H323Codec::Direction direction) const {</div><div>          ^</div><div>mod_h323.h: In constructor &#39;BaseG729Capab::BaseG729Capab(const char*, unsigned int)&#39;:</div><div>mod_h323.h:489:59: error: no matching function for call to &#39;H323AudioCapability::H323AudioCapability(int, int)&#39;</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&amp;)</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: &#39;H323Codec&#39; does not name a type</div>

<div>  virtual H323Codec *CreateCodec(H323Codec::Direction direction) const {</div><div>          ^</div><div>mod_h323.h: In constructor &#39;BaseGSM0610Cap::BaseGSM0610Cap(const char*, unsigned int)&#39;:</div><div>mod_h323.h:515:94: error: no matching function for call to &#39;H323AudioCapability::H323AudioCapability(int, int)&#39;</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&amp;)</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 &#39;const OpalMediaFormat&amp; GetOpalT38_IFP_COR()&#39;:</div><div>mod_h323.cpp:86:5: error: &#39;DefaultDataSessionID&#39; is not a member of &#39;OpalMediaFormat&#39;</div>

<div>     OpalMediaFormat::DefaultDataSessionID,</div><div>     ^</div><div>mod_h323.cpp: In function &#39;const OpalMediaFormat&amp; GetOpalT38_IFP_PRE()&#39;:</div><div>mod_h323.cpp:102:5: error: &#39;DefaultDataSessionID&#39; is not a member of &#39;OpalMediaFormat&#39;</div>

<div>     OpalMediaFormat::DefaultDataSessionID,</div><div>     ^</div><div>mod_h323.cpp: In member function &#39;bool FSH323EndPoint::Initialise(switch_loadable_module_interface_t*)&#39;:</div><div>mod_h323.cpp:403:33: error: &#39;AddAllCapabilities&#39; was not declared in this scope</div>

<div>     AddAllCapabilities(0, 0, tmp);</div><div>                                 ^</div><div>mod_h323.cpp:425:64: error: &#39;SetCapability&#39; 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: &#39;SetCapability&#39; 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: &#39;AddAllUserInputCapabilities&#39; was not declared in this scope</div><div>  AddAllUserInputCapabilities(0, 1);</div>

<div>                                  ^</div><div>mod_h323.cpp:436:39: error: &#39;DisableDetectInBandDTMF&#39; was not declared in this scope</div><div>  DisableDetectInBandDTMF(!m_dtmfinband);</div><div>                                       ^</div>

<div>mod_h323.cpp:444:27: error: &#39;struct FSListener&#39; has no member named &#39;listenAddress&#39;</div><div>    if (!StartListener(it-&gt;listenAddress)) {</div><div>                           ^</div><div>mod_h323.cpp: In member function &#39;switch_status_t FSH323EndPoint::ReadConfig(int)&#39;:</div>

<div>mod_h323.cpp:582:13: error: &#39;struct FSListener&#39; has no member named &#39;listenAddress&#39;</div><div>    listener.listenAddress = new H323ListenerTCP(*this, ip, port);</div><div>             ^</div><div>mod_h323.cpp:582:33: error: expected type-specifier before &#39;H323ListenerTCP&#39;</div>

<div>    listener.listenAddress = new H323ListenerTCP(*this, ip, port);</div><div>                                 ^</div><div>mod_h323.cpp:582:33: error: expected &#39;;&#39; before &#39;H323ListenerTCP&#39;</div><div>mod_h323.cpp: In constructor &#39;FSH323EndPoint::FSH323EndPoint()&#39;:</div>

<div>mod_h323.cpp:605:22: error: no matching function for call to &#39;H323EndPoint::H323EndPoint()&#39;</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&amp;)</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&amp;)</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 &#39;FSH323Connection::FSH323Connection(FSH323EndPoint&amp;, H323Transport*, unsigned int, switch_caller_profile_t*, switch_core_session_t*, switch_channel_t*)&#39;:</div>

<div>mod_h323.cpp:722:20: error: no matching function for call to &#39;H323Connection::H323Connection(FSH323EndPoint&amp;, unsigned int&amp;)&#39;</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&amp;, H323EndPoint&amp;, const PString&amp;, const PString&amp;, const H323TransportAddress&amp;, 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&amp;)</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 &#39;bool FSH323Connection::SetLocalCapabilities()&#39;:</div>

<div>mod_h323.cpp:812:32: error: &#39;fastStartChannels&#39; was not declared in this scope</div><div>     for (PINDEX idx = 0; idx &lt; fastStartChannels.GetSize(); idx++) {</div><div>                                ^</div>

<div>mod_h323.cpp: In member function &#39;bool FSH323Connection::decodeCapability(const H323Capability&amp;, const char**, int*, PString*)&#39;:</div><div>mod_h323.cpp:845:38: error: no matching function for call to &#39;OpalMediaFormat::OpalMediaFormat(PString&amp;, bool)&#39;</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&amp;)</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 &#39;PString&#39; to &#39;RTP_DataFrame::PayloadTypes&#39;</div>

<div>/usr/local/include/opal/mediafmt.h:827:5: note: OpalMediaFormat::OpalMediaFormat(const char*, const OpalMediaType&amp;, 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&amp;)</div>

<div>     OpalMediaFormat(const OpalMediaFormat &amp; 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: &#39;RTP_QOS&#39; has not been declared</div><div> H323Channel* FSH323Connection::CreateRealTimeLogicalChannel(const H323Capability&amp; capability,H323Channel::Directions dir,unsigned sessionID,const H245_H2250LogicalChannelParameters* param, RTP_QOS * rtpqos)</div>

<div>                                                                                                                                                                                              ^</div><div>mod_h323.cpp: In member function &#39;virtual H323Channel* FSH323Connection::CreateRealTimeLogicalChannel(const H323Capability&amp;, H323Channel::Directions, unsigned int, const H245_H2250LogicalChannelParameters*, int*)&#39;:</div>

<div>mod_h323.cpp:986:100: error: cannot convert &#39;FSH323_ExternalRTPChannel*&#39; to &#39;H323Channel*&#39; 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 &#39;virtual PBoolean FSH323Connection::OnStartLogicalChannel(H323Channel&amp;)&#39;:</div>

<div>mod_h323.cpp:992:134: error: &#39;ConnectionStatesNames&#39; was not declared in this scope</div><div>  switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,&quot;======&gt;FSH323Connection::OnStartLogicalChannel connectionState = %s [%p]\n&quot;,ConnectionStatesNames[connectionState],this);</div>

<div>                                                                                                                                      ^</div><div>mod_h323.cpp: In member function &#39;virtual bool FSH323Connection::OnReceivedSignalSetup(const H323SignalPDU&amp;)&#39;:</div>

<div>mod_h323.cpp:1038:144: error: &#39;ConnectionStatesNames&#39; was not declared in this scope</div><div>  switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,&quot;---------&gt; after FSH323Connection::OnReceivedSignalSetup connectionState = %s [%p]\n&quot;,ConnectionStatesNames[connectionState],this);</div>

<div>                                                                                                                                                ^</div><div>mod_h323.cpp:1056:26: error: &#39;controlChannel&#39; was not declared in this scope</div>

<div>   if (!h245Tunneling &amp;&amp; (controlChannel == NULL)) {</div><div>                          ^</div><div>mod_h323.cpp:1057:29: error: &#39;StartControlChannel&#39; was not declared in this scope</div><div>    if (!StartControlChannel()){</div>

<div>                             ^</div><div>mod_h323.cpp: In member function &#39;virtual bool FSH323Connection::OnSendCallProceeding(H323SignalPDU&amp;)&#39;:</div><div>mod_h323.cpp:1097:132: error: &#39;FastStartStateNames&#39; was not declared in this scope</div>

<div>  switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,&quot;======&gt;FSH323Connection::OnSendCallProceeding fastStartState = %s [%p]\n&quot;,FastStartStateNames[fastStartState],this); </div><div>                                                                                                                                    ^</div>

<div>mod_h323.cpp:1097:152: error: &#39;fastStartState&#39; was not declared in this scope</div><div>  switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,&quot;======&gt;FSH323Connection::OnSendCallProceeding fastStartState = %s [%p]\n&quot;,FastStartStateNames[fastStartState],this); </div>

<div>                                                                                                                                                        ^</div><div>mod_h323.cpp: In member function &#39;virtual void FSH323Connection::AnsweringCall(OpalConnection::AnswerCallResponse)&#39;:</div>

<div>mod_h323.cpp:1170:82: error: &#39;GetAnswerCallResponse&#39; was not declared in this scope</div><div>    switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,&quot;Answering call: %s\n&quot;,GetAnswerCallResponse[response]);</div>

<div>                                                                                  ^</div><div>mod_h323.cpp:1172:14: error: &#39;Lock&#39; was not declared in this scope</div><div>    if (!Lock())</div><div>              ^</div>

<div>mod_h323.cpp:1220:11: error: &#39;Unlock&#39; was not declared in this scope</div><div>    Unlock();</div><div>           ^</div><div>mod_h323.cpp:1227:15: error: &#39;Lock&#39; was not declared in this scope</div><div>

     if (!Lock())</div><div>               ^</div><div>mod_h323.cpp:1245:5: error: &#39;alertingTime&#39; was not declared in this scope</div><div>     alertingTime = PTime();</div><div>     ^</div><div>mod_h323.cpp:1247:12: error: &#39;Unlock&#39; was not declared in this scope</div>

<div>     Unlock();</div><div>            ^</div><div>mod_h323.cpp: In member function &#39;virtual void FSH323Connection::OnUserInputTone(char, unsigned int, unsigned int, unsigned int)&#39;:</div><div>mod_h323.cpp:1468:81: error: no matching function for call to &#39;FSH323Connection::OnUserInputTone(char&amp;, unsigned int&amp;, unsigned int&amp;, unsigned int&amp;)&#39;</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 &#39;switch_status_t FSH323Connection::receive_message(switch_core_session_message_t*)&#39;:</div><div>mod_h323.cpp:1533:9: error: &#39;fastStartState&#39; was not declared in this scope</div>

<div>     if (fastStartState == FastStartDisabled){</div><div>         ^</div><div>mod_h323.cpp:1555:9: error: &#39;fastStartState&#39; 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: &#39;Directions&#39; has not been declared</div><div>        Directions direction, </div><div>        ^</div><div>mod_h323.cpp: In constructor &#39;FSH323_ExternalRTPChannel::FSH323_ExternalRTPChannel(FSH323Connection&amp;, const H323Capability&amp;, int, unsigned int, const PIPSocket::Address&amp;, WORD)&#39;:</div>

<div>mod_h323.cpp:1930:4: error: class &#39;FSH323_ExternalRTPChannel&#39; does not have any field named &#39;H323_ExternalRTPChannel&#39;</div><div>  : H323_ExternalRTPChannel(connection, capability, direction, sessionID,ip,dataPort)</div>

<div>    ^</div><div>mod_h323.cpp:1939:93: error: &#39;SetExternalAddress&#39; 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: &#39;GetDirection&#39; was not declared in this scope</div><div>  switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,&quot;======&gt;FSH323_ExternalRTPChannel::FSH323_ExternalRTPChannel sessionID = %d :%s addr = %s:%d [%p]\n&quot;,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 &#39;OpalMediaFormat::OpalMediaFormat(PString&amp;, int)&#39;</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&amp;)</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 &#39;PString&#39; to &#39;RTP_DataFrame::PayloadTypes&#39;</div>

<div>/usr/local/include/opal/mediafmt.h:827:5: note: OpalMediaFormat::OpalMediaFormat(const char*, const OpalMediaType&amp;, 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&amp;)</div>

<div>     OpalMediaFormat(const OpalMediaFormat &amp; 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 &#39;FSH323_ExternalRTPChannel::~FSH323_ExternalRTPChannel()&#39;:</div>

<div>mod_h323.cpp:1963:158: error: &#39;GetDirection&#39; was not declared in this scope</div><div>  switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,&quot;======&gt;FSH323_ExternalRTPChannel::~FSH323_ExternalRTPChannel  %s [%p]\n&quot;,GetDirections[GetDirection()],this);  </div>

<div>                                                                                                                                                              ^</div><div>mod_h323.cpp: In member function &#39;virtual PBoolean FSH323_ExternalRTPChannel::Start()&#39;:</div>

<div>mod_h323.cpp:1984:117: error: &#39;sessionID&#39; was not declared in this scope</div><div>  switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,&quot;-------------&gt;m_sessionID = %d  m_active_sessionID = %d\n&quot;,sessionID,m_conn-&gt;m_active_sessionID);    </div>

<div>                                                                                                                     ^</div><div>mod_h323.cpp:1985:18: error: &#39;H323_ExternalRTPChannel&#39; has not been declared</div>

<div>  if (!(m_conn &amp;&amp; H323_ExternalRTPChannel::Start())) {</div><div>                  ^</div><div>mod_h323.cpp:2059:19: error: &#39;GetDirection&#39; was not declared in this scope</div><div>  if (GetDirection() == IsReceiver) {</div>

<div>                   ^</div><div>mod_h323.cpp:2059:24: error: &#39;IsReceiver&#39; was not declared in this scope</div><div>  if (GetDirection() == IsReceiver) {</div><div>                        ^</div><div>mod_h323.cpp:2084:171: error: &#39;GetDirection&#39; was not declared in this scope</div>

<div>    switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,&quot;%s  Cannot initialise %s  %s codec for connection [%p]\n&quot;,switch_channel_get_name(m_fsChannel), ((GetDirection() == IsReceiver)? &quot; read&quot; : &quot; write&quot;)</div>

<div>                                                                                                                                                                           ^</div><div>mod_h323.cpp:2084:176: error: &#39;IsReceiver&#39; was not declared in this scope</div>

<div>    switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,&quot;%s  Cannot initialise %s  %s codec for connection [%p]\n&quot;,switch_channel_get_name(m_fsChannel), ((GetDirection() == IsReceiver)? &quot; read&quot; : &quot; write&quot;)</div>

<div>                                                                                                                                                                                ^</div><div>mod_h323.cpp:2092:192: error: &#39;GetDirection&#39; was not declared in this scope</div>

<div>   switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,&quot;%s  Unsupported ptime of %u on %s %s codec %s  for connection [%p]\n&quot;,switch_channel_get_name(m_fsChannel),m_codec_ms,((GetDirection() == IsReceiver)? &quot; read&quot; : &quot; write&quot;)</div>

<div>                                                                                                                                                                                                ^</div><div>mod_h323.cpp:2092:197: error: &#39;IsReceiver&#39; was not declared in this scope</div>

<div>   switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,&quot;%s  Unsupported ptime of %u on %s %s codec %s  for connection [%p]\n&quot;,switch_channel_get_name(m_fsChannel),m_codec_ms,((GetDirection() == IsReceiver)? &quot; read&quot; : &quot; write&quot;)</div>

<div>                                                                                                                                                                                                     ^</div><div>mod_h323.cpp:2096:19: error: &#39;GetDirection&#39; was not declared in this scope</div>

<div>  if (GetDirection() == IsReceiver) {</div><div>                   ^</div><div>mod_h323.cpp:2096:24: error: &#39;IsReceiver&#39; was not declared in this scope</div><div>  if (GetDirection() == IsReceiver) {</div><div>

                        ^</div><div>mod_h323.cpp:2148:119: error: &#39;GetDirection&#39; was not declared in this scope</div><div>  switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,&quot;Set %s %s codec to %s  for connection [%p]\n&quot;,((GetDirection() == IsReceiver)? &quot; read&quot; : &quot; write&quot;)</div>

<div>                                                                                                                       ^</div><div>mod_h323.cpp:2148:124: error: &#39;IsReceiver&#39; was not declared in this scope</div>

<div>  switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,&quot;Set %s %s codec to %s  for connection [%p]\n&quot;,((GetDirection() == IsReceiver)? &quot; read&quot; : &quot; write&quot;)</div><div>                                                                                                                            ^</div>

<div>mod_h323.cpp:2152:50: error: &#39;GetRemoteAddress&#39; was not declared in this scope</div><div>  GetRemoteAddress(remoteIpAddress,m_RTPremotePort); </div><div>                                                  ^</div>

<div>mod_h323.cpp: In member function &#39;virtual PBoolean FSH323_ExternalRTPChannel::OnReceivedPDU(const H245_H2250LogicalChannelParameters&amp;, unsigned int&amp;)&#39;:</div><div>mod_h323.cpp:2283:7: error: &#39;H323_ExternalRTPChannel&#39; has not been declared</div>

<div>  if (!H323_ExternalRTPChannel::OnReceivedPDU(param,errorCode))</div><div>       ^</div><div>mod_h323.cpp:2287:45: error: &#39;GetRemoteAddress&#39; was not declared in this scope</div><div>  GetRemoteAddress(remoteIpAddress,remotePort);</div>

<div>                                             ^</div><div>mod_h323.cpp: In member function &#39;virtual PBoolean FSH323_ExternalRTPChannel::OnSendingPDU(H245_H2250LogicalChannelParameters&amp;)&#39;:</div><div>mod_h323.cpp:2296:9: error: &#39;H323_ExternalRTPChannel&#39; has not been declared</div>

<div>  return H323_ExternalRTPChannel::OnSendingPDU(param);</div><div>         ^</div><div>mod_h323.cpp: In member function &#39;virtual PBoolean FSH323_ExternalRTPChannel::OnReceivedAckPDU(const H245_H2250LogicalChannelAckParameters&amp;)&#39;:</div>

<div>mod_h323.cpp:2302:9: error: &#39;H323_ExternalRTPChannel&#39; has not been declared</div><div>  return H323_ExternalRTPChannel::OnReceivedAckPDU(param);</div><div>         ^</div><div>mod_h323.cpp: In member function &#39;virtual void FSH323_ExternalRTPChannel::OnSendOpenAck(H245_H2250LogicalChannelAckParameters&amp;)&#39;:</div>

<div>mod_h323.cpp:2308:2: error: &#39;H323_ExternalRTPChannel&#39; has not been declared</div><div>  H323_ExternalRTPChannel::OnSendOpenAck(param);</div><div>  ^</div><div>mod_h323.cpp: In member function &#39;FSH323Connection* FSH323EndPoint::FSMakeCall(const PString&amp;, void*)&#39;:</div>

<div>mod_h323.cpp:2321:45: error: &#39;class OpalListener&#39; has no member named &#39;GetTransportAddress&#39;</div><div>   H323TransportAddress taddr = listeners[0].GetTransportAddress();</div><div>                                             ^</div>

<div>mod_h323.cpp:2326:21: error: expected type-specifier before &#39;H323TransportTCP&#39;</div><div>     transport = new H323TransportTCP(*this, addr,false);</div><div>                     ^</div><div>mod_h323.cpp:2326:21: error: expected &#39;;&#39; before &#39;H323TransportTCP&#39;</div>

<div>mod_h323.cpp:2334:41: error: &#39;MakeCall&#39; is not a member of &#39;H323EndPoint&#39;</div><div>  if (!(connection = (FSH323Connection *)H323EndPoint::MakeCall(dest, token, userData))) {</div><div>                                         ^</div>

<div>mod_h323.cpp: In function &#39;switch_status_t on_hangup(switch_core_session_t*)&#39;:</div><div>mod_h323.cpp:2416:11: error: &#39;class FSH323Connection&#39; has no member named &#39;TryLock&#39;</div><div>   if (me-&gt;TryLock() == 1) {</div>

<div>           ^</div><div>mod_h323.cpp:2419:8: error: &#39;class FSH323Connection&#39; has no member named &#39;Unlock&#39;</div><div>    me-&gt;Unlock();</div><div>        ^</div><div>mod_h323.cpp:2423:21: error: &#39;class FSH323Connection&#39; has no member named &#39;TryLock&#39;</div>

<div>   int trylock = me-&gt;TryLock();</div><div>                     ^</div><div>mod_h323.cpp:2427:109: error: invalid cast from type &#39;PSafePtr&lt;H323Connection&gt;&#39; to type &#39;FSH323Connection*&#39;</div><div>

    FSH323Connection *connection = (FSH323Connection *)me-&gt;GetEndPoint()-&gt;FindConnectionWithLock(currentToken); </div><div>                                                                                                             ^</div>

<div>mod_h323.cpp:2429:17: error: &#39;class FSH323Connection&#39; has no member named &#39;Unlock&#39;</div><div>     connection-&gt;Unlock();</div><div>                 ^</div><div>mod_h323.cpp:2432:8: error: &#39;class FSH323Connection&#39; has no member named &#39;Unlock&#39;</div>

<div>    me-&gt;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&#39;</div><div>

make[3]: *** [mod_h323-all] Error 1</div><div>make[3]: Leaving directory `/home/m.emami/projects/c++/freeswitch/src/mod&#39;</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/home/m.emami/projects/c++/freeswitch/src&#39;</div>

<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/home/m.emami/projects/c++/freeswitch&#39;</div><div>make: *** [all] Error 2</div></div><div><br></div></div>