summaryrefslogtreecommitdiff
path: root/net/openh323proxy/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/openh323proxy/files/patch-ab')
-rw-r--r--net/openh323proxy/files/patch-ab53
1 files changed, 53 insertions, 0 deletions
diff --git a/net/openh323proxy/files/patch-ab b/net/openh323proxy/files/patch-ab
new file mode 100644
index 000000000000..2e0e9feec0a3
--- /dev/null
+++ b/net/openh323proxy/files/patch-ab
@@ -0,0 +1,53 @@
+*** EndpointTabl.cxx.orig Mon Jul 9 16:24:58 2001
+--- EndpointTabl.cxx Mon Jul 9 13:12:01 2001
+*************** 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 )
+ )
+ {