Skip to content

Commit

Permalink
Merge pull request #26 from lucasvs/upadate-18.2.1
Browse files Browse the repository at this point in the history
update to asterisk 18.2.1
  • Loading branch information
lucasvs authored Feb 22, 2021
2 parents b7da2fc + 83ec5bc commit 6e44ec1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 40 deletions.
33 changes: 0 additions & 33 deletions 0080-fix-sdp-neg-modify-local-offer.patch

This file was deleted.

3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ RUN apt update -y && apt install -y odbcinst1debian2 && \
dpkg -i libmyodbc.deb && \
rm -rf /var/lib/apt/lists/*

ENV ASTERISK_VERSION=18.2.0
ENV ASTERISK_VERSION=18.2.1

COPY build-asterisk.sh /build-asterisk
COPY 0080-fix-sdp-neg-modify-local-offer.patch /build-asterisk
RUN DEBIAN_FRONTEND=noninteractive /build-asterisk

# Install g729
Expand Down
5 changes: 0 additions & 5 deletions build-asterisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
set -ex

mkdir -p /usr/src/asterisk
cp 0080-fix-sdp-neg-modify-local-offer.patch /usr/src/asterisk
cd /usr/src/asterisk

# 1.5 jobs per core works out okay
Expand All @@ -15,10 +14,6 @@ curl -sL https://github.com/asterisk/asterisk/archive/${ASTERISK_VERSION}.tar.gz
echo -e "\e[34m ---> Patching PJSIP-pjproject to support external srtp\e[0m"
sed -i 's/without-external-srtp/with-external-srtp/g' third-party/pjproject/Makefile.rules

echo -e "\e[34m ---> Add fix dsp-neg-modify-local-offer.patch to PJSIP-pjproject\e[0m"
cp 0080-fix-sdp-neg-modify-local-offer.patch third-party/pjproject/patches
ls third-party/pjproject/patches

echo -e "\e[34m ---> Building Asterisk\e[0m"
./bootstrap.sh
./contrib/scripts/get_mp3_source.sh
Expand Down

0 comments on commit 6e44ec1

Please sign in to comment.