Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie committed Feb 7, 2024
1 parent 8d78aab commit 3d5b9a2
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 208 deletions.
1 change: 0 additions & 1 deletion components/app/lib/call_platform/fake_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def create_call(params)

twiml = case params.fetch(:to)
when "1111" then "<Response><Say>Hello World!</Say><Hangup /></Response>"
when "2222" then "<Response><Connect><Stream url=\"wss://127.0.0.1/connect_call/\" /></Connect></Response>"
else
"<Response><Play>https://demo.twilio.com/docs/classic.mp3</Play></Response>"
end
Expand Down
31 changes: 0 additions & 31 deletions components/app/spec/lib/rayo/command/audio_fork/start_spec.rb

This file was deleted.

21 changes: 1 addition & 20 deletions components/freeswitch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
FROM drachtio/drachtio-freeswitch-base as freeswitch-build

FROM public.ecr.aws/debian/debian:bookworm-slim AS deps-build

RUN apt-get update && apt-get -y --quiet --allow-remove-essential upgrade && \
apt-get install -y --quiet --no-install-recommends \
lsof gcc g++ make cmake build-essential git autoconf automake \
libssl-dev pkg-config ca-certificates

RUN export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib && \
cd /usr/local/src && \
git clone https://github.com/warmcat/libwebsockets.git -b v4.3.2 && \
cd libwebsockets && \
mkdir -p /usr/local/src/libwebsockets/install/ && \
mkdir -p build && cd build && cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo && make && make install

FROM public.ecr.aws/aws-cli/aws-cli as aws-cli

FROM public.ecr.aws/debian/debian:bookworm-slim
Expand All @@ -26,7 +10,7 @@ RUN apt-get update && apt-get install --no-install-recommends -yq gnupg2 wget ca
echo "deb [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-release/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list && \
echo "deb-src [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-release/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list && \
apt-get update --allow-releaseinfo-change && \
apt-get -y install --no-install-recommends libc-dev groff pkg-config less netcat-traditional ffmpeg \
apt-get -y install --no-install-recommends netcat-traditional ffmpeg \
freeswitch \
freeswitch-mod-console \
freeswitch-mod-event-socket \
Expand Down Expand Up @@ -61,9 +45,6 @@ RUN chown -R freeswitch:daemon /etc/freeswitch && \

COPY --link --from=aws-cli /usr/local/aws-cli/ /usr/local/aws-cli/
COPY --link --from=aws-cli /usr/local/bin/ /usr/local/bin
COPY --link --from=freeswitch-build /usr/local/freeswitch/mod/mod_audio_fork.* /usr/lib/freeswitch/mod/
COPY --link --from=deps-build /usr/local/lib/ /usr/local/lib/
RUN ldconfig

# Install the entrypoint script
COPY --link docker-entrypoint.sh /docker-entrypoint.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<load module="mod_dptools"/>
<load module="mod_httapi"/>
<load module="mod_http_cache"/>
<load module="mod_audio_fork"/>

<!-- File Format Interfaces -->
<load module="mod_sndfile"/>
Expand Down
131 changes: 0 additions & 131 deletions components/testing/scenarios/uac_pcap.xml

This file was deleted.

24 changes: 0 additions & 24 deletions components/testing/tests/public_gateway/connect_stream_test.sh

This file was deleted.

0 comments on commit 3d5b9a2

Please sign in to comment.