Skip to content

Commit 448522d

Browse files
committed
- [build](Makefile) Now use alpine:3.23 (asterisk:20.15.2).
- [build](Makefile) Updated target `clean`. - [privatedial](src/privatedial) Fixed typo. - [demo](demo/Makefile) Fixed target `sound_2`. - [demo](demo/Makefile) Added target `netstat`.
1 parent 56bd830 commit 448522d

4 files changed

Lines changed: 15 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 1.1.13
2+
3+
- [build](Makefile) Now use alpine:3.23 (asterisk:20.15.2).
4+
- [build](Makefile) Updated target `clean`.
5+
- [privatedial](src/privatedial) Fixed typo.
6+
- [demo](demo/Makefile) Fixed target `sound_2`.
7+
- [demo](demo/Makefile) Added target `netstat`.
8+
19
# 1.1.12
210

311
- [build](Makefile) Now use alpine:3.22 (asterisk:20.11.1).

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
-include *.mk
77

8-
BLD_ARG ?= --build-arg DIST=alpine --build-arg REL=3.22 --build-arg PHP_VER=php84
8+
BLD_ARG ?= --build-arg DIST=alpine --build-arg REL=3.23 --build-arg PHP_VER=php84
99
BLD_REPO ?= mlan/asterisk
1010
BLD_VER ?= latest
1111
BLD_TGT ?= full
@@ -79,7 +79,7 @@ prune:
7979
docker image prune -f
8080

8181
clean:
82-
docker images | grep $(BLD_REPO) | awk '{print $$1 ":" $$2}' | uniq | xargs docker rmi || true
82+
docker images --all --filter reference=$(BLD_REPO) --format '{{.Repository}}:{{.Tag}}' | uniq | xargs docker rmi || true
8383

8484
$(TST_TGTE):
8585
${MAKE} $(TST_ENV) $@

demo/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ htop: tools_install
9797
ipcs:
9898
docker compose exec $(SRV_NAME) ipcs
9999

100+
netstat:
101+
docker compose exec $(SRV_NAME) netstat -apen
102+
100103
logger:
101104
docker compose exec $(SRV_NAME) asterisk -rx \
102105
'logger add channel console notice,warning,error,verbose'
@@ -146,7 +149,7 @@ sound_1:
146149
docker compose exec $(SRV_NAME) play -nq -t alsa synth 1 sine 300
147150

148151
sound_2:
149-
docker compose exec $(SRV_NAME) play -q /var/lib/asterisk/sounds/en/hello-world.gsm
152+
docker compose exec $(SRV_NAME) play -q /usr/share/asterisk/sounds/en/hello-world.gsm
150153

151154
sound_3: apk_add_alsa-utils
152155
docker compose exec $(SRV_NAME) aplay -Dpulse /usr/share/sounds/alsa/Front_Right.wav

src/privatedial/doc/privatedial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The configuration files making up PrivateDial are tabulated below.
3535
| pjsip_wizard.conf | Defines templates for sip trunk and soft-phone endpoints |
3636
| pjsip_endpoint.conf | Defines sip trunk and soft-phone endpoints |
3737

38-
When configuring the asterisk sever the following files often needs to be updated: `pjsip_transport.conf` and `minivm.conf`. The remaining task is, once the severer has been configured, to add and maintain sip trunk and soft-phone endpoints, which is kept in `pjsip_endpoint.conf`.
38+
When configuring the asterisk sever the following files often needs to be updated: `pjsip_transport.conf` and `minivm.conf`. The remaining task is, once the server has been configured, to add and maintain sip trunk and soft-phone endpoints, which is kept in `pjsip_endpoint.conf`.
3939

4040
## Usage
4141

0 commit comments

Comments
 (0)