From f65b309fc00805c68a647ca96730711c91803c93 Mon Sep 17 00:00:00 2001 From: David Wilkie Date: Fri, 28 Jun 2024 20:05:59 +0700 Subject: [PATCH 1/2] Increase mod_twilio_stream audio buffer to 60s --- .../src/mod/mod_twilio_stream/include/audio_pipe.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/freeswitch/src/mod/mod_twilio_stream/include/audio_pipe.hpp b/components/freeswitch/src/mod/mod_twilio_stream/include/audio_pipe.hpp index f609bf8ca..dcc3622d8 100644 --- a/components/freeswitch/src/mod/mod_twilio_stream/include/audio_pipe.hpp +++ b/components/freeswitch/src/mod/mod_twilio_stream/include/audio_pipe.hpp @@ -12,8 +12,8 @@ #include "lockfree/lockfree.hpp" -// 5s of L16 8Khz audio -#define MAX_AUDIO_BUFFER 5 * 2 * 8000 +// 60s of L16 8Khz audio +#define MAX_AUDIO_BUFFER 60 * 2 * 8000 class AudioPipe { From cb42c4df2b42c2884bb378c17b828b1dd6a63fd8 Mon Sep 17 00:00:00 2001 From: David Wilkie Date: Sat, 29 Jun 2024 09:32:14 +0700 Subject: [PATCH 2/2] WIP --- .github/workflows/integration_tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 16d89f587..d605c79eb 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -147,6 +147,9 @@ jobs: docker compose run -e DATABASE_NAME=opensips_${{ inputs.context }}_test gateway-bootstrap create_db ${{ inputs.context }} docker compose up --wait -d ${{ inputs.context }} media_proxy freeswitch freeswitch_event_logger switch-app redis testing + - name: Setup upterm session + uses: lhotari/action-upterm@v1 + - name: Run ${{ inputs.context }} Tests run: | docker compose exec testing ./tests.sh ./tests/${{ inputs.context }}