diff -Naur channels/h323/ast_h323.cxx channels_fixed/h323/ast_h323.cxx --- channels/h323/ast_h323.cxx 2010-05-24 18:05:15.000000000 -0400 +++ channels_fixed/h323/ast_h323.cxx 2011-05-12 11:43:12.000000000 -0400 @@ -2369,13 +2369,13 @@ /* Addition of functions just to make the channel driver compile with H323Plus */ #if VERSION(OPENH323_MAJOR, OPENH323_MINOR, OPENH323_BUILD) > VERSION(1,19,4) /* Alternate RTP port information for Same NAT */ -BOOL MyH323_ExternalRTPChannel::OnReceivedAltPDU(const H245_ArrayOf_GenericInformation & alternate ) +PBoolean MyH323_ExternalRTPChannel::OnReceivedAltPDU(const H245_ArrayOf_GenericInformation & alternate ) { return TRUE; } /* Alternate RTP port information for Same NAT */ -BOOL MyH323_ExternalRTPChannel::OnSendingAltPDU(H245_ArrayOf_GenericInformation & alternate) const +PBoolean MyH323_ExternalRTPChannel::OnSendingAltPDU(H245_ArrayOf_GenericInformation & alternate) const { return TRUE; } @@ -2386,7 +2386,7 @@ } /* Alternate RTP port information for Same NAT */ -BOOL MyH323_ExternalRTPChannel::OnReceivedAckAltPDU(const H245_ArrayOf_GenericInformation & alternate) +PBoolean MyH323_ExternalRTPChannel::OnReceivedAckAltPDU(const H245_ArrayOf_GenericInformation & alternate) { return TRUE; } diff -Naur channels/h323/ast_h323.h channels_fixed/h323/ast_h323.h --- channels/h323/ast_h323.h 2009-03-17 16:47:31.000000000 -0400 +++ channels_fixed/h323/ast_h323.h 2011-05-12 11:43:12.000000000 -0400 @@ -101,7 +101,7 @@ virtual void OnReceivedLocalCallHold(int linkedId); virtual void OnReceivedLocalCallRetrieve(int linkedId); #endif - void MyHoldCall(BOOL localHold); + void MyHoldCall(PBoolean localHold); PString sourceAliases; PString destAliases; @@ -153,10 +153,10 @@ PIPSocket::Address remoteIpAddr; /* Additional functions in order to have chan_h323 compile with H323Plus */ #if VERSION(OPENH323_MAJOR, OPENH323_MINOR, OPENH323_BUILD) > VERSION(1,19,4) - BOOL OnReceivedAltPDU(const H245_ArrayOf_GenericInformation & alternate ); - BOOL OnSendingAltPDU(H245_ArrayOf_GenericInformation & alternate) const; + PBoolean OnReceivedAltPDU(const H245_ArrayOf_GenericInformation & alternate ); + PBoolean OnSendingAltPDU(H245_ArrayOf_GenericInformation & alternate) const; void OnSendOpenAckAlt(H245_ArrayOf_GenericInformation & alternate) const; - BOOL OnReceivedAckAltPDU(const H245_ArrayOf_GenericInformation & alternate); + PBoolean OnReceivedAckAltPDU(const H245_ArrayOf_GenericInformation & alternate); #endif WORD localPort; WORD remotePort;