Hallo!
Ich habe ein Problem!
Mein Audio Adapter funktioniert immer erst nach dem 2. mal Klingeln.
Wenn danach eine längere Zeit nicht geklingelt wird -> wieder das gleiche.
Anruf wird ausgelöst -> Relais für Verstärker zieht an -> aber keine Ton
Auflegen -> nochmals klingeln -> alles funktioniert !
doorpi.ini
[DTMF]
"#" = out:Tueroeffner,1,0,3
[DoorPi]
base_path = /usr/local/etc/DoorPi
eventlog = !BASEPATH!/conf/eventlog.db
is_alive_led =
last_snapshot = /usr/local/etc/DoorPi/../DoorPiWeb/snapshots/2018-03-05_18-43-47.jpg
number_of_snapshots = 6
snapshot_path = !BASEPATH!/../DoorPiWeb/snapshots/
snapshot_size = 1280x720
[DoorPiWeb]
indexfile = index.html
ip = 192.168.100.161
loginfile = login.html
online_fallback = http://motom001.github.io/DoorPiWeb
port = 82
public = AREA_public
www = !BASEPATH!/../DoorPiWeb
[EVENT_OnKeyUp_onboardpins.0]
10 = take_snapshot
[EVENT_OnKeyUp_onboardpins.1]
10 = take_snapshot
15 = sleep:1
20 = os_execute: raspistill --nopreview -w 640 -h 480 -q 15 -o /var/www/html/img/pic.jpg -tl 100 -t 3000 -th 0:0:0
40 = mailto:,DoorPi,Es hat geklingelt! %d.%m.%Y um %H:%M Uhr ,True
[EVENT_OnKeyUp_onboardpins.2]
10 = take_snapshot
15 = sleep:1
20 = os_execute: raspistill --nopreview -w 640 -h 480 -q 15 -o /var/www/html/img/pic.jpg -tl 100 -t 3000 -th 0:0:0
30 = mailto:,DoorPi,Es hat geklingelt! %d.%m.%Y um %H:%M Uhr ,True
[EVENT_OnMediaNotRequired]
10 = out:Verstaerker,0
[EVENT_OnMediaRequired]
10 = out:Verstaerker,1
[EVENT_OnStartup]
10 = sleep:1
[Group]
administrator = door
[SIP-Phone]
firewallpolicy = PolicyNoFirewall
audio_codecs = PCMA,PCMU
call_timeout = 60
capture_device = ALSA: C-Media USB Audio Device
device audio_codecs = PCMA,PCMU
dialtone = /usr/local/lib/python2.7/dist-packages/linphone/share/sounds/linphone/rings/bigben.wav
dialtone_renew_every_start = False
dialtone_volume = 35
echo_cancellation_enabled = true
identity = DoorPi
local_port = 5060
max_call_time = 300
mic_gain_db = 11
playback_device = ALSA: C-Media USB Audio Device
record_while_dialing = False
records = /home/doorpi/records/%Y-%m-%d_%H-%M-%S.wav
sipphonetyp = linphone
sipserver_password = ***
sipserver_realm = fritz.box
sipserver_server = 192.168.100.1
sipserver_username = doorpi
stun_server =
ua.max_calls = 2
video_codecs = VP8
video_device = StaticImage: Static picture
video_display_enabled = False
video_size = vga
[keyboards]
onboardpins = piface
[onboardpins_InputPins]
0 = out:Klingel,1,0,1
1 = call:12
2 = call:13
3 = out:Tueroeffner,1,0,1
[onboardpins_OutputPins]
0 = Klingel
1 = Tueroeffner
6 = Verstaerker
7 = light
[onboardpins_keyboard]
bouncetime = 200
polarity = 0
pressed_on_keydown = True
pull_up_down = PUD_DOWN
Ich benutze den BIGtec USB Soundkarte 7.1 USB Adapter.
Ich hoffe ihr könnt mir helfen!
Dankeschön!
Gruß Tobi