Skip to content

Commit

Permalink
Merge pull request #314 from TECH7Fox/update-asterisk
Browse files Browse the repository at this point in the history
Update Asterisk to 20.6.0, chan-dongle and googletts
  • Loading branch information
felipecrs committed Mar 10, 2024
2 parents 9ceea9f + 3dbf53c commit d6b270d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
12 changes: 12 additions & 0 deletions asterisk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

# Changelog

## 4.2.0

### New Features

- Include `app_rtsp_sip` in ARM builds

### Upgrades

- Upgrade Asterisk from 20.5.2 to 20.6.0
- Upgrade asterisk-chan-dongle to latest revision
- Upgrade asterisk-googletts to latest revision

## 4.1.2

### Upgrades
Expand Down
8 changes: 4 additions & 4 deletions asterisk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@ RUN export DEBIAN_FRONTEND=noninteractive; \

# Taken from https://metadata.ftp-master.debian.org/changelogs/main/a/asterisk/unstable_changelog
# (replace all ~ with _ and remove final -)
ARG ASTERISK_OPUS_VERSION="20.5.2_dfsg+_cs6.13.40431414"
ARG ASTERISK_OPUS_VERSION="20.6.0_dfsg+_cs6.13.40431414"
WORKDIR /usr/src/asterisk-opus
RUN curl -fsSL "https://salsa.debian.org/pkg-voip-team/asterisk/-/archive/upstream/${ASTERISK_OPUS_VERSION}/asterisk-upstream-${ASTERISK_OPUS_VERSION}.tar.gz?path=Xopus" | \
tar --strip-components 2 -xz

# https://github.com/asterisk/asterisk/tags
# https://www.asterisk.org/downloads/asterisk/all-asterisk-versions/
ARG ASTERISK_VERSION="20.5.2"
ARG ASTERISK_VERSION="20.6.0"
WORKDIR /usr/src/asterisk
RUN curl -fsSL "http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-${ASTERISK_VERSION}.tar.gz" | \
tar --strip-components 1 -xz
Expand Down Expand Up @@ -244,7 +244,7 @@ RUN \
## Install chan-gongle
WORKDIR /usr/src/asterisk-chan-dongle
# https://github.com/wdoekes/asterisk-chan-dongle/commits/master
ARG CHAN_DONGLE_VERSION="503dba87d726854b74b49e70679e64e6e86d5812"
ARG CHAN_DONGLE_VERSION="13450af5f648ddf4bc279c08e53917f503253bdd"
RUN curl -fsSL "https://github.com/wdoekes/asterisk-chan-dongle/archive/${CHAN_DONGLE_VERSION}.tar.gz" | \
tar --strip-components 1 -xz
RUN ./bootstrap; \
Expand All @@ -260,7 +260,7 @@ RUN ./bootstrap; \
WORKDIR /usr/src/asterisk-googletts
COPY patches/googletts/change_tmp_dir.patch .
# https://github.com/zaf/asterisk-googletts/commits/master
ARG GOOGLETTS_VERSION="5566ddc42e99d15cfaee2c4b8882e171ada2e479"
ARG GOOGLETTS_VERSION="0592005ed97cf8c83bfacedee933def20307b8a2"
RUN curl -fsSL "https://github.com/zaf/asterisk-googletts/archive/${GOOGLETTS_VERSION}.tar.gz" | \
tar --strip-components 1 -xz; \
patch -p1 < change_tmp_dir.patch
Expand Down
2 changes: 1 addition & 1 deletion asterisk/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Asterisk

Check warning on line 1 in asterisk/config.yaml

View workflow job for this annotation

GitHub Actions / Lint add-on asterisk

'map' contains the 'config' folder, which has been replaced by 'homeassistant_config'. See: https://developers.home-assistant.io/blog/2023/11/06/public-addon-config
version: 4.1.2
version: 4.2.0
slug: asterisk
description: PBX server for SIP devices like doorbells and phones
url: https://github.com/TECH7Fox/asterisk-hass-addons
Expand Down

0 comments on commit d6b270d

Please sign in to comment.