Create a sf release branch 3.4

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6681 a612230a-c5fa-0310-af8b-88eea846685b
Make find_call_request more precise about which INVITE it uses, per XPR-146. Clean up call resolver code and enhance debug logging, per XPR-127.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6683 a612230a-c5fa-0310-af8b-88eea846685b
Add actual screen output for stunnel failure connections instead of just
logging and silently failing.

Set correct permissions on stunnel log file so logrotate can work with
it.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6686 a612230a-c5fa-0310-af8b-88eea846685b
In support of XPR-146, add a max_clock_diff parameter that will be used to decide how far out of sync clocks in an HA configuration can be before we label a CDR as bad.
In CallResolverConfigure, validate int params to be ints and optionally to lie within a min-max range.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6688 a612230a-c5fa-0310-af8b-88eea846685b
Remove the "redo" flag -- low priority and partially implemented, so confusing to leave it in the code.
Drop the DB constraints mandating that start time, connect time, and end time be in time sequence.  In an HA configuration, they might be misordered due to clock differences.  Simply record the observed times rather than trying to correct that at the data level -- let the reporting level make those decisions.  Along those lines, remove the max clock diff config param.
Add to the user guide an explanation that times supplied in command-line args are interpreted in the local time zone unless otherwise specified.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6689 a612230a-c5fa-0310-af8b-88eea846685b
Bump up sf branch version to 3.4

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6691 a612230a-c5fa-0310-af8b-88eea846685b
External properties set for sf branch 3.4

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6692 a612230a-c5fa-0310-af8b-88eea846685b
Initialize merge tracking from both sipx-main and pingtel-3.4

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6693 a612230a-c5fa-0310-af8b-88eea846685b
Update release notes upto 3.4

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6695 a612230a-c5fa-0310-af8b-88eea846685b
XPB-581: Add refer URI to call state event logging, adapt authproxy CSE
observer, unit tests, and database patching to add this column.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6698 a612230a-c5fa-0310-af8b-88eea846685b
Improve stunnel_connection by replacing duplicated error-handling code with a shared method raise_exception.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6704 a612230a-c5fa-0310-af8b-88eea846685b
Revised CDR user guide

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6705 a612230a-c5fa-0310-af8b-88eea846685b
XPB-598: Add database patching step after creation

git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6708 a612230a-c5fa-0310-af8b-88eea846685b
In pursuit of XPR-144 (CDR performance): drop the parties table in SIPXCDR and put the caller and callee AORs directly in the CDRs table.  Simplify some queries.  Increment the SIPXCDR DB version to 2, incompatibly; since there are no production installs of the call resolver yet, an upgrade mechanism is not needed.
Looks like these changes buy us a factor of 2 performance improvement, not to be sneezed at.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6726 a612230a-c5fa-0310-af8b-88eea846685b
More CDR performance tuning (XPR-144).  Per advice in the PostgreSQL manual, commit all the CDRs in one ginormous transaction, rather than using one transaction per CDR as before.  Appears to improve performance noticeably, but the times that I recorded vary by up to a factor of 2, so not clear what the impact is. However, the worst time I recorded was slightly better than the best time I recorded previously.  To get decent stats, I'll need to do longer runs with bigger data sets.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6727 a612230a-c5fa-0310-af8b-88eea846685b
Fix XPR-154: In CDR , HA setup, if the distributed machine is down CDR is not logged .
If we get an error connecting to a CSE DB, then catch it, report it, and at least try to do CDRs for the DBs that we are able to reach.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6730 a612230a-c5fa-0310-af8b-88eea846685b
Add a variant of the call resolver config file for use in development


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6732 a612230a-c5fa-0310-af8b-88eea846685b
Don't set SO_DONTROUTE on server sockets.  We want to support subnets.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6733 a612230a-c5fa-0310-af8b-88eea846685b
Fix the way the load path is handled to eliminate annoying warnings about constants already having been defined.
Add unit tests for DatabaseUtils.


git-svn-id: http://scm.sipfoundry.org/rep/sipX/branches/3.4@6734 a612230a-c5fa-0310-af8b-88eea846685b
XPR-156: Update CSE table to correct format

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