Schaue Dir mal meine .ini an und vergleiche mal.
Code: doorpi.ini
[DoorPi]
base_path = /usr/local/etc/DoorPi
eventlog = /backup/log/conf/eventlog.db
is_alive_led = Blink LED
[DoorPiWeb]
indexfile = index.html
loginfile = login.html
ip =
port = 8081
online_fallback = http://motom001.github.io/DoorPiWeb
public = AREA_public
www = !BASEPATH!/../DoorPiWeb
[AdminNumbers]
0620 = active
0621 = active
0622 = active
0623 = active
0624 = active
0625 = active
0626 = active
[SIP-Phone]
firewallpolicy = PolicyNoFirewall
sipphonetyp = linphone
#log.level = 5
#log.console_level = 5
sipserver_password = ******************
sipserver_realm = 192.168.178.200
sipserver_server = 192.168.178.200
sipserver_username = 0620
local_port = 5061
ua.max_calls = 1
call_timeout = 20
max_call_time = 120
dialtone = !BASEPATH!/doorpi/media/ShortDialTone.wav
dialtone_renew_every_start = False
echo_cancellation_enabled = True
playback_device = ALSA: USB Audio Device
capture_device = ALSA: C-Media USB Headphone Set
audio_codecs = PCMA,PCMU,Speex
#video_codecs = VP8
#video_device = /dev/video0
#video_display_enabled = False
#video_size = 720p
records = /backup/record-audio/!LastKey!/%Y-%m-%d_%H-%M-%S.wav
record_while_dialing = true
[DTMF]
"#" = out:Tueroeffner,1,0,2
"1" = out:Licht,1,0,300
[keyboards]
prodsystem = piface
#======== Config for PiFace Keyboard =========
[prodsystem_keyboard]
bouncetime = 80
[prodsystem_InputPins]
0 = sleep:0.1
1 = sleep:0.1
2 = sleep:0.1
3 = sleep:0.1
4 = Licht-Bewegungssensor-in
5 = Aufnahme-Bewegungssensor-in
6 = Licht-manuell
[prodsystem_OutputPins]
0 = Verstaerker
1 = Tueroeffner
2 = Licht
3 = Gong-Keller
4 = Gong-Ernst
5 = Gong-Erhard
6 = Gong-Andreas
7 = Blink LED
#======== Config for Events ========
[EVENT_OnStartup]
10 = sleep:1
# Es existiert einen Anruf und es wird der Verstaerker aktiviert.
[EVENT_OnMediaRequired]
10 = out:Verstaerker,1
# Der Anruf wurde beendet und es wird der Verstaerker deaktiviert.
[EVENT_OnMediaNotRequired]
10 = out:Verstaerker,0
[EVENT_OnKeyPressed_prodsystem.0]
10 = out:Gong-Keller,1,0,0.5
20 = call:0621
[EVENT_OnKeyPressed_prodsystem.1]
10 = out:Gong-Ernst,1,0,0.5
20 = call:0622
[EVENT_OnKeyPressed_prodsystem.2]
10 = out:Gong-Erhard,1,0,0.5
20 = call:0623
[EVENT_OnKeyPressed_prodsystem.3]
10 = out:Gong-Andreas,1,0,0.5
20 = call:0624
[EVENT_OnKeyPressed_prodsystem.4]
10 = out:Licht,1,0,300
20 = sleep:1
[EVENT_OnKeyDown_prodsystem.5]
10 = out:Licht,1,0,300
[EVENT_OnKeyPressed_prodsystem.6]
# Party Lichter
10 = out:Licht,1,0,21600
Alles anzeigen