On 08/11/21 11:53, Kingsley Tart wrote:

Hi,

I realise that this is not really specific to Asterisk, but this seems
as sensible a place to ask as any.

If I want to create a script to automate the build of my chosen
Asterisk setup, what's the best way to automate my selections that I
did interactively when I ran "make menuselect" ?

I think doing that created a makeopts file somewhere. If I were to just
copy in the makeopts file I created from a build on another machine, is
there a process that can check that to ensure that everything selected
in that can be built, or is doing "make" and seeing whether that worked
the only way?

Cheers,
Kingsley.

    Just use the something like the following in your script:

make menuselect.makeopts
menuselect/menuselect --enable codec_opus --enable codec_silk --enable codec_siren7--enable codec_siren14 menuselect.makeopts

Docs are here:

https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options#UsingMenuselecttoSelectAsteriskOptions-ControllingMenuselect


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
     https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to