[asterisk-dev] make samples generated
Bhrugu Mehta
bhrugumehta at gmail.com
Sun Dec 30 23:22:54 CST 2007
hi,
you can set your dir. path in "makeopts" file of asterisk source dir.
I have been using asterisk 1.4.15.
enjoy!!
Bhrugu Mehta
On Dec 30, 2007 3:50 AM, Marc Blanchet <marc.blanchet at viagenie.ca> wrote:
> Hi,
> while doing the port integration of Asterisk for Macosx, I
> discovered that when Asterisk is not installed in the standard
> directories, the sample configs are not updated accordingly.
> Therefore, for example, the musiconhold.conf sample contains
> directory=/var/lib/asterisk/moh , while the installed directory prefix
> is /whatever, which means /whatever/lib/asterisk/moh. This creates
> unnecessary warnings, specially for the first time users.
> I'm bouncing the idea to replace the static configs in the samples
> by the use of the Makefile variables and then to generate the right
> conf files at the make samples time. Example:
> configs/musiconhold.conf.sample:
> ...
> directory=$(ASTVARLIBDIR)/moh
>
> then make samples will generate:
>
> musiconhold.conf
> ...
> directory=/var/lib/asterisk/moh
>
> or
>
> directory=/whatever/lib/asterisk/moh
>
> depending on the prefix defined during installation.
>
> side effect: the asterisk.conf file could then be generated the same
> way.
>
> Make sense?
>
> Marc.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list