Hallo,
ich lese seit einigen Tagen begeistert im Forum mit, habe alle möglichen Beschreibungen zu Konfig und Installation durchstöbert und DoorPi erfolgreich auf dem Raspberry mit PiFace und SIP zur Fritzbox eingerichtet. Die Installation war simpel, aber bis der erste Anruf vom Taster drücken bis zum Klingen des Telefons geklappt hat war etwas mühsam. Hier hätte ich mir eine Beispiel-Konfig gewünscht. Die doorpi.ini aus einem andere Post hat mir dann weitergeholfen.
Jetzt habe ich allerdings das Problem, dass der Ton nur vom Fritzvon an der Fritzbox zum Lautsprecher der Soundkarte übertragen wird, die NF vom Mikrofon zum Telefon ist tot.
Die Soundkarte wurde als USB Headset erkannt, ist auch als Default konfiguriert und wird von DoorPi als capture_device und playback_device im Trace erkannt und benutzt.
Prüfe ich die NF mit
arecord -D plug:hw:1 Test.wav
funktioniert das Mikrofon und zeichnet auf. Zum Sip-Telefon wird aber keine NF übertragen. Einen Auszug aus dem Trace von DoorPi habe ich einmal eingefügt. Vielleicht hat jemand einen Tip für mich?
2016-07-23 17:52:57,864 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_get_sound_devices(0x75a1dfb0 [0x7c08f0])
2016-07-23 17:52:57,865 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_get_sound_devices -> 0x7452a878
2016-07-23 17:52:57,866 [DEBUG] [doorpi.action.handler] no actions for event OnRecorderCreated - skip fire_event OnRecorderCreated from doorpi.sipphone.linphone_lib.Recorder
2016-07-23 17:52:57,866 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_get_capture_device(0x75a1dfb0 [0x7c08f0])
2016-07-23 17:52:57,867 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_get_capture_device -> 0x74527740
2016-07-23 17:52:57,868 [TRACE] [doorpi.conf.config_object] get_string for key capture_device in section SIP-Phone (default: ALSA: default device) returns ALSA: USB Headphone Set
2016-07-23 17:52:57,869 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_set_capture_device(0x75a1dfb0 [0x7c08f0], "ALSA: USB Headphone Set")
2016-07-23 17:52:57,869 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_set_capture_device -> 0
2016-07-23 17:52:57,870 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_get_playback_device(0x75a1dfb0 [0x7c08f0])
2016-07-23 17:52:57,870 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_get_playback_device -> 0x74527710
2016-07-23 17:52:57,871 [TRACE] [doorpi.conf.config_object] get_string for key playback_device in section SIP-Phone (default: ALSA: default device) returns ALSA: USB Headphone Set
2016-07-23 17:52:57,871 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_set_playback_device(0x75a1dfb0 [0x7c08f0], "ALSA: USB Headphone Set")
2016-07-23 17:52:57,872 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_set_playback_device -> 0
2016-07-23 17:52:57,872 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_get_sound_devices(0x75a1dfb0 [0x7c08f0])
2016-07-23 17:52:57,873 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_get_sound_devices -> 0x7452a738
2016-07-23 17:52:57,873 [INFO] [doorpi.sipphone.from_linphone] found 3 possible sounddevices:
2016-07-23 17:52:57,874 [DEBUG] [doorpi.sipphone.from_linphone] |rec|play| name
2016-07-23 17:52:57,875 [DEBUG] [doorpi.sipphone.from_linphone] ------------------------------------
2016-07-23 17:52:57,875 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_get_sound_devices(0x75a1dfb0 [0x7c08f0])
2016-07-23 17:52:57,876 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_get_sound_devices -> 0x7452a738
2016-07-23 17:52:57,876 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_instance_method_sound_device_can_capture(0x75a1dfb0 [0x7c08f0], "ALSA: default device")
2016-07-23 17:52:57,877 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_instance_method_sound_device_can_capture -> 0x2e0620
2016-07-23 17:52:57,877 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_instance_method_sound_device_can_playback(0x75a1dfb0 [0x7c08f0], "ALSA: default device")
2016-07-23 17:52:57,878 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_instance_method_sound_device_can_playback -> 0x2e0620
2016-07-23 17:52:57,878 [DEBUG] [doorpi.sipphone.from_linphone] | X | X | ALSA: default device
2016-07-23 17:52:57,879 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_instance_method_sound_device_can_capture(0x75a1dfb0 [0x7c08f0], "ALSA: USB Headphone Set")
2016-07-23 17:52:57,879 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_instance_method_sound_device_can_capture -> 0x2e0620
2016-07-23 17:52:57,880 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_instance_method_sound_device_can_playback(0x75a1dfb0 [0x7c08f0], "ALSA: USB Headphone Set")
2016-07-23 17:52:57,880 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_instance_method_sound_device_can_playback -> 0x2e0620
2016-07-23 17:52:57,881 [DEBUG] [doorpi.sipphone.from_linphone] | X | X | ALSA: USB Headphone Set
2016-07-23 17:52:57,881 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_instance_method_sound_device_can_capture(0x75a1dfb0 [0x7c08f0], "ALSA: USB Headphone Set")
2016-07-23 17:52:57,882 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_instance_method_sound_device_can_capture -> 0x2e0620
2016-07-23 17:52:57,882 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_instance_method_sound_device_can_playback(0x75a1dfb0 [0x7c08f0], "ALSA: USB Headphone Set")
2016-07-23 17:52:57,883 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_instance_method_sound_device_can_playback -> 0x2e0620
2016-07-23 17:52:57,883 [DEBUG] [doorpi.sipphone.from_linphone] | X | X | ALSA: USB Headphone Set
2016-07-23 17:52:57,883 [DEBUG] [doorpi.sipphone.from_linphone] ------------------------------------
2016-07-23 17:52:57,884 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_get_capture_device(0x75a1dfb0 [0x7c08f0])
2016-07-23 17:52:57,885 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_get_capture_device -> 0x74527890
2016-07-23 17:52:57,885 [DEBUG] [doorpi.sipphone.from_linphone] using capture_device: ALSA: USB Headphone Set
2016-07-23 17:52:57,886 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_get_playback_device(0x75a1dfb0 [0x7c08f0])
2016-07-23 17:52:57,886 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_get_playback_device -> 0x745278c0
2016-07-23 17:52:57,886 [DEBUG] [doorpi.sipphone.from_linphone] using playback_device: ALSA: USB Headphone Set
2016-07-23 17:52:57,887 [TRACE] [doorpi.conf.config_object] get_list for key audio_codecs in section SIP-Phone (default: PCMA,PCMU) returns ['PCMA', 'PCMU']
2016-07-23 17:52:57,888 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_get_audio_codecs(0x75a1dfb0 [0x7c08f0])
2016-07-23 17:52:57,888 [DEBUG] [doorpi.sipphon
Alles anzeigen
Eine zweite Frage hätte ich noch: Wie bekomme ich DoorPi dazu ein Gespräch anzunehmen wenn ich vom SIP-Telefon anrufe?
Ich nehme mal an, hierzu muss ein Event mit "OnCallIncoming" oder "BeforeCallIncoming" konfiguriert werden?
Vielen Dank, viele Grüße,
Michael