freebsd-ports/net/openh323proxy/files/patch-ab
Roger Hardiman dae7c4389d Add OpenH323 Proxy. This is based on OpenGatekeeper and adds H323
Proxy functions.

This means you can use H323 clients (like OhPhone and NetMeeting)
through FireWalls and with NAT.
2000-11-22 17:51:42 +00:00

39 lines
1.5 KiB
Plaintext

*** opengate.cxx.orig Thu Oct 26 13:05:21 2000
--- opengate.cxx Wed Nov 22 13:59:34 2000
*************** static PSemaphore TerminatedSema(0,1);
*** 101,107 ****
PCREATE_PROCESS(opengate)
opengate::opengate()
! : PServiceProcess("Egoboo", "opengate",
GKVER_MAJOR, GKVER_MINOR, GKVER_STATUS, GKVER_BUILD
)
{
--- 101,107 ----
PCREATE_PROCESS(opengate)
opengate::opengate()
! : PServiceProcess("Marco Polci and Egoboo", "openh323proxy",
GKVER_MAJOR, GKVER_MINOR, GKVER_STATUS, GKVER_BUILD
)
{
*************** void opengate::Main()
*** 165,172 ****
PString AkaLocalAddr = Cfg.GetString( "Local Address", "*" );
MyEnviron.LocalAddr = AkaLocalAddr;
! // Set the gatekeeper id, the default is "Opengate: " + hostname
! PString AkaMyId = Cfg.GetString( "Gatekeeper Id", (PString) "Opengate: " + PIPSocket::GetHostName() );
MyEnviron.MyId = AkaMyId;
// if ( MyEnviron.LocalAddr == INADDR_ANY )
// PIPSocket::GetHostAddress( MyEnviron.LocalAddr );
--- 165,172 ----
PString AkaLocalAddr = Cfg.GetString( "Local Address", "*" );
MyEnviron.LocalAddr = AkaLocalAddr;
! // Set the gatekeeper id, the default is "OpengateProxy: " + hostname
! PString AkaMyId = Cfg.GetString( "Gatekeeper Id", (PString) "OpengateProxy: " + PIPSocket::GetHostName() );
MyEnviron.MyId = AkaMyId;
// if ( MyEnviron.LocalAddr == INADDR_ANY )
// PIPSocket::GetHostAddress( MyEnviron.LocalAddr );