1. Download Freetz-trunk:
svn checkout
http://svn.freetz.org/trunk freetz-trunk
2. Download the patch from
http://freetz.org/raw-attachment/ticket/706/asterisk-1.6.2.15.patch to the freetz-trunk directory.
3. Applay the patch:
patch -p0 < asterisk-1.6.2.15.patch
4. Asterisk is now available as a modul in the Freetz build menu (i.e. make menuconfig), and can be selected the along with the Capi module.
5. Select the Asterisk modules "Config" and "Sounds" in the Freetz "External" menu.
6. Build and flash the image
7. Create a startup script (e.g. asterisk.sh), which will create and link all neccessary directories and startup Asterisk.
See
http://www.ip-phone-forum.de/showthread.php?t=234930 for details, the red paths have to be changes according to the system.
8. Make the startup script executable:
chmod +x asterisk.sh
9. Have the startup script be executed on system boot, e.g. add it to Freetz's rc.external:
cd /var/media/ftp/FRITZ/external
./asterisk.sh
10. Now Asterisk should be started at boot time, using the configuration files placed in the external directory.