[Problem] chan_mobile

xrated

Mitglied
Mitglied seit
2 Jul 2012
Beiträge
788
Punkte für Reaktionen
1
Punkte
18
Benutzt hier jemand chan_mobile? Mit älteren Linux Versionen habe ich das schon mal am laufen gehabt und bin mir nicht sicher warum es jetzt nicht mehr geht.

In bluez5 ist der HSP/HFP Support ja weggefallen und man muss jetzt pulseaudio benutzen. Also alleine bis ich mal ein Pairing da hatte war schon ein Krampf.
Und wenn man einen connect durchführt ist es auch sehr zickig, vor allem scheinbar wenn pulseaudio nicht mit root oder im system mode gestartet ist.
Irgendwas schiesst auch ständig pulseaudio ab.

Es gibt keine GUI deswegen kann ich auch kein pavucontrol oder blueman applet verwenden.

bluetoothctl zeigt mir connected an und das ist der Output von Asterisk:
mobile search
pbx*CLI> mobile show devices
No Bluetooth Cell / Mobile devices found.
ID Address Group Adapter Connected State SMS
lenovo AC:38:70:78:F8:7C 1 blue No None Yes
pbx*CLI> module unload chan_mobile
Unloaded chan_mobile
[Jul 15 13:11:46] ERROR[1752]: chan_mobile.c:4101 do_sco_listen: ast_io_wait() failed for audio on adapter blue
pbx*CLI> module load chan_mobile
Loaded chan_mobile
[Jul 15 13:11:52] WARNING[13980]: chan_mobile.c:3023 sdp_register: Failed to connect sdp and create session.

Also was stimmt da mit Audio nicht?

hier noch der Output von pulseaudio
Code:
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Die Operation ist nicht erlaubt
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Die Operation ist nicht erlaubt
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: Keine Berechtigung
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: This is PulseAudio 7.1
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Compilation host: x86_64-pc-linux-gnu
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Running on host: Linux x86_64 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19)
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Found 4 CPUs.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Page size is 4096 bytes
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Compiled with Valgrind support: no
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Running in valgrind mode: no
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Running in VM: yes
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Optimized build: yes
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Machine ID is 757c8dc6695c44a28026537d829a623c.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Using runtime directory /var/run/pulse/.config/pulse/757c8dc6695c44a28026537d829a623c-runtime.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Using state directory /var/run/pulse/.config/pulse.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-7.1/modules.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Running in system mode: no
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] memblock.c: Using shared memory pool with 1024 slots of size 64,0 KB each, total size is 64,0 MB, maximum usable slot size is 65472
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] memblock.c: Using shared memory pool with 1024 slots of size 64,0 KB each, total size is 64,0 MB, maximum usable slot size is 65472
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 MMXEXT
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] svolume_orc.c: Initialising ORC optimized volume functions.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] database-tdb.c: Opened TDB database '/run/pulse/.config/pulse/757c8dc6695c44a28026537d829a623c-device-volumes.tdb'
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-device-restore.c: Successfully opened database file '/run/pulse/.config/pulse/757c8dc6695c44a28026537d829a623c-device-volumes'.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] database-tdb.c: Opened TDB database '/run/pulse/.config/pulse/757c8dc6695c44a28026537d829a623c-stream-volumes.tdb'
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-stream-restore.c: Successfully opened database file '/run/pulse/.config/pulse/757c8dc6695c44a28026537d829a623c-stream-volumes'.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1 added for object /org/pulseaudio/stream_restore1
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] database-tdb.c: Opened TDB database '/run/pulse/.config/pulse/757c8dc6695c44a28026537d829a623c-card-database.tdb'
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-card-restore.c: Successfully opened database file '/run/pulse/.config/pulse/757c8dc6695c44a28026537d829a623c-card-database'.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-7.1/modules/module-udev-detect.so': success
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-udev-detect.c: Found 0 cards.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-7.1/modules/module-jackdbus-detect.so': failure
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-7.1/modules/module-bluetooth-policy.so': success
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-bluetooth-policy" (index: #6; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-7.1/modules/module-bluetooth-discover.so': success
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-7.1/modules/module-bluez5-discover.so': success
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] dbus-util.c: Successfully connected to D-Bus system bus ee4f80cf18547b88a056ed80577d0a76 as :1.226
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-bluez5-discover" (index: #8; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-7.1/modules/module-bluez4-discover.so': failure
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-bluetooth-discover" (index: #7; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-7.1/modules/module-esound-protocol-unix.so': failure
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #9; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-7.1/modules/module-gconf.so': failure
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-default-device-restore.c: Saved default sink 'auto_null' not existent, not restoring default sink setting.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-default-device-restore.c: Saved default source 'auto_null.monitor' not existent, not restoring default source setting.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #10; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #11; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-always-sink.c: Autoloading null-sink as no other sinks detected.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] sink.c:     device.description = "Dummy-Ausgabe"
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] sink.c:     device.class = "abstract"
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] sink.c:     device.icon_name = "audio-card"
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] source.c: Created source 0 "auto_null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] source.c:     device.description = "Monitor of Dummy-Ausgabe"
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] source.c:     device.class = "monitor"
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] source.c:     device.icon_name = "audio-input-microphone"
Jul 15 14:48:12 pbx pulseaudio[19576]: [null-sink] module-null-sink.c: Thread starting up
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-device-restore.c: Could not set format on sink auto_null
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-null-sink" (index: #13; argument: "sink_name=auto_null sink_properties='device.description="Dummy-Ausgabe"'").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-always-sink" (index: #12; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #14; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #15; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-7.1/modules/module-console-kit.so': success
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-console-kit" (index: #16; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-7.1/modules/module-systemd-login.so': success
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-systemd-login" (index: #17; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #18; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-role-cork.c: Using role 'phone' as trigger role.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module-role-cork.c: Using roles 'music' and 'video' as cork roles.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-role-cork" (index: #19; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #20; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #21; argument: "").
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] main.c: Daemon startup complete.
Jul 15 14:48:12 pbx pulseaudio[19574]: [pulseaudio] main.c: Daemon startup successful.
Jul 15 14:48:12 pbx pulseaudio[19576]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.226" (uid=112 pid=19576 comm="pulseaudio -D --high-priority --disallow-exit=1 --") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=19137 comm="/usr/lib/bluetooth/bluetoothd --noplugin=sap ")

Und pacmd (available no bei A2DP)
Code:
1 card(s) available.
    index: 0
        name: <bluez_card.AC_38_70_78_F8_7C>
        driver: <module-bluez5-device.c>
        owner module: 22
        properties:
                device.description = "Lenovo S856"
                device.string = "AC:38:70:78:F8:7C"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "phone"
                bluez.path = "/org/bluez/hci0/dev_AC_38_70_78_F8_7C"
                bluez.class = "0x5e020c"
                bluez.alias = "Lenovo S856"
                device.icon_name = "audio-card-bluetooth"
        profiles:
                a2dp_source: High Fidelity Capture (A2DP Source) (priority 10, available: unknown)
                a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 10, available: no)
                headset_audio_gateway: Headset Audio Gateway (HSP/HFP) (priority 20, available: no)
                off: Aus (priority 0, available: yes)
        active profile: <a2dp_source>
        sources:
                bluez_source.AC_38_70_78_F8_7C/#1: Lenovo S856
        ports:
                phone-output: Phone (priority 0, latency offset 0 usec, available: no)
                        properties:


                phone-input: Phone (priority 0, latency offset 0 usec, available: unknown)
                        properties:
 
Zuletzt bearbeitet:

Zurzeit aktive Besucher

Statistik des Forums

Themen
246,201
Beiträge
2,247,951
Mitglieder
373,765
Neuestes Mitglied
walterronald99
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.