https://freeswitch.org/confluence/display/FREESWITCH/VirtualizationDon't use ovz. use kvm or xen based vm.
To speed you on your way to building a new FreeSWITCH installation the FS developer team has prepared an OpenVZ container complete with all necessary libraries and dependencies:
http://files.freeswitch.org/openvz/
...