I've actually never compiled it to be installed in the default location. You had the modify the Makefile prior to Asterisk 1.4 -- but since Asterisk 1.4 and beyond use the GNU autoconf tools, and support standard options like --prefix, --exec-prefix, etc. Do a ./configure --help to see what they are and change the ones you need to.
If you want to use a stock asterisk install on a system, but launch a second instance for example, you can also specify an alternate asterisk.conf file using the -C option to asterisk, and in that asterisk.conf you can specify different locations for various files. On 5 December 2010 16:59, Reza - Asterisk Consultant <[email protected]> wrote: > I have a unique need to do things completely outside the normal way of doing > things. By default, the compiled version of Asterisk is stored in > /usr/sbin directory and the process when run, looks for the master > asterisk.conf file in the /etc/asterisk directory by default. Any > advise on which source file to modify and which entry to modify in the > source file to have the asterisk binary and the asterisk.conf file in an > completely different directory? > > Thanks and regards, > Reza. > > -- > Toronto based VoIP / Asterisk Trainer, > I.T. Consultant and Hosted PBX Solutions Provider. > +1-647-476-2067. > http://www.linkedin.com/in/seminar > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
