更新 'centos/1.6.2.24/build-asterisk.sh'

This commit is contained in:
zhongjin 2023-01-18 23:03:50 +08:00
parent 9e6f388e9c
commit 9508b49e84

View File

@ -49,16 +49,18 @@ mkdir -p /etc/asterisk/ \
make menuselect/menuselect menuselect-tree menuselect.makeopts
# we don't need any sounds in docker, they will be mounted as volume
menuselect/menuselect --disable-category MENUSELECT_CORE_SOUNDS menuselect.makeopts
menuselect/menuselect --disable-category MENUSELECT_MOH menuselect.makeopts
menuselect/menuselect --disable-category MENUSELECT_EXTRA_SOUNDS menuselect.makeopts
#menuselect/menuselect --disable-category MENUSELECT_CORE_SOUNDS menuselect.makeopts
#menuselect/menuselect --disable-category MENUSELECT_MOH menuselect.makeopts
#menuselect/menuselect --disable-category MENUSELECT_EXTRA_SOUNDS menuselect.makeopts
make -j ${JOBS} all
make install
# copy default configs
# cp /usr/src/asterisk/configs/basic-pbx/*.conf /etc/asterisk/
make samples
#cp /usr/src/asterisk/configs/basic-pbx/*.conf /etc/asterisk/
#make samples
make basic-pbx
make dist-clean
# set runuser and rungroup