[Freeswitch-users] FS 1.8 Docker image

Filipe Cunha filipe at redseven.tech
Thu Dec 20 15:16:03 UTC 2018


This is what I did.

*docker pull safarov/freeswitch*
*docker volume create --name freeswitch-soundsdocker run --net=host --name
freeswitch -e SOUND_RATES=8000:16000 -e SOUND_TYPES=music:en-us-callie -v
freeswitch-sounds:/usr/share/freeswitch/sounds -v
/etc/freeswitch/:/etc/freeswitch safarov/freeswitch*
*docker exec -it freeswitch /bin/sh*
*cd usr/bin/* *and you get inside the correct folder


On Thu, Dec 20, 2018 at 2:43 PM John Covici <covici at ccs.covici.com> wrote:

> I can't get into the container once I download the image, I tried to
> exec it with /bin/bash, but that seems not to exist.  I wanted to
> start ssh, so I could copy some files in there and maybe make other
> changes, but no joy.
>
> On Thu, 20 Dec 2018 05:38:58 -0500,
> Filipe Cunha wrote:
> >
> > [1  <multipart/alternative (7bit)>]
> > [1.1  <text/plain; UTF-8 (quoted-printable)>]
> > [1.2  <text/html; UTF-8 (quoted-printable)>]
> > I end up downloading safarov/freeswitch:1.8.2 image, installed my custom
> configuration and everything is working fine.
> > Thanks for the help guys.
> >
> > On Mon, Dec 17, 2018 at 9:01 PM Serge S. Yuriev <me at nevian.org> wrote:
> >
> >  Hi
> >
> >  I'm afraid your pastebin no more available.
> >  Returned 404
> >
> >  --
> >  Wbr, Serge via mobile
> >
> >  17.12.2018, 17:55, "Mitch Capper" <mitch.capper at gmail.com>:
> >
> >  I run FS in docker.   It is also handy for filing bug reports with
> exact repo so I have some dockerfiles up for example:
> https://freeswitch.org/jira/browse/FS-7833
> >  full source build.
> >
> >  ~mitch
> >
> >  On Fri, Dec 14, 2018 at 1:23 AM Alexey Sibyakin <alex at freeswitch.com>
> wrote:
> >
> >  Hi,
> >
> >  Try to install dbus into your Stretch.
> >
> >  Regards,
> >
> >  Alex
> >
> >  On Thu, Dec 13, 2018 at 3:40 AM Sergey Safarov <s.safarov at gmail.com>
> wrote:
> >
> >  you can use safarov/freeswitch:1.8.2 image
> >  repo of this is located here
> https://bitbucket.org/sergey-safarov/freeswitch/commits/branch/v1.8
> >
> >  ср, 12 дек. 2018 г. в 18:14, Filipe Cunha <filipe at redseven.tech>:
> >
> >  Hi all,
> >
> >  I'm trying to create a docker image with the latest version of
> FreeSWITCH. But I'm not able to do it. These are the steps that I did to
> try to do it.
> >
> >  1. Download debian stretch image docker pull debian:stretch
> >  2. Build FreeSWITCH from source code following the guide in confluence
> step by step. I follow the production version
> >  3. The step 2 went very well, and then I follow the post-installation
> instructions and this was when it stop working. I set up owners and
> permissions and when I try to do the systemd  I was not able to do it. I
> copied
> >  the file cp
> /usr/src/freeswitch/debian/freeswitch-systemd.freeswitch.service
> /etc/systemd/system/freeswitch.service the content of the file was not
> exactly the same as the one in the tutorial, so I copied the content
> >  of the file on the tutorial and replace it. And when I tried to do
> systemctl deamon-reload I got this error message, Failed to connect to bus:
> No such file or directory. After trying to find a solution online I found
> >  this answer on SO
> >
> >  Do you guys know if there is a solution for this problem?
> >  We plan to use the latest version of FreeSwitch in our production
> environment, but we have a normal linux server to do it, and the devops
> team got everything working fine, we only have this problem when we try to
> use
> >  docker.
> >  I'm trying to use docker so my team could test everything locally
> before pushing something to the test environment, so far we have been
> deploying our code to test environment to test our code  😖
> >  I found this image that works fine in our local environment, but the
> version is 1.6.16.
> >  Is there any braking change between 1.8.2 and 1.6.16? My concern it
> that we start developing against an older version, and when we deploy to
> production it doesn't work, or maybe the latest version have a super useful
> >  command that we are not taking advantage of.
> >  We control FreeSWITCH  mainly by events, we use java to do it.
> >
> >  Thanks for the help,
> >  Filipe Cunha
> >
> >
> >
> _________________________________________________________________________
> >  Professional FreeSWITCH Services
> >  sales at freeswitch.com
> >  https://freeswitch.com
> >
> >  Official FreeSWITCH Sites
> >  https://freeswitch.com/oss
> >  https://freeswitch.org/confluence
> >  https://cluecon.com
> >
> >  FreeSWITCH-users mailing list
> >  FreeSWITCH-users at lists.freeswitch.org
> >  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >  UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >  https://freeswitch.com
> >
> >
> _________________________________________________________________________
> >  Professional FreeSWITCH Services
> >  sales at freeswitch.com
> >  https://freeswitch.com
> >
> >  Official FreeSWITCH Sites
> >  https://freeswitch.com/oss
> >  https://freeswitch.org/confluence
> >  https://cluecon.com
> >
> >  FreeSWITCH-users mailing list
> >  FreeSWITCH-users at lists.freeswitch.org
> >  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >  UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >  https://freeswitch.com
> >
> >  --
> >  Alex Sibyakin | Support Engineer
> >  FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
> >  Email: alex at freeswitch.com
> >  Website: https://www.FreeSWITCH.com
> >  Need commercial support? Contact sales at freeswitch.com for details.
> >
> >
> _________________________________________________________________________
> >  Professional FreeSWITCH Services
> >  sales at freeswitch.com
> >  https://freeswitch.com
> >
> >  Official FreeSWITCH Sites
> >  https://freeswitch.com/oss
> >  https://freeswitch.org/confluence
> >  https://cluecon.com
> >
> >  FreeSWITCH-users mailing list
> >  FreeSWITCH-users at lists.freeswitch.org
> >  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >  UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >  https://freeswitch.com
> >
> >
> _________________________________________________________________________
> >  Professional FreeSWITCH Services
> >  sales at freeswitch.com
> >  https://freeswitch.com
> >
> >  Official FreeSWITCH Sites
> >  https://freeswitch.com/oss
> >  https://freeswitch.org/confluence
> >  https://cluecon.com
> >
> >  FreeSWITCH-users mailing list
> >  FreeSWITCH-users at lists.freeswitch.org
> >  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >  UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >  https://freeswitch.com
> >
> >
> _________________________________________________________________________
> >  Professional FreeSWITCH Services
> >  sales at freeswitch.com
> >  https://freeswitch.com
> >
> >  Official FreeSWITCH Sites
> >  https://freeswitch.com/oss
> >  https://freeswitch.org/confluence
> >  https://cluecon.com
> >
> >  FreeSWITCH-users mailing list
> >  FreeSWITCH-users at lists.freeswitch.org
> >  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >  UNSUBSCRIBE:
> http://lists.freeswitch.org/mailman/options/freeswitch-users
> >  https://freeswitch.com
> >
> > --
> >
> > * RED SEVEN TECHNOLOGY GROUP
> >
> >  Filipe Cunha
> >
> >  Software Engineer
> >
> >  *  (+44)07753990966
> >
> >  *  filipe at redseven.tech
> > *
> > *
> > *
> > [2  <text/plain; utf-8 (base64)>]
> > _________________________________________________________________________
> > Professional FreeSWITCH Services
> > sales at freeswitch.com
> > https://freeswitch.com
> >
> > Official FreeSWITCH Sites
> > https://freeswitch.com/oss
> > https://freeswitch.org/confluence
> > https://cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > https://freeswitch.com
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>          John Covici wb2una
>          covici at ccs.covici.com
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com



-- 



RED SEVEN TECHNOLOGY GROUP

Filipe Cunha

Software Engineer

 (+44)07753990966

 filipe at redseven.tech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181220/2846a27d/attachment-0001.html>


More information about the FreeSWITCH-users mailing list