2012/5/14, Matthew Jordan <[email protected]>: > > ----- Original Message ----- >> From: "Olivier" <[email protected]> >> To: "Asterisk Users Mailing List - Non-Commercial Discussion" >> <[email protected]> >> Sent: Monday, May 14, 2012 4:39:40 AM >> Subject: [asterisk-users] How to script cdr_mysql enabling in menuselect >> ? >> >> Hello, >> >> I'm using asterisk 1.8. >> I can enable cdr_mysql module using "make menuselect". >> How can I do that within a shell script, something equibvalent to >> this: >> >> ./configure >> echo "MENUSELECT_CORE_SOUNDS=CORE-SOUNDS-EN-GSM CORE-SOUNDS-FR-GSM" > >> menuselect.makeopts.defaults >> make USER_MAKEOPTS=menuselect.makeopts.defaults menuselect.makeopts >> make >> make install >> >> Regards >> > > Menuselect has command line options to enable/disable individual entities > or entire categories. For cdr_mysql: > > menuselect/menuselect --enable cdr_mysql menuselect.makeopts > > For more options, check out menuselect/menuselect --help. >
Thanks for replying : that'e exactly the answer I was after ! After your answer, I found this URL (https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options) which is also useful. My only remaining problem is I don't exactly understand how to compare these "menuselect/menuselect --enable ..." patterns with the "make USER_MAKEOPTS=foobar" pattern I'm using for years. Which is recommanded ? > -- > Matthew Jordan > Digium, Inc. | Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA > Check us out at: http://digium.com & http://asterisk.org > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
