[GnuGk-cvs] openh323gk Neighbor.cxx, 1.125, 1.126 changes.txt, 1.636, 1.637
H.323 Gatekeeper for VoIP and videconferencing
Brought to you by:
willamowius
From: Jan W. <wil...@us...> - 2011-12-28 16:48:22
|
Update of /cvsroot/openh323gk/openh323gk In directory vz-cvs-4.sog:/tmp/cvs-serv1253 Modified Files: Neighbor.cxx changes.txt Log Message: rewrite destination to alias part if we find a matching SRV CS records Index: Neighbor.cxx =================================================================== RCS file: /cvsroot/openh323gk/openh323gk/Neighbor.cxx,v retrieving revision 1.125 retrieving revision 1.126 diff -C2 -d -r1.125 -r1.126 *** Neighbor.cxx 22 Nov 2011 17:16:37 -0000 1.125 --- Neighbor.cxx 28 Dec 2011 16:48:19 -0000 1.126 *************** *** 1765,1774 **** Route * SRVPolicy::LSLocalLookup(H225_ArrayOf_AliasAddress & aliases) { ! for (PINDEX i = 0; i < aliases.GetSize(); ++i) { // only apply to urlID and h323ID ! if ((aliases[i].GetTag() != H225_AliasAddress::e_url_ID) ! && (aliases[i].GetTag() != H225_AliasAddress::e_h323_ID)) continue; ! PString alias(AsString(aliases[i], FALSE)); PINDEX at = alias.Find('@'); // skip empty aliases or those without at-sign --- 1765,1774 ---- Route * SRVPolicy::LSLocalLookup(H225_ArrayOf_AliasAddress & aliases) { ! for (PINDEX a = 0; a < aliases.GetSize(); ++a) { // only apply to urlID and h323ID ! if ((aliases[a].GetTag() != H225_AliasAddress::e_url_ID) ! && (aliases[a].GetTag() != H225_AliasAddress::e_h323_ID)) continue; ! PString alias(AsString(aliases[a], FALSE)); PINDEX at = alias.Find('@'); // skip empty aliases or those without at-sign *************** *** 1866,1869 **** --- 1866,1870 ---- if (!(GetIPFromTransportAddr(dest, addr) && addr.IsValid())) continue; + H323SetAliasAddress(cs[j].Left(in), aliases[i]); Route * route = NULL; if (Toolkit::Instance()->IsGKHome(addr)) { Index: changes.txt =================================================================== RCS file: /cvsroot/openh323gk/openh323gk/changes.txt,v retrieving revision 1.636 retrieving revision 1.637 diff -C2 -d -r1.636 -r1.637 *** changes.txt 23 Dec 2011 13:12:51 -0000 1.636 --- changes.txt 28 Dec 2011 16:48:19 -0000 1.637 *************** *** 1,5 **** Changes from 3.0 to 3.1 ======================= ! Changes from 2.3.5 to 3.0 --- 1,5 ---- Changes from 3.0 to 3.1 ======================= ! - BUGFIX(Neighbor.cxx) rewrite destination to alias part if we find a matching SRV CS records Changes from 2.3.5 to 3.0 |