----- 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.

--
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

Reply via email to