Milkfish, un serveur SIP embarqué sur openwrt
Par Thus0, mardi 17 janvier 2006 à 17:07 :: VoIP (voix sur IP) ::#89
Tutorial, Howto, How-To
... article en cours de rédaction ...
Milkfish est un serveur de communication embarqué (utilisant le protocole SIP) pouvant fonctionner sur des routeurs WiFi WRT54G utilisant un firmware openwrt. Il est le successeur de feu le projet SIPatH.
Installation de Milkfish
J’ai utilisé le firmare openwrt White Russian RC4 sur un routeur Linksys WRT54G v2.2 :
BusyBox v1.00 (2005.11.23-21:46+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
WHITE RUSSIAN (RC4) -------------------------------
* 2 oz Vodka Mix the Vodka and Kahlua together
* 1 oz Kahlua over ice, then float the cream or
* 1/2oz cream milk on the top.
---------------------------------------------------
création du script /usr/sbin/rw
Créer le fichier suivant /usr/sbin/rw :
#!/bin/ash
cp $1 $1.cp
rm $1
mv $1.cp $1et changer les droits d’exécution :
# chmod 777 /usr/sbin/rw
installation des packages .ipkg
root@OpenWrt:~# ipkg install http://packages.milkfish.org/boozy/ser_0.8.14-5_mipsel.ipk
Configuring ser
Successfully terminated.
root@OpenWrt:~# rm /etc/ppp/ip-up
root@OpenWrt:~# mv /etc/ser/ser.cfg.sav
root@OpenWrt:~# rm /www/index.html
root@OpenWrt:~# ipkg install http://packages.milkfish.org/boozy/milkfish_1.0.0_mipsel.ipk
Installing milkfish (1.0.0-) to root...
Configuring milkfish
Successfully terminated.
root@OpenWrt:~# ipkg install http://packages.milkfish.org/boozy/rtpproxy_cvs_1.2_mipsel.ipk
Installing rtpproxy (cvs_1.2) to root...
Configuring rtpproxy
Successfully terminated.
root@OpenWrt:~# nvram set sip_domain=192.168.1.1
root@OpenWrt:~# nvram commitModifier les scripts de démarrage :
# rw /etc/inittab
# rw /etc/init.d/rcSAjouter au fichier /etc/initttab les 2 lignes suivantes :
::respawn:/sbin/syslogd -n
::respawn:/sbin/klogd -nAjouter au début du fichier /etc/init.d/rcS la ligne suivante :
mkdir /var/logRebooter
Si le daemon /usr/sbin/ser n’est pas démarré, démarrer manuellement la commande suivante pour initialiser les répertoires du serveur SIP ser->http://www.iptel.org/ser/.
# /etc/init.d/S78milkfishConfiguration de Milkfish
à suivre...
Tests
à suivre...
Commentaires
Aucun commentaire