[asterisk-users] Updating Asterisk and its use with MySQL

Daniel Bareiro daniel-listas at gmx.net
Sun Mar 28 14:18:34 CDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, Jim.

On Sun, 28 Mar 2010, Jim Dickenson wrote:

>>> Make sure not to do "make samples" or you will overwrite your .conf
>>> file. This is the important one to watch out for. You can save off
>>> your .conf files and then restore them or compare your files with
>>> the new ones to see if there are any important new settings.

>> I had thought that "make config" was what I would have to avoid.
>> Which is the difference? does "make config" create the init scripts
>> and "make samples" the example configuration files?

> Yes, "make config" installs /etc/init.d/asterisk on Linux systems and
> does the appropriate chkconfig steps so will start on boot while "make
> samples" installs the .conf files in, by default, /etc/asterisk.

Perfect.

>> Do these two "makes" have the same behavior for Asterisk and DAHDI? I
>> have understood that "make config" in DAHDI Tools is the one that
>> creates both the configuration files and init scripts.

> There is no "make config" for dahdi. I think /etc/dahdi files do not
> get overwritten if they are there already.

Hmmm... nevertheless I have documented this procedure in my Dokuwiki of
the time that I made the installation and compilation:

# tar xvzf dahdi-linux-2.1.0.4.tar.gz
# tar xvzf dahdi-tools-2.1.0.2.tar.gz

~/Asterisk/dahdi-linux-2.1.0.4# make
~/Asterisk/dahdi-linux-2.1.0.4# make install

~/Asterisk/dahdi-tools-2.1.0.2# ./configure
~/Asterisk/dahdi-tools-2.1.0.2# make menuselect   # In order to select a customized configuration
~/Asterisk/dahdi-tools-2.1.0.2# make
~/Asterisk/dahdi-tools-2.1.0.2# make install
~/Asterisk/dahdi-tools-2.1.0.2# make config       # In order to install scripts and config files

>> When I compiled the version that I'm using at the moment of DAHDI
>> Linux only I used "make" and "make install" without using "make
>> samples" or "make config". Are also generated configuration files
>> with DAHDI Linux?

> I think if you are installing dahdi complete from source you do "make
> all" and "make install" and "make config"

Thanks. I will consider it if I install this package of DAHDI.


Thanks for your reply.

Regards,
Daniel

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkuvqhAACgkQZpa/GxTmHTfqMQCfT2V7RR4JMFp/EpH4J0F8Tfk9
3SYAoJJLhKfdznWoYddRNhmmyN1ygzJm
=Q6s+
- -----END PGP SIGNATURE-----

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkuvqh8ACgkQZpa/GxTmHTfoygCfZtRoPj8ieJjWVtsIqPFIk5Q/
4QQAnjWRKkOJls9dFVwVM0IQORkmDIPd
=YxoR
-----END PGP SIGNATURE-----




More information about the asterisk-users mailing list