Create user_dworley_redirectors branch to turn sipXregistry
redirectors into true plug-ins.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7205 a612230a-c5fa-0310-af8b-88eea846685b
Update properties to create branch.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7213 a612230a-c5fa-0310-af8b-88eea846685b
Remove "config" externals, in preparation for merging with the latest
main, which has the new build system, and replaces these
subdirectories with symbolic links.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7345 a612230a-c5fa-0310-af8b-88eea846685b
Merged revisions 7204-7273 via svnmerge from
https://scm.sipfoundry.org/rep/sipX/main
  | ................................
  | r7206 | dkrzemin | 2006-08-07 14:32:34 -0400 (Mon, 07 Aug 2006) | 5 lines
  | XCF-441 new capabilities for long distance rules:
  | - any call permission - predefined or custom - can be now selected for long distance rule
  | - PSTN prefix and long distance prefix can be independently specified as optional - advanced section added
  | - UI updated with fields description and quick help
  | ................................
  | r7207 | dworley | 2006-08-07 15:14:55 -0400 (Mon, 07 Aug 2006) | 9 lines
  | mergefrom pingtel-main 6937
  | Move setting suid_dumpable into ./sipXpbx/bin/sipxpbx.in 
  | Previously suid_dumpable was being set in 
  |    ./sipXvxml/bin/sipXvxml.sh.in,
  | however that script isn't run by root, and it requires root
  | privledges to set suid_dumpable.
  | --Woof!
  | ................................
  | r7208 | dkrzemin | 2006-08-07 15:21:01 -0400 (Mon, 07 Aug 2006) | 2 lines
  | XCF-1110 add mobile permission to standard call permission set
  | ................................
  | r7209 | dkrzemin | 2006-08-07 15:47:38 -0400 (Mon, 07 Aug 2006) | 2 lines
  | XCF-441 add ability to support "any number of digits" to long distance dialing rule
  | ................................
  | r7211 | dkrzemin | 2006-08-07 19:18:37 -0400 (Mon, 07 Aug 2006) | 2 lines
  | XCF-836 drop-down action menu added to add new dialing rules, it's no longer necessary to go to separate page to select rule type
  | ................................
  | r7214 | dworley | 2006-08-07 23:57:51 -0400 (Mon, 07 Aug 2006) | 2 lines
  | Initialize svnmerge properties for branch user_dworley_redirectors.
  | ................................
  | r7221 | dworley | 2006-08-08 12:11:26 -0400 (Tue, 08 Aug 2006) | 9 lines
  | mergefrom pingtel-main 6997
  | Fetch the Call-Id, so the route-signature mechanism will work.
  | Add debug message to show when route-signature authorization succeeds,
  | as well as when it fails.
  | Put the function name into logging messages.
  | As a minor optimization, do not write route-signature parameters if
  | the call does not need authorization.
  | ................................
  | r7222 | dkrzemin | 2006-08-08 13:10:46 -0400 (Tue, 08 Aug 2006) | 2 lines
  | XCF-441 change the way new rules are added to prepare for enhancing default dial plan
  | ................................
  | r7223 | dkrzemin | 2006-08-08 14:14:39 -0400 (Tue, 08 Aug 2006) | 4 lines
  | XCF-441 update default dialing plan to use long distance rules where possible
  | it makes long distance rules feature accessible for other types of rules
  | one can now specify PSTN gateway, Long Distance Gateway and Area codes for Local, Long Distance and International dialing
  | ................................
  | r7224 | dkrzemin | 2006-08-08 14:17:02 -0400 (Tue, 08 Aug 2006) | 2 lines
  | XCF-441 title for Dial Rule edit screen
  | ................................
  | r7230 | dkrzemin | 2006-08-09 17:14:56 -0400 (Wed, 09 Aug 2006) | 5 lines
  | XCF-1171 intergrated Douglas patch to finish selecting new and existing gateways from drop-down list
  | numerous changes to GatewaysPanel to make it self-contained - it does not require any listeners to be passed from the container
  | fix old problems with PatternEditor used in custom gateways (it was adding/removing patterns even if errors were reported)
  | minor updates to TestUtils - better check for validator and for "rewind" stage
  | ................................
  | r7231 | dkrzemin | 2006-08-09 17:49:20 -0400 (Wed, 09 Aug 2006) | 2 lines
  | XCF-1142 custom dial rule allows for specifying ranges using [] notation
  | ................................
  | r7234 | dkrzemin | 2006-08-10 10:58:20 -0400 (Thu, 10 Aug 2006) | 2 lines
  | Gateways page UI test requires that table is sorted by name (otherwise it fails randomly)
  | ................................
  | r7238 | dkrzemin | 2006-08-10 18:23:48 -0400 (Thu, 10 Aug 2006) | 4 lines
  | XCF-926 implement per gateway prefix that influences generation of fallback rules pertaining to this gateway
  | update generating authorization rules - since gateway patterns can be now different we generate a separate hostMatch for each gateway - even if gateways are in the same rule
  | minor UI and DB modifications to allow for configuring and storing of gateway prefix
  | ................................
  | r7242 | dworley | 2006-08-11 00:12:01 -0400 (Fri, 11 Aug 2006) | 48 lines
  | Merge most of the remaining changes from the 3.2 branch, especially
  | the new scheme for controlling the call pick-up workarounds via
  | configuration variables.
  | mergefrom sipx-3.2 6440
  | XCF-970 Remove extraneous tarballs from pkg-upgrade contents
  | mergefrom sipx-3.2 6506
  | Fix syntax error in install rule of proxy config files target
  | Fix distribution list for sipx-utils.sh scripts
  | ignore property for sipXcommserverLib/src/configrpc
  | mergefrom sipx-3.2 6530-6531
  | [XPB-499] Changes to build and install on FC5
  |           Many changes to compile with gcc 4
  |            (thank you Hannu Strang for most of these)
  |           Several changes to the configuration macros to detect other
  |            differences
  |           Upgrade the dependent packages to later versions
  |           Trim and configure the apache configuration files so that
  |            I think they now work with either 2.0 or 2.2
  | remove accidentally-committed debugging output
  | mergefrom sipx-3.2 7229
  | Revamp the code that controls the workarounds embedded in the call
  | pickup processor.  Instead of being controlled by environment
  | variables, they are now controlled by lines in registrar-config:
  | SIP_REGISTRAR_PICKUP_NO_EARLY_ONLY: Removes the "early-only" parameter
  | from generated Replaces headers, as some phones cannot handle it.
  | SIP_REGISTRAR_PICKUP_REVERSED_REPLACES: Adds a second Replaces header
  | with the to-tag and from-tag reversed, as the Pingtel code base
  | sometimes expects the tags in a Replaces header in reversed order.
  | SIP_REGISTRAR_PICKUP_1_SEC_SUBSCRIBE: Generate SUBSCRIBEs for 1 second
  | rather than 0 seconds, because some versions of Snom phones will not
  | send a NOTIFY for 0 second SUBSCRIBEs.
  | The values are coded "y", "Y", or "1" to activate the feature, and
  | "n", "N", or "0" to suppress the feature.
  | The defaults for these features are coded in SipRedirectorPickUp::initialize,
  | and are currently:
  | SIP_REGISTRAR_PICKUP_1_SEC_SUBSCRIBE : Y
  | SIP_REGISTRAR_PICKUP_REVERSED_REPLACES : N
  | SIP_REGISTRAR_PICKUP_NO_EARLY_ONLY : Y
  | ................................
  | r7244 | dkrzemin | 2006-08-11 13:54:30 -0400 (Fri, 11 Aug 2006) | 2 lines
  | XPB-728 we will be changing orbits file format and looks like original schema was never checked in
  | ................................
  | r7246 | dworley | 2006-08-11 16:45:16 -0400 (Fri, 11 Aug 2006) | 1 line
  | Add merge-logs to sipxtacklib.spec.in.
  | ................................
  | r7247 | dkrzemin | 2006-08-11 17:57:46 -0400 (Fri, 11 Aug 2006) | 4 lines
  | XCF-1121 refactor permssion related code to prepare for dynamic updates to call permission list: Permission class is no longer Enumeration (cannot be updated dynamically) - however it behaves in a similar manner (equals and hashCode defined properly)
  | new permission manager introduced - empty implmentation does not save custom permissions in DB yet
  | addional bonus: since Permission now has label and description (it's created from Setting definition) we have user readable permission labels in Dial Plan UI
  | ................................
  | r7248 | dworley | 2006-08-11 22:39:07 -0400 (Fri, 11 Aug 2006) | 1 line
  | Add comment to registrar-config.in regarding workaround configuration.
  | ................................
  | r7255 | dkrzemin | 2006-08-13 09:46:29 -0400 (Sun, 13 Aug 2006) | 2 lines
  | XCF-1121 permission UI CRUD
  | ................................
  | r7256 | dkrzemin | 2006-08-13 09:47:30 -0400 (Sun, 13 Aug 2006) | 2 lines
  | XCF-1121 missing file: permission UI CRUD
  | ................................
  | r7259 | sgodin | 2006-08-14 14:07:52 -0400 (Mon, 14 Aug 2006) | 1 line
  | disable statistics manager
  | ................................
  | r7260 | xmlscott | 2006-08-14 15:28:23 -0400 (Mon, 14 Aug 2006) | 21 lines
  | Forking proxy restructuring
  |    [XPR-182] If authproxy is configured, ensure it is always used.
  |    This allows Route header parameters in redirects without creating a
  |    security problem, which is needed to support mappings that route to
  |    a domain through a specified intermediary (such as an SBC).
  | Add unit tests for more of the forking proxy.
  | Add normalizeProxyRoutes to SipMessage to perform inbound route header
  | normalization for proxies.  This is used now in the forking proxy, and
  | is ready for use in the authproxy, but merging it in is too big a job
  | right now.
  | Add Url::fromString method to allow setting an existing Url object
  | from a string value.
  | Add documentation for forwardingrules.xml
  | Clean up several compiler warnings from gcc 4.0
  | ................................
  | r7262 | dkrzemin | 2006-08-14 17:43:09 -0400 (Mon, 14 Aug 2006) | 3 lines
  | XCF-1211 user is loading permissions from permission manager (it used to be the other way around)
  | some settings refactoring to allow permissions to easier emulate settings when needed
  | ................................
  | r7268 | dkrzemin | 2006-08-15 16:53:33 -0400 (Tue, 15 Aug 2006) | 2 lines
  | XCF-1121 add persistence to custom (used defined) permissions
  | ................................
  | r7270 | dworley | 2006-08-15 17:35:15 -0400 (Tue, 15 Aug 2006) | 7 lines
  | mergefrom pingtel-main 5496 (partial)
  | Fixes for ./build:
  | 	Reinitialize UsedVariables, so the list of environment
  | 	variables to be set during each build step does not grow
  | 	forever.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7347 a612230a-c5fa-0310-af8b-88eea846685b
Fix bollixed merge properties.

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7348 a612230a-c5fa-0310-af8b-88eea846685b
Test checking of added link.

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7350 a612230a-c5fa-0310-af8b-88eea846685b
Merged revisions 7274 via svnmerge from
https://scm.sipfoundry.org/rep/sipX/main
  | ................................
  | r7274 | xmlscott | 2006-08-16 13:31:20 -0400 (Wed, 16 Aug 2006) | 3 lines
  | Change the 'config' subdirectories from svn:externals to symbolic links
  |   (get rid of acsite.m4 by folding it into configure.as where it belonged)


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7351 a612230a-c5fa-0310-af8b-88eea846685b
Merged revisions 7275-7333 via svnmerge from
https://scm.sipfoundry.org/rep/sipX/main
  | ................................
  | r7275 | dworley | 2006-08-16 14:48:55 -0400 (Wed, 16 Aug 2006) | 2 lines
  | Remove the last svn:externals properties for "config" subdirectories.
  | ................................
  | r7276 | dkrzemin | 2006-08-16 16:29:53 -0400 (Wed, 16 Aug 2006) | 4 lines
  | XCF-1121 improvements in permissions UI
  | - built-in permissions are now read only
  | - you cannot select built-in permissions or delete them
  | ................................
  | r7278 | dkrzemin | 2006-08-16 17:21:39 -0400 (Wed, 16 Aug 2006) | 2 lines
  | hibernate marked as exported library: otherwise Eclipse refuses to build sipXconfig-web
  | ................................
  | r7279 | dkrzemin | 2006-08-16 19:47:10 -0400 (Wed, 16 Aug 2006) | 3 lines
  | XCF-1121 admin can now define the default value of the custom permission
  | bug fix: only one custom permission was displayed on User page
  | ................................
  | r7286 | lazyboy | 2006-08-17 13:31:01 -0400 (Thu, 17 Aug 2006) | 1 line
  | FIX BUILD: Remove acsite.m4 from list of files to distribute
  | ................................
  | r7290 | dworley | 2006-08-17 21:27:56 -0400 (Thu, 17 Aug 2006) | 2 lines
  | Update references to Internet-Drafts.
  | ................................
  | r7295 | dkrzemin | 2006-08-18 14:23:18 -0400 (Fri, 18 Aug 2006) | 2 lines
  | XCF-1032 ability to specify permission by name in the spring bean definition file
  | ................................
  | r7296 | dkrzemin | 2006-08-18 14:50:17 -0400 (Fri, 18 Aug 2006) | 2 lines
  | XCF-1185 fix broken services page
  | ................................
  | r7297 | dkrzemin | 2006-08-18 19:28:26 -0400 (Fri, 18 Aug 2006) | 5 lines
  | XCF-1181/XCF-1182 settings support for Park Orbits
  | - park orbit object is now bean with groups to support default and per orbit settings
  | - settings model file added
  | - DB and UI changes to display orbit settings
  | ................................
  | r7299 | dkrzemin | 2006-08-19 08:25:23 -0400 (Sat, 19 Aug 2006) | 1 line
  | checkstyle fix
  | ................................
  | r7300 | dkrzemin | 2006-08-19 09:15:19 -0400 (Sat, 19 Aug 2006) | 1 line
  | XCF-1181/XCF-1182 generating updated orbits.xml file
  | ................................
  | r7303 | dkrzemin | 2006-08-20 11:48:12 -0400 (Sun, 20 Aug 2006) | 1 line
  | XCF-1181/XCF-1182 editing park orbits defaults
  | ................................
  | r7304 | xmlscott | 2006-08-20 15:22:56 -0400 (Sun, 20 Aug 2006) | 9 lines
  | [XCS-66] fix shared memory and semaphore leaks
  |          The sipXcommserverLib and sipXregistry unit tests leaked
  |          system shared memory and shared semaphore references.  This
  |          sometimes caused repeated builds to either hang or fail.
  |          A registrar restart could also cause a similar leak, but in a
  |          running system this is rare enough not to be a problem unless
  |          the registrar was deliberately restarted many times (not a
  |          normal event).
  | ................................
  | r7305 | xmlscott | 2006-08-20 18:01:02 -0400 (Sun, 20 Aug 2006) | 1 line
  | turn off chatty test debugging output
  | ................................
  | r7306 | xmlscott | 2006-08-20 19:00:09 -0400 (Sun, 20 Aug 2006) | 1 line
  | use SipRegistrar to track database instance 
  | ................................
  | r7312 | dkrzemin | 2006-08-21 10:04:31 -0400 (Mon, 21 Aug 2006) | 2 lines
  | XCF-1181/XCF-1182 add UI test for park orbits defaults
  | ................................
  | r7313 | dkrzemin | 2006-08-21 10:28:14 -0400 (Mon, 21 Aug 2006) | 1 line
  | XCF-1181/XCF-1182 make Park time-out and Transfer key advanced parameters: displayed after admin clicks on Show Advanced link.
  | ................................
  | r7314 | xmlscott | 2006-08-21 10:52:40 -0400 (Mon, 21 Aug 2006) | 10 lines
  | Documentation for caller-alias.xml database.
  |   This is the database that allows From-header rewriting.
  |   This checkin adds the schema for the persistent database file, and
  |   an example, and checks any file in the sipdb against the schema
  |   during the configtest.
  |   Also clarified some usages in the fallbackrules example.
  |   See http://track.sipfoundry.org/browse/XPR-180
  | ................................
  | r7316 | dkrzemin | 2006-08-21 15:06:42 -0400 (Mon, 21 Aug 2006) | 1 line
  | XCF-1181/XCF-1182 updated schema for orbits.xml file.
  | ................................
  | r7317 | dkrzemin | 2006-08-21 15:07:43 -0400 (Mon, 21 Aug 2006) | 2 lines
  | XCF1181/XCF-1182 typos in parameters description (thanks Lih!)
  | ................................
  | r7318 | dkrzemin | 2006-08-21 16:39:04 -0400 (Mon, 21 Aug 2006) | 3 lines
  | Relax requirements for checking phone serial numbers. It has to have at least (was: eaxactly) 12 hex digits now.
  | Ideally each phone plugin would provide its own validator.
  | ................................
  | r7320 | lazyboy | 2006-08-22 10:34:25 -0400 (Tue, 22 Aug 2006) | 1 line
  | Merge in new build framework from releng-nextgen
  | ................................
  | r7322 | lazyboy | 2006-08-23 07:22:15 -0400 (Wed, 23 Aug 2006) | 1 line
  | XCF-1174 Allow you to define daemons outside ProcessDefinitions and WatchDog xml files
  | ................................
  | r7323 | lazyboy | 2006-08-23 08:39:01 -0400 (Wed, 23 Aug 2006) | 1 line
  | XPL-39 Increase timer unit test tolerance from 10 ms to 30 ms, (was 150 ms before it was changed to 10 ms)
  | ................................
  | r7324 | xmlscott | 2006-08-23 09:04:34 -0400 (Wed, 23 Aug 2006) | 1 line
  | update docs to reflect changes made during implementation
  | ................................
  | r7330 | lazyboy | 2006-08-23 15:50:59 -0400 (Wed, 23 Aug 2006) | 1 line
  | build issue, top make file was getting generated into config dir and cannot be shared between ./lib and ./ so create respective symlinks
  | ................................
  | r7331 | lazyboy | 2006-08-23 17:07:29 -0400 (Wed, 23 Aug 2006) | 1 line
  | Update java version to build 08
  | ................................
  | r7332 | lazyboy | 2006-08-23 18:30:05 -0400 (Wed, 23 Aug 2006) | 1 line
  | backdown to jdk build 07, 08 jpackage wrapper isn't available yet
  | ................................
  | r7333 | lazyboy | 2006-08-24 10:13:43 -0400 (Thu, 24 Aug 2006) | 1 line
  | XCF-861 Create optional sipxconfig-ftp RPM that installs and configures vsftpd server w/default polycom soundpoint user and pwd


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7359 a612230a-c5fa-0310-af8b-88eea846685b
Remove ./build.

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7361 a612230a-c5fa-0310-af8b-88eea846685b
Copy ./build from Main.

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7362 a612230a-c5fa-0310-af8b-88eea846685b
Clean up properties.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7444 a612230a-c5fa-0310-af8b-88eea846685b
First compilable version of implementing the redirectors via Plugin.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7445 a612230a-c5fa-0310-af8b-88eea846685b
Improve debugging messages.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7456 a612230a-c5fa-0310-af8b-88eea846685b
Pass arguments to UrlMapping::loadMappings by reference rather than by copy.
Improve debug messages.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7457 a612230a-c5fa-0310-af8b-88eea846685b
Copy Apache modules into an architecture-dependent directory.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7458 a612230a-c5fa-0310-af8b-88eea846685b
Convert the redirector modules into real Plugins.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7459 a612230a-c5fa-0310-af8b-88eea846685b
mergefrom sipx 1-7455
Bring up to date relative to SIPfoundry Main.

But SipRedirectorCallerAlias hasn't been converted into a plugin yet.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7460 a612230a-c5fa-0310-af8b-88eea846685b
Change @SIPXMEDIA_MP_LIBS@ to @SIPXMEDIAADAPTER_LIBS@.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7469 a612230a-c5fa-0310-af8b-88eea846685b
Turn SipRedirectorCallerAlias into a Plugin, including relocating
SipRegistrar.h to include/registry, so it can be used by Plugins.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7470 a612230a-c5fa-0310-af8b-88eea846685b
Add a test to the start script to check for /etc/sipxpbx/*.NEW files,
which have about the same unfortunate features as *.rpmnew files, but
are only generated by the build system, not RPM installs.
(This should be tested more before being checked in, but I need to get
it into the repository before I can merge it into my SIPfoundry Main
working copy.)


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/user_dworley_redirectors@7472 a612230a-c5fa-0310-af8b-88eea846685b