diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-08-24 08:03:19 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-08-24 08:03:19 +0000 |
commit | 34e330d2c4b0d438700434cbacf29aeabafad1db (patch) | |
tree | 02a94e220e33e4df7c4083172c0ab244d88fc4b7 /build_tools | |
parent | 61015267e5295b6b8525d88128f424f86e1884ec (diff) |
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@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10151 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/live_dahdi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build_tools/live_dahdi b/build_tools/live_dahdi index ab7e13c..bc37bb2 100755 --- a/build_tools/live_dahdi +++ b/build_tools/live_dahdi @@ -293,6 +293,10 @@ load) # 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 |