[asterisk-users] How to script cdr_mysql enabling in menuselect ?

Matthew Jordan mjordan at digium.com
Mon May 14 06:56:01 CDT 2012


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



More information about the asterisk-users mailing list