blob: 579943d391c01835315e24202746a820c5c9da66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
CFGFILE=/etc/config/baresip
if [ ! -f "$CFGFILE" ]; then
cat >$CFGFILE <<EOF
config baresip main
option enable 0
option options ''
config account
option user '+49123456789'
option password ''
option server 'tel.t-online.de'
option transport 'tls'
option mediaenc 'srtp'
option ignore 1
config account
option user '12'
option password '7282ce22eee6d91193a1d5014398356x'
option server '172.27.0.97'
option transport 'udp'
option mediaenc ''
option append 'answerdelay=0;rwait=90;mwi=no'
option ignore 1
EOF
fi
chown -R baresip:baresip /etc/baresip
|