Development clone of https://git.blinkenbunt.org/LUG-Saar/fetapi
pylinphone@beb544b3b6 | ||
.gitmodules | ||
apparatinterface.py | ||
configreader.py | ||
fetap.ini.example | ||
fetapd.py | ||
fetapd.service | ||
linphone-daemon.service | ||
linphone.conf | ||
linphone.conf.example | ||
phoneinterface.py | ||
README.md | ||
shortcuts.csv.sample | ||
statemachine.py |
fetapi - FeTAp with a Raspberry Pi
,ooFeTApFeTApFeTA%=+-,.
,+FeTAp+' `o,,
,oFeTAp+ `,
,ooo' ,oFeTApFeTAp o
oo +FeTAp+' `oo, H
o o' X o l
,@=@+ o ,,-+*==+-., R o .;
,@=@+ o o' ,/ 22 11 ``, E`ooooo'
@@* @@ oo o' / 33 , ` ` , ; T
@:n T:@ oo o ; 44 , . \ L
uM:m A:K oFeTAp' ;55 , : ; A
E:Rn N:t F, | ` : ; | H
SC:h K:o e, ` 66 ` , dHHH C
A:Ll L:s r, ` 77 `. , . 0 `q/ S
ER:a P:U n, \ 88 99 00 ,' L
R:Be i:M s `<,,______,-` sZ, E
i:T E:r p, `sZ B
S:K l:T r, A
o:N H:a e, G
t:a s:c c, ,x+x+'
k:T:@:U:M:R:n; h, ,p+e+r+a+t/
`@:n:M:E:' `T=i=s=c=h=A=p/
Installation
Some of the following instructions must be executed with root
privileges.
Installing fetapd
-
Clone this repository (together with
pylinphone
as sub-module)cd /opt git clone https://git.blinkenbunt.org/LUG-Saar/fetapi.git git submodule update
-
Configure and enable
fetapd
assystemd
serviceln -sr fetapd.service /etc/systemd/system/ systemctl daemon-reload systemctl enable fetapd
Installing linphone-cli
on Raspbian
-
Install
debootstrap
apt install debootstrap
-
Create a Debian/sid chroot environment
cd /var/tmp mkdir debian-sid debootstrap --arch=armel --foreign --variant=minbase sid ./debian-sid http://ftp.de.debian.org/debian chroot debian-sid/ /debootstrap/debootstrap --second-stage
-
Install
linphone-cli
inside the chroot environmentchroot debian-sid/ apt -y install linphone-cli
-
Create user inside the chroot environment
chroot /var/tmp/debian-sid adduser --disabled-password pi
-
Bind-mount
/dev
to make ALSA accessible within the chrootcat <<EOF >>/etc/fstab /dev /var/tmp/debian-sid/dev none bind 0 0 EOF mount -a
-
Configure and enable
linphone-daemon
assystemd
serviceln -sr linphone-daemon.service /etc/systemd/system systemctl daemon-reload systemctl enable linphone-daemon
Configuring fetapd
⚠️ TODO
Starting fetapd
systemctl start fetapd
(or simply reboot your FeTAp)