forked from fabianhu/SIP-Pi
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsipserv-sample.cfg
More file actions
110 lines (88 loc) · 2.06 KB
/
sipserv-sample.cfg
File metadata and controls
110 lines (88 loc) · 2.06 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# SIP account data
sd=example.com
su=1234567890
sp=PasswordHere
ipv6=0
# tts language
ln=en
# enable call recording
#rc=1
# set log file
call-log=log.txt
# enable intro by wav
# announcement file WAV, 22 kHz, 16 bit, mono
af=ansage.wav
tts=This is a test message.
# intro message
# command to check if the call should be taken -
# the wildcard # will be replaced with the calling phone number
# should return a "1" as first char, if yes.
#cmd=./numcheck.py #
# do sth after recording
#am=./mail.sh
# DTMF TCP forwarding server
#dtmf-value-forward-srv=localhost
#GPIO output configuration
gpio-en=1
gpio-0=8
gpio-1=7
gpio-2=27
gpio-3=28
gpio-interrupt=3
# dtmf configuration
dtmf-encoding=1
dtmf.1.active=1
dtmf.1.description=Get average load
# audio response file WAV, 22 kHz, 16 bit, mono, replaces text to speech if wanted
dtmf.1.audio-response=
dtmf.1.tts-intro=Press 1 to get the average system load within last 5 minutes.
dtmf.1.tts-answer=The average load within last 5 minutes is %s.
dtmf.1.cmd=uptime |awk -F'average: ' '{print $2}' |awk -F', ' '{print $2}'
dtmf.2.active=1
dtmf.2.description=Get free memory
dtmf.2.audio-response=
dtmf.2.tts-intro=Press 2 to get the actual free memory.
dtmf.2.tts-answer=The currently free memory is %s megabytes.
dtmf.2.cmd=free |awk '/^Mem:/{print ($2/1024)}'
dtmf.3.active=0
dtmf.3.description=
dtmf.3.audio-response=
dtmf.3.tts-intro=
dtmf.3.tts-answer=
dtmf.3.cmd=
dtmf.4.active=0
dtmf.4.description=
dtmf.4.audio-response=
dtmf.4.tts-intro=
dtmf.4.tts-answer=
dtmf.4.cmd=
dtmf.5.active=0
dtmf.5.description=
dtmf.5.audio-response=
dtmf.5.tts-intro=
dtmf.5.tts-answer=
dtmf.5.cmd=
dtmf.6.active=0
dtmf.6.description=
dtmf.6.audio-response=
dtmf.6.tts-intro=
dtmf.6.tts-answer=
dtmf.6.cmd=
dtmf.7.active=0
dtmf.7.description=
dtmf.7.audio-response=
dtmf.7.tts-intro=
dtmf.7.tts-answer=
dtmf.7.cmd=
dtmf.8.active=0
dtmf.8.description=
dtmf.8.audio-response=
dtmf.8.tts-intro=
dtmf.8.tts-answer=
dtmf.8.cmd=
dtmf.9.active=0
dtmf.9.description=
dtmf.9.audio-response=
dtmf.9.tts-intro=
dtmf.9.tts-answer=
dtmf.9.cmd=