Hallo,
Ich versuche vergeblich DoorPI mit meinen SIP Server (Asterisk) zu verbinden
in Anhang doorpi.log doorpi.conf sip.conf .
Code
2017-08-05 16:55:24,633 [INFO] [doorpi.conf.config_object] use configfile: /usr/local/etc/DoorPi/conf/doorpi.ini
2017-08-05 16:55:24,677 [INFO] [doorpi.status.webserver] Initiating WebService at ip and port 80
2017-08-05 16:55:24,691 [WARNING] [root] section ReadPermission not found in configfile
2017-08-05 16:55:24,696 [ERROR] [doorpi.status.webserver] no ReadPermission found
2017-08-05 16:55:24,712 [INFO] [doorpi.keyboard.KeyboardInterface] using multi-keyboard mode (keyboards: onboardpins)
2017-08-05 16:55:24,714 [INFO] [doorpi.keyboard.KeyboardInterface] trying to add keyboard 'onboardpins' to handler
2017-08-05 16:55:24,720 [WARNING] [root] section onboardpins_OutputPins not found in configfile
2017-08-05 16:55:24,754 [WARNING] [root] section onboardpins_OutputPins not found in configfile
2017-08-05 16:55:24,938 [INFO] [doorpi.sipphone.SipphoneInterface] found installed sipphone "linphone" and use this as default
2017-08-05 16:55:24,992 [WARNING] [root] section DTMF not found in configfile
2017-08-05 16:55:25,169 [INFO] [doorpi.sipphone.from_linphone] found 2 possible sounddevices:
2017-08-05 16:55:25,183 [INFO] [doorpi.sipphone.from_linphone] found 1 possible videodevices:
2017-08-05 16:55:25,197 [INFO] [doorpi.sipphone.from_linphone] using DoorPi with SIP-Server
2017-08-05 16:55:25,210 [INFO] [doorpi.doorpi] found EVENT_ section 'EVENT_OnStartup' in configfile
2017-08-05 16:55:25,212 [INFO] [doorpi.doorpi] registering action '10' for event 'OnStartup'
2017-08-05 16:55:25,220 [WARNING] [root] section DTMF not found in configfile
2017-08-05 16:55:26,231 [INFO] [doorpi.doorpi] DoorPi started successfully
2017-08-05 16:55:26,233 [INFO] [doorpi.doorpi] BasePath is /usr/local/etc/DoorPi
2017-08-05 16:55:26,235 [INFO] [doorpi.doorpi] Weburl is http://pi/
2017-08-05 16:55:26,288 [INFO] [doorpi.sipphone.linphone_lib.CallBacks] Incoming and current call are different - sending busy signal to incoming call
2017-08-05 16:55:26,790 [INFO] [doorpi.sipphone.linphone_lib.CallBacks] Incoming and current call are different - sending busy signal to incoming call
2017-08-05 16:55:27,399 [INFO] [doorpi.sipphone.linphone_lib.CallBacks] Incoming and current call are different - sending busy signal to incoming call
2017-08-05 16:55:28,204 [INFO] [doorpi.sipphone.linphone_lib.CallBacks] Incoming and current call are different - sending busy signal to incoming call
2017-08-05 16:55:28,849 [INFO] [doorpi.sipphone.linphone_lib.CallBacks] Incoming and current call are different - sending busy signal to incoming call
2017-08-05 16:55:29,281 [INFO] [doorpi.sipphone.linphone_lib.CallBacks] Incoming and current call are different - sending busy signal to incoming call
2017-08-05 16:55:29,863 [INFO] [doorpi.sipphone.linphone_lib.CallBacks] Incoming and current call are different - sending busy signal to incoming call
2017-08-05 16:55:30,718 [INFO] [doorpi.sipphone.linphone_lib.CallBacks] Incoming and current call are different - sending busy signal to incoming call
2017-08-05 16:55:31,307 [INFO] [doorpi.sipphone.linphone_lib.CallBacks] Incoming and current call are different - sending busy signal to incoming call
Alles anzeigen
doorpi.conf
Code: doorpi.ini
[AREA_installer]
.* =
[DoorPi]
base_path = /usr/local/etc/DoorPi
eventlog = !BASEPATH!/conf/eventlog.db
is_alive_led =
last_snapshot =
snapshot_path =
[DoorPiWeb]
indexfile = index.html
ip =
loginfile = login.html
online_fallback = http://motom001.github.io/DoorPiWeb
port = 80
public = AREA_public
www = !BASEPATH!/../DoorPiWeb
[EVENT_OnStartup]
10 = sleep:1
[SIP-Phone]
identity = 5000
local_port = 5060
max_call_time = 120
sipphonetyp = linphone
sipserver_password = 1234
sipserver_realm = 10.0.0.150
sipserver_server = 10.0.0.150
sipserver_username = 5000
stun_server =
[User]
door = pi
[WritePermission]
administrator = installer
[keyboards]
onboardpins = gpio
[onboardpins_keyboard]
bouncetime = 200
[onboardpins_InputPins]
11 = call:2000
[AdminNumbers]
2000 = active
Alles anzeigen
Code: sip.conf
[general]
port=5060
bindaddr=0.0.0.0
[2000]
type=friend
secret=1234
host=dynamic
[2001]
type=friend
secret=1234
host=dynamic
[5000]
type=friend
secret=1234
host=dynamic
[6000]
type=friend
host=dynamic
Alles anzeigen
ich würde mich um jede Hilfe freuen , Lg. Dominik