Asterisk migration


I have in fact a Asterisk installed in CentOs 5.4 server, this Asterisk in configured as Auto-Dialer. the main of this topic is to know how can i copy or make the migration of Asterisk version on new CentOs server.
It’s sufficient to copy all folders content from --> To new server? for exemple:

astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run
astlogdir => /var/log/asterisk


It depends on the method your asterisk is using for outbound dialing . most of them are using some scripts that are not in the asterisk folders and some of them are using databases for statistics and so on .