PT48083963 - Calls hold/pickup fails in a HA setup with two servers and shared lines

Two changes were done in proxy's NAT traversal plugin:
- Use a modified Contact header (the header was modified to contain endpoint's public
and private address) for all message types except for SUBSCRIBE and NOTIFIES. Previously,
the header was restored for all messages except INVITES in order to fix some presence
issues. Because of this approach a proxy was unable to route correctly other requests
such as PRACK or ACK.
- Do not let a proxy change the request URI of a request if it is not the "last" proxy
to route that request to the endpoint behind NAT. If a proxy changes the request URI
the next proxy will not be able to route it correctly.
Removed a debug log message from proxy. Lowered the level of another log message from SAA.
Squashed commit of the following:

commit 5c0bd21e8fa407677eb5b4b6a90d9d228f4ea98e
Author: Cristi Ciuc Starasciuc <cristi@ezuce.com>
Date:   Mon Apr 1 12:46:15 2013 +0300

    PT-46800361 - unzip polycom firmware into correct folder, as it might be packed into a different folder structure - fix undeploy

commit ce4d7264d1f8ed69d0510703448d22b4888f6f93
Author: Cristi Starasciuc <cristi@ezuce.com>
Date:   Wed Mar 27 13:22:11 2013 +0200

    PT-46800361 - unzip polycom firmware into correct folder, as it might be packed into a different folder structure.
PT-47005803 - Make sipxconfig-archive.in script plugable
Revert "Squashed commit of the following:"

This reverts commit 6c957d16f9ec2dc7d43a8fdf1f6a92de47f43714.
PT48207585: mysql start exercised on every configuration replication

- typo in defining cfengine restart class
PT-48228357:  When the JSON payload of an SQA request _pObject will be NULL.  all calls to *::get method will assert instead of simply returning false.
XX-10591-firewall_groups-ok-after-apply-error

- check if group with same name exists when saving
- return new group id to be used when reloading page
PT46562841: Too many AA, cannot delete them

- bump Jetty's maxFormContentSize accepted to 700000 bytes (default is 200000)
PT48473419 - Proxy exits with "failed to terminate after 20.000 seconds"

Problem was that a proxy thread running a SIPClientTCP deadlocked before
starting garbage collection because another thread triggered its
termination from garbage collection. The termination func waited 20 secs,
asserted and killed the proxy. To overcome this issues a thread
does not have to block and wait to start garbage collection while the
gc is already in progress (started by some other thread).

Garbage collection is run by a specific thread from SipTransactionList
and also whenever a thread does SipTransactionList::findTransactionFor
with the purpose of being done very often.
PT46608005: Backup/restore does not handle AA prompts
build err - sipxconfig plugins were not part of build
Revert "Revert "Squashed commit of the following:""

This reverts commit 3125d99b3464b60768bc31b612f55b861c3ba23e.
PT 48245165: "On the phone" is not displayed when call initiated from Unite client

-should not handle dialog-events when caller equals with callee
PT-48728509 - Fix sipxconfig_archive.rb script
Merge branch 'PT46608005' into release-4.6
PT48390337 - SQA error log messages in sipXproxy.log

SQA clients and server logged various error messages because client
connections to server were closed by server when error conditions
where hit in the socket parsing func  which was buggy. The server side
parsing of read buffer was fixed: parsing will be started only when
min message size was read in buffer, expect that several reads might
not give a full message, preserve parsing state between subsequent socket
reads, refactored the parsing func completely because the old design was
using two functions which in rare cases would get stuck in infinite recursion.
Other fixes:
Added a flag to mark that a socket was closed so that subsequent attempts
of closing will be discarded. This also resulted in lots of benign error logs.
Removed duplicate code that closed a socket from various locations: connection
class, listener class.
Check if read error is EOF to know that connection was closed gracefully.
Added support for CPPUnit unit testing in SQA
Merge remote-tracking branch 'origin/release-4.6' into sqa-ha
Merge remote-tracking branch 'origin/release-4.6' into sqa-ha