diff options
author | Roger Hardiman <roger@FreeBSD.org> | 2001-07-09 15:40:52 +0000 |
---|---|---|
committer | Roger Hardiman <roger@FreeBSD.org> | 2001-07-09 15:40:52 +0000 |
commit | 91aad204e987f6737040414520698aaec2823598 (patch) | |
tree | 97a1968594c2940cc8a7a4ebea96375e3cd9b1fd /net | |
parent | 60a71752b212b6aa8f5fc24a77e6293fe8aa57cb (diff) | |
download | ports-91aad204e987f6737040414520698aaec2823598.tar.gz ports-91aad204e987f6737040414520698aaec2823598.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/opengatekeeper/files/patch-aa | 45 | ||||
-rw-r--r-- | net/opengatekeeper/files/patch-ab | 68 |
2 files changed, 113 insertions, 0 deletions
diff --git a/net/opengatekeeper/files/patch-aa b/net/opengatekeeper/files/patch-aa new file mode 100644 index 000000000000..a8460e99f233 --- /dev/null +++ b/net/opengatekeeper/files/patch-aa @@ -0,0 +1,45 @@ +*** Environ.cxx.orig Mon Jul 9 16:25:04 2001 +--- Environ.cxx Mon Jul 9 16:19:03 2001 +*************** +*** 17,23 **** +--- 17,28 ---- + * + * The Initial Developer of the Original Code is Egoboo Ltd. + * ++ * Contributor(s): Equivalence Pty Ltd ++ * + * $Log: Environ.cxx,v $ ++ * Revision 2.0 2001/04/10 06:23:46 craigs ++ * Initial version from OpenGatekeeper project as of 10 April 2001 ++ * + * Revision 1.4 2000/05/23 10:15:06 aunitt + * Added support for statically defined gateway prefixes. + * +*************** static H225_SupportedPrefix GetPrefix( c +*** 75,81 **** + { + H225_SupportedPrefix Result; + +! Result.m_prefix.SetTag( H225_AliasAddress::e_e164 ); + PASN_IA5String & IA5 = (PASN_IA5String &)Result.m_prefix; + IA5 = PrefixStr; + +--- 80,86 ---- + { + H225_SupportedPrefix Result; + +! Result.m_prefix.SetTag( H225_AliasAddress::e_dialedDigits ); + PASN_IA5String & IA5 = (PASN_IA5String &)Result.m_prefix; + IA5 = PrefixStr; + +*************** void Environ::AddStaticPrefixes( H225_Ga +*** 140,143 **** + VoiceCaps.IncludeOptionalField( H225_VoiceCaps::e_supportedPrefixes ); + VoiceCaps.m_supportedPrefixes = AdditionalPrefixes; + } +! } +--- 145,148 ---- + VoiceCaps.IncludeOptionalField( H225_VoiceCaps::e_supportedPrefixes ); + VoiceCaps.m_supportedPrefixes = AdditionalPrefixes; + } +! } diff --git a/net/opengatekeeper/files/patch-ab b/net/opengatekeeper/files/patch-ab new file mode 100644 index 000000000000..b132487a9e24 --- /dev/null +++ b/net/opengatekeeper/files/patch-ab @@ -0,0 +1,68 @@ +*** EndpointTabl.cxx.orig Mon Jul 9 16:24:58 2001 +--- EndpointTabl.cxx Mon Jul 9 13:12:01 2001 +*************** +*** 17,23 **** +--- 17,28 ---- + * + * The Initial Developer of the Original Code is Egoboo Ltd. + * ++ * Contributor(s): Equivalence Pty Ltd ++ * + * $Log: EndpointTabl.cxx,v $ ++ * Revision 2.0 2001/04/10 06:23:46 craigs ++ * Initial version from OpenGatekeeper project as of 10 April 2001 ++ * + * Revision 1.21 2000/05/25 14:25:30 aunitt + * Fixed bug that stopped gateway prefixes working. + * +*************** static bool IsPrefix( const H225_AliasAd +*** 220,226 **** + // Now check by type + switch ( Prefix.GetTag() ) + { +! case H225_AliasAddress::e_e164 : + PrefixStr = static_cast<const PASN_IA5String &>(Prefix); + AliasStr = static_cast<const PASN_IA5String &>(Alias); + break; +--- 225,231 ---- + // Now check by type + switch ( Prefix.GetTag() ) + { +! case H225_AliasAddress::e_dialedDigits: + PrefixStr = static_cast<const PASN_IA5String &>(Prefix); + AliasStr = static_cast<const PASN_IA5String &>(Alias); + break; +*************** static bool IsPrefix( const H225_AliasAd +*** 235,241 **** + } + switch( PrefixPartyNumber.GetTag() ) + { +! case H225_PartyNumber::e_publicNumber : + { + const H225_PublicPartyNumber & PublicPrefix = PrefixPartyNumber; + const H225_PublicPartyNumber & PublicAlias = AliasPartyNumber; +--- 240,246 ---- + } + switch( PrefixPartyNumber.GetTag() ) + { +! case H225_PartyNumber::e_e164Number: + { + const H225_PublicPartyNumber & PublicPrefix = PrefixPartyNumber; + const H225_PublicPartyNumber & PublicAlias = AliasPartyNumber; +*************** Endpoint EndpointTable::FindByPrefix( co +*** 1080,1086 **** + PWaitAndSignal MutexWait(TableMutex); + for ( PINDEX i=0; i < Alias.GetSize(); ++i ) + { +! if ( ( Alias[i].GetTag() == H225_AliasAddress::e_e164 ) || + ( Alias[i].GetTag() == H225_AliasAddress::e_partyNumber ) + ) + { +--- 1085,1091 ---- + PWaitAndSignal MutexWait(TableMutex); + for ( PINDEX i=0; i < Alias.GetSize(); ++i ) + { +! if ( ( Alias[i].GetTag() == H225_AliasAddress::e_dialedDigits ) || + ( Alias[i].GetTag() == H225_AliasAddress::e_partyNumber ) + ) + { |