Re: [asterisk-users] automating "make menuselect" options when building
On Mon, 2021-11-08 at 12:01 -0600, Carlos Chavez wrote: > 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 > testing (my previous replies haven't made it to the list). Cheers, Kingsley. -- _ -- 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
Re: [asterisk-users] automating "make menuselect" options when building
On Mon, 2021-11-08 at 12:01 -0600, Carlos Chavez wrote: > > > 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 > Hi, I think I'm misunderstanding how this works. I thought that when I used menuselect/menuselect that it would write my change into the menuselect.makeopts file, but that doesn't seem to be happening here: root@gw9:/usr/src/asterisk-18.7.1# menuselect/menuselect --list-category MENUSELECT_ADDONS + chan_mobile - chan_ooh323 - format_mp3 - res_config_mysql - app_mysql - cdr_mysql root@gw9:/usr/src/asterisk-18.7.1# menuselect/menuselect --enable format_mp3 menuselect.makeopts root@gw9:/usr/src/asterisk-18.7.1# menuselect/menuselect --list-category MENUSELECT_ADDONS + chan_mobile - chan_ooh323 - format_mp3 - res_config_mysql - app_mysql - cdr_mysql I expected to see a "+" next to format_mp3 on the second listing. What I also don't understand is the difference between the listings above and the one I get when I specify the makeopts file, which doesn't have chan_mobile selected: root@gw9:/usr/src/asterisk-18.7.1# menuselect/menuselect --list-category MENUSELECT_ADDONS menuselect.makeopts - chan_mobile - chan_ooh323 - format_mp3 - res_config_mysql - app_mysql - cdr_mysql -- Cheers, Kingsley. -- _ -- 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
Re: [asterisk-users] automating "make menuselect" options when building
On Mon, 2021-11-08 at 12:01 -0600, Carlos Chavez wrote: > 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 Excellent, thanks. -- Cheers, Kingsley. -- _ -- 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
Re: [asterisk-users] automating "make menuselect" options when building
On Mon, 2021-11-08 at 12:01 -0600, Carlos Chavez wrote: > > > 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 > Hi, I think I'm misunderstanding how this works. I thought that when I used menuselect/menuselect that it would write my change into the menuselect.makeopts file, but that doesn't seem to be happening here: root@gw9:/usr/src/asterisk-18.7.1# menuselect/menuselect --list-category MENUSELECT_ADDONS + chan_mobile - chan_ooh323 - format_mp3 - res_config_mysql - app_mysql - cdr_mysql root@gw9:/usr/src/asterisk-18.7.1# menuselect/menuselect --enable format_mp3 menuselect.makeopts root@gw9:/usr/src/asterisk-18.7.1# menuselect/menuselect --list-category MENUSELECT_ADDONS + chan_mobile - chan_ooh323 - format_mp3 - res_config_mysql - app_mysql - cdr_mysql I expected to see a "+" next to format_mp3 on the second listing. What I also don't understand is the difference between the listings above and the one I get when I specify the makeopts file, which doesn't have chan_mobile selected: root@gw9:/usr/src/asterisk-18.7.1# menuselect/menuselect --list-category MENUSELECT_ADDONS menuselect.makeopts - chan_mobile - chan_ooh323 - format_mp3 - res_config_mysql - app_mysql - cdr_mysql -- Cheers, Kingsley. -- _ -- 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
Re: [asterisk-users] automating "make menuselect" options when building
On Mon, 2021-11-08 at 12:01 -0600, Carlos Chavez wrote: > 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 Excellent, thanks. -- Cheers, Kingsley. -- _ -- 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
Re: [asterisk-users] automating "make menuselect" options when building
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
Re: [asterisk-users] automating "make menuselect" options when building
On Mon, Nov 8, 2021 at 1:53 PM 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? > There is a programmatic way of controlling menuselect for this usage[1][2][3] without sharing makeopts file. [1] https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options#UsingMenuselecttoSelectAsteriskOptions-ControllingMenuselect [2] https://www.asterisk.org/configuring-an-asterisk-build-from-the-command-line/ [3] https://www.asterisk.org/configuring-an-asterisk-build-from-the-command-line-part-2/ -- Joshua C. Colp Asterisk Technical Lead Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org -- _ -- 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
[asterisk-users] automating "make menuselect" options when building
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. -- _ -- 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