[asterisk-users] How to script cdr_mysql enabling in menuselect ?
Olivier
oza_4h07 at yahoo.fr
Tue May 15 05:14:35 CDT 2012
2012/5/14, Matthew Jordan <mjordan at digium.com>:
>
> ----- 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.
>
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
>
More information about the asterisk-users
mailing list