sameersbn / docker-skype

Dockerized skype with voice and video call support
MIT License
139 stars 30 forks source link

Add support for call recording (or just host dbus forwarding to container) #15

Open ssergiienko opened 8 years ago

ssergiienko commented 8 years ago

Hi, i have tried this image and all works fine, even systray icon, but if start skype-call-recorder (https://github.com/jlherren/skype-call-recorder) it doesn't see Skype running. I have tried to launch this image with --net=host and it doesn't help, so i considered that it connects via dbus.

May be you know any solution how to forward host dbus to container so Skype can use it? I have tried all this modifications:

...
  VOLUMES+=" --volume=${XAUTH}:${XAUTH}"
  VOLUMES+=" --volume=/run/dbus:/run/dbus"
  VOLUMES+=" --volume=/etc/machine-id:/etc/machine-id"
  VOLUMES+=" --volume=/etc/machine-id:/var/lib/dbus/machine-id"
  VOLUMES+=" --volume=/home/myuser/.dbus:/home/skype/.dbus"
  VOLUMES+=" --volume=/run/user/${USER_UID}/bus:/run/user/1000/bus"
  VOLUMES+=" --volume=/run/user/${USER_UID}/pulse:/run/pulse"
...

but all of them didn't helps( I have too little experience with dbus.

http://stackoverflow.com/questions/26159491/share-d-bus-message-bus-on-linux-when-launching-applications-remotely http://ubuntuforums.org/showthread.php?t=1059023 http://serverfault.com/questions/405518/how-to-configure-d-bus-and-ssh-x-forwarding-to-prevent-ssh-from-hanging-on-exit

Is there any better way how to achieve this?

sameersbn commented 8 years ago

The dbus thing is difficult to nail. I had tried to get unity indicator support with no success.

geecko86 commented 8 years ago

I would also be very interested in having skype-call-recorder compatibility. Unfortunately I'm also inexperienced with dbus. :/