[dahdi-commits] tzafrir: linux/trunk r10151 -	/linux/trunk/build_tools/live_dahdi
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Wed Aug 24 03:03:23 CDT 2011
    
    
  
Author: tzafrir
Date: Wed Aug 24 03:03:19 2011
New Revision: 10151
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10151
Log:
live_dahdi: optionally generate FreePBX DB entries
If LIVE_DAHDI_FREEPBXDB=yes is set in live.conf, live_dahdi will also
generate FreePBX astdb entries for the FXS entensions it probed (using
the dahdi_genconf module freepbxdb).
Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Modified:
    linux/trunk/build_tools/live_dahdi
Modified: linux/trunk/build_tools/live_dahdi
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/build_tools/live_dahdi?view=diff&rev=10151&r1=10150&r2=10151
==============================================================================
--- linux/trunk/build_tools/live_dahdi (original)
+++ linux/trunk/build_tools/live_dahdi Wed Aug 24 03:03:19 2011
@@ -293,6 +293,10 @@
 	# TODO: A local copy of Asterisk, configured with dahdi_gnconf. 
 	# doable, but trickier.
 	run_asterisk
+	if [ "$LIVE_DAHDI_FREEPBXDB" = 'yes' ]; then
+		GENCONF_PARAMETERS=$DESTDIR/etc/dahdi/genconf_parameters \
+			dahdi_genconf freepbxdb
+	fi
 	;;
 genconf)
 	genconf
    
    
More information about the dahdi-commits
mailing list