- ln -f -s /var/ipfire/asterisk/wakeup/wakeup.sh /etc/fcron.minutely/wakeup.sh
-
- # build and install chan capi (needed for isdn)
- cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(CHAN_CAPI).tar.gz
- cd $(DIR_SRC)/$(CHAN_CAPI) && make $(MAKETUNING)
- cd $(DIR_SRC)/$(CHAN_CAPI) && make install
- @rm -rf $(DIR_SRC)/$(CHAN_CAPI)
-
- # build FAX stuff (TODO: get newer version... where to download source?)
- cd $(DIR_SRC) && tar zxf $(DIR_DL)/agx-ast-addons-svn65.tgz
- # bugfix: disable app_confcall (not supported with dahdi, but we can take meetme)
- cd $(DIR_SRC)/agx-ast-addons && echo "project (agx-ast-addons-zaptel)" > ./app-dahdi/CMakeLists.txt
- cd $(DIR_SRC)/agx-ast-addons && echo >> ./app-dahdi/CMakeLists.txt
- # end bugfix
- cd $(DIR_SRC)/agx-ast-addons && ./configure.sh
- cd $(DIR_SRC)/agx-ast-addons && ./build.sh
- @rm -rf $(DIR_SRC)/agx-ast-addons
-
- # be sure all source is removed
- @rm -rf $(DIR_APP) $(DIR_SRC)/asterisk-*
+ chown nobody:nobody -R /var/lib/asterisk
+
+# be sure all source is removed
+ @rm -rf $(DIR_APP) $(DIR_SRC)/asterisk-* $(DIR_SRC)/libsrtp*