From: <kr...@us...> - 2007-11-29 15:50:13
|
Revision: 1412 http://astlinux.svn.sourceforge.net/astlinux/?rev=1412&view=rev Author: krisk84 Date: 2007-11-29 07:50:10 -0800 (Thu, 29 Nov 2007) Log Message: ----------- support for ASTVERBOSE rc.conf setting Modified Paths: -------------- trunk/package/asterisk/asterisk.init trunk/target/generic/target_skeleton/stat/etc/rc.conf Modified: trunk/package/asterisk/asterisk.init =================================================================== --- trunk/package/asterisk/asterisk.init 2007-11-28 19:28:25 UTC (rev 1411) +++ trunk/package/asterisk/asterisk.init 2007-11-29 15:50:10 UTC (rev 1412) @@ -147,6 +147,11 @@ asterisk -p fi +if [ "$ASTVERBOSE" ] +then +asterisk -rx "set verbose $ASTVERBOSE" > /dev/null +fi + if [ "$ASTG729" ] then G729MODULE=$ASTG729 Modified: trunk/target/generic/target_skeleton/stat/etc/rc.conf =================================================================== --- trunk/target/generic/target_skeleton/stat/etc/rc.conf 2007-11-28 19:28:25 UTC (rev 1411) +++ trunk/target/generic/target_skeleton/stat/etc/rc.conf 2007-11-29 15:50:10 UTC (rev 1412) @@ -488,6 +488,11 @@ #ASTMANPROXY_USER="admin" #ASTMANPROXY_PASS="password" +##Asterisk Verbose Logging Support +##This will automatically set the verbosity level after Asterisk +##starts up. +#ASTVERBOSE="15" + ##Asterisk G729 Support ##I added code to the init script to support auto detection and loading ##of different G729 modules based on CPU type. If you don't define this This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |