#!/bin/sh # config_4fxs4fxo - script to all install config files required # for testing uCasterisk and zaptel with 4 FXS and 4 FXO ports # assumes install_all has just been run # STAMP. if [ $# -ne 1 ]; then echo "usage $0 targetNameOrIP" exit 0 fi # extract path to scripts dir - this version works with ../../ type relative # paths and full paths. SCRIPTPATH=`echo $0 | sed 's/[^\/]*$//'` # download config files $SCRIPTPATH/dltarget package/asterisk/files/extensions.conf.4fxo4fxs $1 $SCRIPTPATH/dltarget package/asterisk/files/zapata.conf.4fxo4fxs $1 $SCRIPTPATH/dltarget package/zaptel/files/zaptel.conf.4fxo4fxs $1 # install $SCRIPTPATH/install_4fxo4fxs.tcl $1