pi@krebs:~ $ cat /usr/local/etc/DoorPi/conf/doorpi.ini [DoorPi] base_path = /usr/local/etc/DoorPi eventlog = !BASEPATH!/conf/eventlog.db #is_alive_led = #last_snapshot = ; dialtone= !BASEPATH!/media/ShortDialTone.wav records = !BASEPATH!/records/Key-!LastKey!_%Y-%m-%d_%H-%M-%S.wav record_while_dialing = false capture_device = ALSA: C-Media USB Headphone Set playback_device = ALSA: C-Media USB Headphone Set [EVENT_OnStartup] 10 = sleep:1 #[AREA_installer] #.* = [AREA_public] .* = [DoorPiWeb] indexfile = index.html ip = 192.168.62.230 loginfile = login.html online_fallback = http://motom001.github.io/DoorPiWeb port = 80 public = AREA_public www = !BASEPATH!/../DoorPiWeb [User] door = *** [WritePermission] administrator = installer [Group] administrator = door [SMTP] server = smtp.web.de port = 587 use_tls = true use_ssl = false need_login = true username = ***@web.de password = *** from = ***@web.de [SIP-Phone] firewallpolicy = PolicyNoFirewall audio_codecs = PCMA,PCMU call_timeout = 29 dialtone_renew_every_start = False echo_cancellation_enabled = False identity = Haustuer local_port = 5060 max_call_time = 120 sipphonetyp = linphone sipserver_server = asterisk.*** stun_server = sipserver_realm = sipserver_username = 30 sipserver_password = *** ua.max_calls = 2 video_codecs = VP8 video_device = video_display_enabled = False video_size = [keyboards] mykbd = piface [mykbd_keyboard] ;bouncetime in ms zwischen zwei Tastendruecken bouncetime = 30000 polarity = 0 [mykbd_OutputPins] 0 = Tueroeffner 1 = Relais2 2 = LED3 3 = LED4 4 = LED5 5 = LED6 6 = LED7 7 = LED8 [mykbd_InputPins] ; *1235= MscApp_TCndDoorDayNigt 0 = call:*1235 1 = out:Tueroeffner,1,0,2 2 = os_execute:sudo reboot 3 = os_execute:sudo poweroff [DTMF] "2" = out:Tueroeffner,1,0,3 "8" = out:Relais2,1,0,3 "4444" = os_execute:sudo reboot "000" = os_execute:sudo poweroff ; ;"**633*" = out:7,0 ;"**66*" = out:7,1 [EVENT_OnStartup] 10 = sleep:1 20 = mailto:herm@***,DoorPi:EVENT_OnStartup,DoorPi up [EVENT_OnSipPhoneMakeCall] ;10 = mailto:herm@***,DoorPi:EVENT_OnSipPhoneMakeCall,DoorPi initiating outgoing call ;20 = out:Relais1,1,0,2 [EVENT_OnCallStateConnect] 10 = out:LED8,1 ;20 = mailto:herm@***,DoorPi:EVENT_OnCallStateConnect,DoorPi connected call to !remote_uri! ;30 = ipsrpc_setvalue:40276,true [EVENT_OnCallStateDisconnect] 10 = out:LED8,0 ;20 = ipsrpc_setvalue:40276,false [EVENT_OnShutdown] 10 = sleep:1 20 = mailto:herm@***,DoorPi:EVENT_OnShutdown,DoorPi down 30 = sleep:3 [AdminNumbers] ; SIP lokal 31 = activ ;;; ohne Funktion ; ;[EVENT_OnDTMFAction] ;10 = mailto:herm@***,DoorPi:EVENT_OnDTMFAction,Taste gedrueckt ; ;[OnDTMFAction] ;10 = mailto:herm@***,DoorPi:EVENT_OnDTMFAction,Taste gedrueckt ; ;[OnCallIncomming] ;10 = mailto:herm@***,DoorPi:Incoming call from !remote_uri!,DoorPi wurde von der Nummer !remote_uri! angerufen. ; ;[EVENT_OnCallIncomming] ;10 = mailto:herm@***,DoorPi:EVENT_Incoming call from !remote_uri!,DoorPi wurde von der Nummer !remote_uri! angerufen. pi@krebs:~ $