Skip to content

Latest commit

 

History

History
251 lines (187 loc) · 12.4 KB

CHANGELOG.md

File metadata and controls

251 lines (187 loc) · 12.4 KB

1.1.9

  • build Now use alpine:3.20 (asterisk:20.8.1).
  • build Switch to php83.
  • demo Fixed target 'apk_list'.

1.1.8

  • build Due to changed behavior with docker 26, files are now copied on the host instead of being hard-linked.
  • build Now set BLD_CVER ?= ast200 to match codec and asterisk versions.
  • demo Remove obsolete element version in docker-compose.yml.

1.1.7

1.1.6

  • build Now use alpine:3.18 (asterisk:18.15.1).
  • build Removed unavaiable package.

1.1.5

  • github Now use GitHub Actions to test image.
  • demo Now depend on the docker-compose-plugin.
  • build Set DOCKER_BUILDKIT=0 to make docker build handle our symbolic links as we intended.

1.1.4

  • privatedial Allow all TLS protocols in the minivm-send bash script.
  • test Now also test the PHP is setup correctly.

1.1.3

  • repo Fix the bug; websms and autoban not working. We need to use softlinks to ../../share/php81/.
  • docker Corrected misspelling.

1.1.2

  • build Fix the bug; websmsd not working. We need to set DOCKER_PHP_DIR=/usr/share/php81.

1.1.1

  • build Now use alpine:3.17 (asterisk:18.15.0).
  • build Switch to php81.
  • test Updated dist to jammy.

1.1.0

  • build Now use alpine:3.16 (asterisk:18.11.2).
  • build Switch to php8.
  • demo Switch to php8.
  • privatedial BREAKING. In extensions.conf now use APP_SMS = /usr/local/bin/websms.

1.0.0

  • docker Now use alpine:3.15 (asterisk:18.2.2).
  • autoban Let autoban manipulate nft without breaking docker networking. Since docker 5:20.10 container DNS resolve is based on nft rules (with iptables-nft) which autoban's nft implementation interfered with resulting in container unable to resolve network names.
  • autoban Now use DOCKER_NFT_DIR=/etc/nftables.d.
  • autoban Only load .nft files if nft is installed.
  • build Now push images to registry.
  • demo Updated demo to also work with docker-compose >= 2.
  • test Added container name-space network inspection targets.

0.9.9

0.9.8

  • autoban Let autoband handle AMI connection failures nicely.

0.9.7

  • docker Now use alpine:3.13 (asterisk:18.1.1).
  • test Move tests into test dir.

0.9.6

  • repo Fixed bug in hooks/pre_build. Use curl in make pre_build.

0.9.5

  • codec Provide the G.729 and G.723.1 audio codecs.
  • codec Improved handling of codec versions (BLD_CVER in Makefile).

0.9.4

  • websms Use prox_addr = 172.16.0.0/12,192.168.0.0/16 by default.

0.9.3

  • acme Introduce ACME_POSTHOOK="sv restart asterisk" and run that after we have updated the certificates.
  • docker Don't move DOCKER_APPL_SSL_DIR=$DOCKER_SSL_DIR/asterisk to persistent storage. Data there is updated at container startup anyway. Moreover there is no need to remove old data when it is updated.
  • privatedial In pjsip_transport.conf set method=tlsv1_2 to harden TLS.

0.9.2

  • docker Use the native envvar SVDIR instead of DOCKER_RUNSV_DIR.
  • docker Update docker-common.sh.
  • docker Now use docker-config.sh.
  • docker Update docker-entrypoint.sh.
  • docker Update docker-service.sh.
  • docker Now use DOCKER_ENTRY_DIR=/etc/docker/entry.d and DOCKER_EXIT_DIR=/etc/docker/exit.d.
  • docker Improved smoke test.
  • acme Update module.
  • privatedial Breaking change. Now use cert_file=/etc/ssl/asterisk/cert.pem and priv_key_file=/etc/ssl/asterisk/priv_key.pem

0.9.1

  • repo Added hooks/pre_build which assembles files from sub-modules.
  • repo Revisited .travis.yml.
  • docker Proofread documentation.
  • docker Fixed broken hyperlinks in documentation.

0.9.0

  • privatedial Break out endpoints from pjsip_wizard.conf to pjsip_endpoint.conf.
  • privatedial Use Hangup() instead of Goto() when entering extension h.
  • privatedial Work around bug in MinivmGreet().
  • privatedial Renamed dialplan contexts.
  • privatedial Dialplan [sub_voicemail] now handles CHANUNAVAIL correctly.
  • privatedial Added endpoint/bind_rtp_to_media_address = yes
  • docker Complete documentation.
  • docker Now use alpine:3.12 (asterisk:16.7.0).
  • websms WEBSMSD_PORT=80 sets PHP web server port, used by WebSMS.
  • repo Harmonized file names in entry.d and exit.d.
  • repo Use git submodule for third party projects.

0.8.0

  • websms Harmonized configuration parameter names.
  • websms Harmonized function names.
  • websms Facilitate static key-value pairs, val_static = "key1=value1,key2=value2".
  • websms Parameter val_numform, now takes E.164 (omit +) and E.123.
  • websms Improved Unicode configuration, allowing val_unicode = "key=value".
  • websms Added authorization methods, plain and none.
  • websms Allow multiple API interfaces to be configured.
  • websms Now accept incoming message with null body.
  • websms Code clean up.
  • privatedial Use set_var=TRUNK_ENDPOINT to set outgoing target for each endpoint individually.
  • privatedial Don't use endpoint/from_user, it overwrites CallerID.

0.7.0

  • acme Support both v1 and v2 formats of the acme.json file.
  • acme Support both host and domain wildcard TLS certificates.
  • websms Complete documentation.
  • privatedial Advancing documentation.
  • docker Advancing documentation.
  • docker Cleanup src/notused.
  • docker Consolidate common functions in src/docker/bin/docker-common.sh.

0.6.0

  • docker Audio via PulseAudio.
  • docker Now use alpine:3.11 (asterisk:16.6.2).
  • demo Added demo.
  • demo Enabled audio via PulseAudio socket and cookie.
  • demo Use host timezone by mounting /etc/localtime.
  • websms Updating documentation.
  • privatedial Added demo-echotest in IVR.
  • privatedial Fixed initiation issue for minivm.

0.5.2

  • websms Fixing bugs related to special characters in SMS messages
  • websms Added val_unicode parameter. Set to ucs-2 to make sure all characters are within the Unicode BMP (up to U+FFFF).
  • websms Updating documentation.
  • websms Refactoring of astqueue.class.ini to better cope with message encoding.
  • privatedial added sub_decode_body to cope with encoded messages.

0.5.1

  • docker Enable PHP profiling using xdebug.
  • autoban Optimized code with respect to efficiency and speed.
  • autoban Improved command line options of the shell utility.

0.5.0

  • acme Fixed dumpcert.sh leaking to stdout. Have it write to logger instead.
  • autoban Added shell utility autoban, which helps to manage the NFT state
  • autoban Updated documentation.
  • autoban Now write to autoban.nft every time we get a security event and update NFT, so that its state is always preserved.
  • autoban Code base now refactored and split into autoban.class.inc and nft.class.inc
  • websms Updated documentation.

0.4.0

  • privatedial Now keep main dial-plan conf files separate.
  • privatedial Start to document the PrivateDial dial-plan.
  • autoban Now don't crash if autoban.conf does not have both an [autoban] and an [nftables] section.
  • autoban Renamed autoband.php (it was autoban.php)
  • autoban Updated documentation.
  • asterisk Added Networking section in README.md.

0.3.0

  • acme New support for Let’s Encrypt TLS certificates using Traefik using ACME_FILE=/acme/acme.json.
  • asterisk Configuration now supports UDP, TCP and TLS and SDES.
  • asterisk Generate self-signed TLS certificate.
  • asterisk Improved structure of pjsip_wizard.conf.
  • asterisk Don't answer when device is UNAVAILABLE in [dp_answer]
  • docker The docker-service.sh script now have options: down, force, log, name, source, quiet.
  • websms Added val_numform parameter. Set to E164 to strip phone numbers from leading +.

0.2.1

  • asterisk Sanitize incoming extensions so they are all international
  • asterisk Move APP_SMS global to extensions.conf
  • websms Use $_POST since file_get_contents("php://input") cannot handle multipart/form-data
  • websms Allow IP addr filtering behind proxy by using HTTP_X_FORWARDED_FOR
  • websms websmsd.php parameters are json decoded and searched recursively
  • websms Also support Zadarma POST parameters in websms.class.inc
  • websms Started WebSMS (separate) documentation
  • autoban Fixed new bug in autoban.class.inc
  • autoban Added conf sample file autoban.conf.sample

0.2.0

  • repo Now reorganize repo files according to which service they provide
  • docker alpine 3.10.3 released so now build using alpine:3.10
  • docker Added Health check
  • docker Introduce a SIGTERM trap in docker-entrypoint.sh allowing graceful container termination with exit.d script execution
  • docker docker-service.sh now also take switches -n and -l.
  • docker We now create directory structure when an empty volume is mounted at /srv.
  • asterisk Based on live testing updated templates in pjsip_wizard.conf
  • asterisk Now use extensions-local.conf to keep all local configurations
  • asterisk Fixed typo in rtp.conf
  • websms Retired service sms/d which has been succeeded by websms/d
  • websms New verify POST request in websms.class.inc
  • websms New check source IP address in websms.class.inc
  • autoban New service Autoban, which listens to security AMI events and dynamically configures nftables to block abusing IPs.
  • autoban autoban.class.inc (formerly nft.class.inc) is now state less
  • autoban Restricting Autoban's AMI access to a minimum
  • autoban Autoban now has repeatmult punishing repeat offenders progressively more severely
  • autoban Autoban now use nftables timeouts
  • autoban Added entry.d and exit.d scripts so that the nft state is loaded/saved at container startup/shutdown.

0.1.0

  • docker Using alpine:3.9 since for alpine:3.10 there are dependency errors reported when asterisk starts.
  • privatedial minivm-send bash script simplify minivm configuration.