Wrt/Asterisk
(執筆中)
Get developers tools
$ svn checkout http://firmware-mod-kit.googlecode.com/svn/trunk/ firmware-mod-kit-read-only
rebuild image
./old-extract.sh ../dd-wrt.v24_mini_generic.bin dd-wrt.v24_mini_generic cd dd-wrt.v24_mini_generic/rootfs/ tar xvfz ../../../asterisk_1.0.10-1_mipsel.ipk ./data.tar.gz; tar xvfz data.tar.gz; rm data.tar.gz tar xvfz ../../../libpthread_0.9.27-1_mipsel.ipk ./data.tar.gz; tar xvfz data.tar.gz; rm data.tar.gz tar xvfz ../../../libncurses_5.2-7_mipsel.ipk ./data.tar.gz; tar xvfz data.tar.gz; rm data.tar.gz rm etc/www cd ../.. ./old-build.sh output dd-wrt.v24_mini_generic
cd output tftp 192.168.11.1 > bin > put custom_image_00001.trx > quit
enable jffs
nvram set jffs_mounted=1 nvram set enable_jffs2=1 nvram set sys_enable_jffs2=1 nvram set clean_jffs2=1 nvram set sys_clean_jffs2=1
setting asterisk
mkdir /jffs/etc
cp -rp /etc/default /jffs/etc/ cp -rp /etc/asterisk /jffs/etc/
/jffs/etc/default/asterisk -ENABLE_ASTERISK="no" +ENABLE_ASTERISK="yes"
/jffs/etc/asterisk/sip.conf -----------------------------------
/jffs/etc/asterisk/extensions.conf ------------------------------------
---
update at 2018/03/02 22:04:51
※注:当サイトは特定環境において確認できた事象のみを記述しています。他の環境での動作は一切保証しません。