To install a set of sample configuration files for Asterisk, type:
[root@server asterisk-1.8.X.Y]# make samples
Any existing sample files which have been modified will be given a .old file extension. For example, if you had an existing file named extensions.conf, it would be renamed to extensions.conf.old and the sample dialplan would be installed as extensions.conf.