Olivier
2012-May-14 09:39 UTC
[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
Matthew Jordan
2012-May-14 11:56 UTC
[asterisk-users] How to script cdr_mysql enabling in menuselect ?
----- Original Message -----> From: "Olivier" <oza_4h07 at yahoo.fr> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> > 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. -- 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