среда, 21 апреля 2010 г.

Running Asterisk 1.6 on D-Link DSM-350

To add functionality of IP PBX to mediaplayer D-Link DSM-350 you need the following:



First, unpack a firmware source:


$ bzcat DSM350_A1_GPL_V1.02.tar.bz2 | tar xv

Then unpack the scripts archive:


$ bzcat dsm-350pbx.tar.bz2 | tar xv

Copy scripts to the source directory:


$ cp -R dsm-350pbx/* DSM350_GPL_V1.1/

cd to the packages directory. Then download and unpack Asterisk source:


$ cd DSM350_GPL_V1.1/packages
$ wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.2.6.tar.gz
$ zcat asterisk-1.6.2.6.tar.gz | tar xv

Then go back to the top directory of firmware source and install the toolchain:


$ cd ..
$ make toolchain

To compile Asterisk and build the firmware and other necessary files type:


$ make asterisk

Make your selections at the menuselect interface and press "Save and Exit" button for compilation to continue.


After successful compilation look at the target directory.


Directory firmware contains firmware for D-Link DSM-350 patched to be able to run script plug_run.sh at the root directory of installed internal HDD.


To reflash mediaplayer D-Link DSM-350:



  • Copy files from the firmware directory (DSM-350.img and DSM350-VerInfo.txt) on USB-flash drive connected to the front panel or in the root directory of installed internal HDD

  • Reboot the mediaplayer

  • Agree to upgrade firmware when asked by GUI on attached TV or display

  • After successful upgrade remove USB-flash drive or delete files DSM-350.img and DSM350-VerInfo.txt from HDD


Directory asterisk-configs, file asterisk-rootfs.tar and script plug_run.sh are to be placed on internal HDD installed in mediaplayer.


Directory asterisk-configs holds config files for Asterisk which are copied to the main tree every reboot or powercycle.


File asterisk-rootfs.tar contains main tree and is unpacked every reboot or powercycle before configs are copied.


You can quick modify configs inside the unpacked tree (directory asterisk-rootfs), but they won't persist over reboots.


To make permanent changes do them inside the asterisk-configs directory.






Комментариев нет:

Отправить комментарий