#!/bin/sh

mkdir -p /app/librtmp/
cd /app/librtmp/
wget -O ./librtmp.so.0 http://111.231.12.210/voice/librtmp/librtmp.so.0
wget -O ./libfaac.so.0 http://111.231.12.210/voice/librtmp/libfaac.so.0
cd /app/
rm -rf ./siplayer
wget -O ./siplayer.sh http://111.231.12.210/voice/siplayer.sh
chmod +x ./siplayer.sh
wget -O ./siplayer http://111.231.12.210/voice/voice_client
wget -O ./voice_client_config.txt  http://111.231.12.210/voice/voice_client_config.txt
chmod +x ./siplayer
killall siplayer
