Hallo zusammen,
ich bastel jetzt schon mehrere Stunden / Tage an meiner DoorPi Konfiguration.
Durch viele Beiträge habe ich versucht mir selber zu helfen. Nun komme ich nicht mehr weiter und bitte um eure Unterstützung.
Wenn ich an meinem Raspi Pin11 auf GND lege, setzt DoorPi noch die MQTT Meldung ab. Leider wird kein Anruf über meine Fritzbox(7310) getätigt.
Ebenfalls ist es mir nicht möglich über einen internen Anruf die DoorPi zu erreichen.
Anbei die DoorPi.ini und das Tracelog im Anhang.
Ich bin über jeden Hinweis dankbar.
Vielen Dank schon mal für eure Unterstützung!
doorpi.ini...
Code
- [DoorPi]
- base_path = /usr/local/etc/DoorPi
- eventlog = !BASEPATH!/conf/eventlog.db
- #is_alive_led = blinking_led
- last_snapshot =
- snapshot_path = !BASEPATH!/../DoorPiWeb/snapshots/
- number_of_snapshots = 5
- snapshot_size = 1280x720
- [DoorPiWeb]
- indexfile = index.html
- ip =
- loginfile = login.html
- #online_fallback = http://motom001.github.io/DoorPiWeb
- port = 80
- public = AREA_public
- www = !BASEPATH!/../DoorPiWeb
- #========= User rights ==========#
- [AREA_installer]
- .*
- #[AREA_public]
- .*
- [User]
- admin = *****
- [Group]
- administrators = admin
- [WritePermission]
- administrators = installer
- [ReadPermission]
- administrators = installer
- #========= SIP Config ==========#
- [SIP-Phone]
- firewallpolicy = PolicyNoFirewall
- audio_codecs = PCMA,PCMU
- call_timeout = 15
- #capture_device = ALSA: default device
- capture_device = ALSA: USB PnP Sound Device
- dialtone = !BASEPATH!/media/ShortDialTone.wav
- dialtone_renew_every_start = False
- dialtone_volume = 35
- echo_cancellation_enabled = False
- identity = DoorPi
- local_port = 5060
- max_call_time = 120
- #playback_device = ALSA: default device
- playback_device = ALSA: USB PnP Sound Device
- record_while_dialing = False
- records = !BASEPATH!/records/%Y-%m-%d_%H-%M-%S.wav
- sipphonetyp = linphone
- sipserver_password = *****
- sipserver_realm = fritz.box
- sipserver_server = 192.168.2.2
- sipserver_username = MyDoorPi
- stun_server =
- ua.max_calls = 2
- video_codecs = VP8
- video_device = StaticImage: Static picture
- #video_device = V4L2: /dev/video0
- video_display_enabled = False
- video_size = vga
- [AdminNumbers]
- **610 = active
- #========= Pin config ==========#
- [keyboards]
- onboardpins = gpio
- #rfidreader = rdm6300
- [onboardpins_keyboard]
- bouncetime = 200
- [onboardpins_InputPins]
- 11 = call:**610
- [onboardpins_OutputPins]
- #12 = Verstaerker
- #16 = Tueroeffner #erfolgt per mqtt
- #18 = Klingel #erfolgr per mqtt
- [DTMF]
- # „out: [ALIAS], [Zustand A],[Zustand B], [Sekunden]“
- # (Türöffner mit drücken von "#" einschalten (1) und nach 2 Sekunden ausgeschalten (0)
- „#“ = out:Tueroeffner,1,0,2
- "#" = os_execute:mosquitto_pub -h host -m opendoor -t topic -u usr -P pwd
- #------------- EVENT ---------------#
- [EVENT_OnStartup]
- 10 = sleep:1
- 20 = os_execute:mosquitto_pub -h host -m startup -t topic -u usr -P pwd
- [EVENT_OnKeyPressed_onboardpins.11]
- #10 = file_call_value:/usr/local/etc/DoorPi/tools/call.txt
- #20 = take_snapshot:http://<ip bzw. host>/snapshot.cgi?user=<benutzer>&pwd=<passwort>
- #30 = out:Verstaerker,1,0,120
- 40 = os_execute:mosquitto_pub -h host -m doorbell -t topic -u usr -P pwd
- #[EVENT_OnSipPhoneMakeCall]
- #10 = out:Klingel,1,0,1
- # Mit betätigen des Klingeltasters wird auch die zusätzliche Klingel ausgelöst
- #[EVENT_OnCallStateConnect]
- #10 = out:ls_power,1
- #[EVENT_OnCallStateDisconnect]
- #10 = out:ls_power,0
- #[EVENT_OnSipPhoneMakeCall]
- #10 = out:ls_power,1
- [EVENT_OnShutdown]
- 10 = os_execute:mosquitto_pub -h host -m shutdown -t topic -u usr -P pwd