Align with Openfire changes

    Some interfaces have changed packages

PT318571 Changes required for adding mongodb providers to Openfire
Some refactoring needed for DB access
Upgraded monogdb java driver (2.9.0 contained a bug that triggered during my tests)
Set java sources encoding to UTF-8 (one test that used german characters was failing when trying to build RPMs for CentOS)
Cleaned up projects' classpaths (removed references to SIPX_SRC_TOP and SIPX_JAVA_TOP)

PT36956563 Additional properties needed for clustering.

PT318571 Changes required for adding mongodb providers to Openfire
Some refactoring needed for DB access
Upgraded monogdb java driver (2.9.0 contained a bug that triggered during my tests)
Set java sources encoding to UTF-8 (one test that used german characters was failing when trying to build RPMs for CentOS)
Cleaned up projects' classpaths (removed references to SIPX_SRC_TOP and SIPX_JAVA_TOP)

Updated lastest Openfire

Fix style -  sipXconfig should  use commons logging factory instead log4j

Fix MongoFactory init when openfire not installed

Fix Mongo intialization for sipXconfig when installing from sources

Openfire integration fixes:
- Generate openfire.properties, replicate through cfengine
- add HA property to relax validator, configurable
- remove unused providers from openfire.vm
- fix openfire service status in sipxconfig page
- remove mechanism for saving properties in OF db

Additional cleanup in OF config file - inject providers as map

Fix admin portal login - use JIDs

Take 2 - try to fix NPE when getting user presence

Changes required by Openfire 3.8.1 API.

Fixed eclipse projects' classpaths

Moved Openfire reference to 3.8.1
Removed unused project dependency

Removed references to jodatime
PT-336655 Multiple zones in a cluster
XX-9767

User's CDRs, voicemail timestamps (including IVR prompts), schedules follow user's timezone.
Timezone can be set at:
branch level
group level
user level

Both admins and users may change a user's timezone.
PT-49088557 - have sipxconfig generate aliases when VM and AA role is enabled. This ensures vm alias permission is in replicated in mongo.
Revert "PT-49088557 - have sipxconfig generate aliases when VM and AA role is enabled. This ensures vm alias permission is in replicated in mongo."

This reverts commit 9dffb768fefbc453e5337c0e572680a605efdb01.

Reason: code should be in post commit not in replicate!!
PT-49088557 -have sipxconfig generate aliases when VM and AA role is enabled. This ensures vm alias permission is in replicated in mongo.
Changes in conferences replication (openuc repliction handled in a separate plugin)
PT48003901: Openfire should inherit lang set in  System > Localization

- localize openfire according with config selection

Conflicts:

	sipXopenfire/config-plugin/sipxplugin.beans.xml
	sipXopenfire/config-plugin/src/org/sipfoundry/sipxconfig/openfire/OpenfireConfigurationFile.java
	sipXopenfire/etc/openfire.vm
    Align with Openfire changes

    Some interfaces have changed packages

PT318571 Changes required for adding mongodb providers to Openfire
Some refactoring needed for DB access
Upgraded monogdb java driver (2.9.0 contained a bug that triggered during my tests)
Set java sources encoding to UTF-8 (one test that used german characters was failing when trying to build RPMs for CentOS)
Cleaned up projects' classpaths (removed references to SIPX_SRC_TOP and SIPX_JAVA_TOP)

PT36956563 Additional properties needed for clustering.

PT318571 Changes required for adding mongodb providers to Openfire
Some refactoring needed for DB access
Upgraded monogdb java driver (2.9.0 contained a bug that triggered during my tests)
Set java sources encoding to UTF-8 (one test that used german characters was failing when trying to build RPMs for CentOS)
Cleaned up projects' classpaths (removed references to SIPX_SRC_TOP and SIPX_JAVA_TOP)

Updated lastest Openfire

Fix style -  sipXconfig should  use commons logging factory instead log4j

Fix MongoFactory init when openfire not installed

Fix Mongo intialization for sipXconfig when installing from sources

Openfire integration fixes:
- Generate openfire.properties, replicate through cfengine
- add HA property to relax validator, configurable
- remove unused providers from openfire.vm
- fix openfire service status in sipxconfig page
- remove mechanism for saving properties in OF db

Additional cleanup in OF config file - inject providers as map

Fix admin portal login - use JIDs

Take 2 - try to fix NPE when getting user presence

Changes required by Openfire 3.8.1 API.

Fixed eclipse projects' classpaths

Moved Openfire reference to 3.8.1
Removed unused project dependency

Removed references to jodatime
    Align with Openfire changes

    Some interfaces have changed packages

PT318571 Changes required for adding mongodb providers to Openfire
Some refactoring needed for DB access
Upgraded monogdb java driver (2.9.0 contained a bug that triggered during my tests)
Set java sources encoding to UTF-8 (one test that used german characters was failing when trying to build RPMs for CentOS)
Cleaned up projects' classpaths (removed references to SIPX_SRC_TOP and SIPX_JAVA_TOP)

PT36956563 Additional properties needed for clustering.

PT318571 Changes required for adding mongodb providers to Openfire
Some refactoring needed for DB access
Upgraded monogdb java driver (2.9.0 contained a bug that triggered during my tests)
Set java sources encoding to UTF-8 (one test that used german characters was failing when trying to build RPMs for CentOS)
Cleaned up projects' classpaths (removed references to SIPX_SRC_TOP and SIPX_JAVA_TOP)

Updated lastest Openfire

Fix style -  sipXconfig should  use commons logging factory instead log4j

Fix MongoFactory init when openfire not installed

Fix Mongo intialization for sipXconfig when installing from sources

Openfire integration fixes:
- Generate openfire.properties, replicate through cfengine
- add HA property to relax validator, configurable
- remove unused providers from openfire.vm
- fix openfire service status in sipxconfig page
- remove mechanism for saving properties in OF db

Additional cleanup in OF config file - inject providers as map

Fix admin portal login - use JIDs

Take 2 - try to fix NPE when getting user presence

Changes required by Openfire 3.8.1 API.

Fixed eclipse projects' classpaths

Moved Openfire reference to 3.8.1
Removed unused project dependency

Removed references to jodatime
PT-49088557 - have sipxconfig generate aliases when VM and AA role is enabled. This ensures vm alias permission is in replicated in mongo.
Revert "PT-49088557 - have sipxconfig generate aliases when VM and AA role is enabled. This ensures vm alias permission is in replicated in mongo."

This reverts commit 9dffb768fefbc453e5337c0e572680a605efdb01.

Reason: code should be in post commit not in replicate!!
PT-49088557 -have sipxconfig generate aliases when VM and AA role is enabled. This ensures vm alias permission is in replicated in mongo.
PT48003901: Openfire should inherit lang set in  System > Localization

- localize openfire according with config selection

Conflicts:

	sipXopenfire/config-plugin/sipxplugin.beans.xml
	sipXopenfire/config-plugin/src/org/sipfoundry/sipxconfig/openfire/OpenfireConfigurationFile.java
	sipXopenfire/etc/openfire.vm
Fix for admin users replication
Bumped Openfire ref
    Align with Openfire changes

    Some interfaces have changed packages

PT318571 Changes required for adding mongodb providers to Openfire
Some refactoring needed for DB access
Upgraded monogdb java driver (2.9.0 contained a bug that triggered during my tests)
Set java sources encoding to UTF-8 (one test that used german characters was failing when trying to build RPMs for CentOS)
Cleaned up projects' classpaths (removed references to SIPX_SRC_TOP and SIPX_JAVA_TOP)

PT36956563 Additional properties needed for clustering.

PT318571 Changes required for adding mongodb providers to Openfire
Some refactoring needed for DB access
Upgraded monogdb java driver (2.9.0 contained a bug that triggered during my tests)
Set java sources encoding to UTF-8 (one test that used german characters was failing when trying to build RPMs for CentOS)
Cleaned up projects' classpaths (removed references to SIPX_SRC_TOP and SIPX_JAVA_TOP)

Updated lastest Openfire

Fix style -  sipXconfig should  use commons logging factory instead log4j

Fix MongoFactory init when openfire not installed

Fix Mongo intialization for sipXconfig when installing from sources

Openfire integration fixes:
- Generate openfire.properties, replicate through cfengine
- add HA property to relax validator, configurable
- remove unused providers from openfire.vm
- fix openfire service status in sipxconfig page
- remove mechanism for saving properties in OF db

Additional cleanup in OF config file - inject providers as map

Fix admin portal login - use JIDs

Take 2 - try to fix NPE when getting user presence

Changes required by Openfire 3.8.1 API.

Fixed eclipse projects' classpaths

Moved Openfire reference to 3.8.1
Removed unused project dependency

Removed references to jodatime
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.
PT-336655 Multiple zones in a cluster
XX-9767

User's CDRs, voicemail timestamps (including IVR prompts), schedules follow user's timezone.
Timezone can be set at:
branch level
group level
user level

Both admins and users may change a user's timezone.
PT-49088557 - have sipxconfig generate aliases when VM and AA role is enabled. This ensures vm alias permission is in replicated in mongo.
Revert "PT-49088557 - have sipxconfig generate aliases when VM and AA role is enabled. This ensures vm alias permission is in replicated in mongo."

This reverts commit 9dffb768fefbc453e5337c0e572680a605efdb01.

Reason: code should be in post commit not in replicate!!