Skip to content

Commit

Permalink
- [build](Makefile) Now use alpine:3.20 (asterisk:20.9.3).
Browse files Browse the repository at this point in the history
- [asterisk](src/asterisk/config/modules.conf) Add modules that are not loaded by default helping to get rid of error messages during startup.
- [asterisk](src/asterisk/config/console.conf) Add `console.conf` so we can use `chan_console.so` since `chan_alsa.so` will be removed in asterisk:21.
- [demo](demo/Makefile) Now use `chan_console.so` since `chan_alsa.so` will be removed in asterisk:21.
  • Loading branch information
mlan committed Oct 6, 2024
1 parent 1229954 commit 3e79538
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 20 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# 1.1.10

- [build](Makefile) Now use alpine:3.20 (asterisk:20.9.3).
- [asterisk](src/asterisk/config/modules.conf) Add modules that are not loaded by default helping to get rid of error messages during startup.
- [asterisk](src/asterisk/config/console.conf) Add `console.conf` so we can use `chan_console.so` since `chan_alsa.so` will be removed in asterisk:21.
- [demo](demo/Makefile) Now use `chan_console.so` since `chan_alsa.so` will be removed in asterisk:21.

# 1.1.9

- [build](Makefile) Now use alpine:3.20 (asterisk:20.8.1).
- [build](Dockerfile) Switch to php83.
- [demo](demo) Fixed target 'apk_list'.
- [demo](demo) Fixed target `apk_list`.

# 1.1.8

Expand Down
5 changes: 1 addition & 4 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,11 @@ Consider fixing the code in [app_minivm.c](https://github.com/asterisk/asterisk/

## AutoBan

- Now `.nft` file is loaded at container strartup (entry.d) irrespective of if autoband is enabled or not. Only load `.nft` files if autoband is enabled.
- Now `.nft` file is loaded at container startup (entry.d) irrespective of whether autoband is enabled or not. Only load `.nft` files if autoband is enabled.
- Add option to get reverse DNS using gethostbyaddr($ip); in `show who`.
- Perhaps replace entry.d/ with /etc/conf.d/nftables?
- Allow intervals, eg 192.168.1.1-192.168.1.200, in blacklist and whitelist.

## WebSMS

## Asterisk modules

- Check what modules are needed and avoid loading others. This will help get rid of error messages during startup.

2 changes: 1 addition & 1 deletion demo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ sips_test:
sound_enable: pulse/socket
cp -f $${PULSE_COOKIE-$$HOME/.config/pulse/cookie} pulse/cookie
sudo mount --bind $$(pactl info | sed '1!d;s/.*:\s*//g') pulse/socket
docker compose exec $(SRV_NAME) asterisk -rx 'module load chan_alsa.so' || true
docker compose exec $(SRV_NAME) asterisk -rx 'module load chan_console.so' || true

sound_disable:
rm pulse/cookie
Expand Down
4 changes: 4 additions & 0 deletions src/asterisk/config/console.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[default]
input_device = pulse ; When configuring an input device and output device,
output_device = pulse ; use the name that you see when you run the "console list available" CLI command.
active = yes ; This option should only be set for one console.
25 changes: 12 additions & 13 deletions src/asterisk/config/modules.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,18 @@ noload => pbx_gtkconsole.so
;
load => res_musiconhold.so
;
; Load one of: chan_oss, alsa, or console (portaudio).
; By default, load chan_oss only (automatically).
;
;noload => chan_alsa.so
noload => chan_oss.so
noload => chan_console.so

noload => res_hep.so
noload => res_hep_pjsip.so
noload => res_hep_rtcp.so

noload => app_adsiprog.so
noload => app_agent_pool.so
noload => app_alarmreceiver.so
noload => app_amd.so
noload => app_confbridge.so
noload => app_festival.so
noload => app_followme.so
noload => app_getcpeid.so
noload => app_page.so
noload => app_queue.so
noload => app_voicemail.so
noload => app_voicemail_imap.so
noload => cdr_csv.so
noload => cdr_custom.so
noload => cdr_manager.so
Expand All @@ -42,6 +35,8 @@ noload => cdr_syslog.so
noload => cel_custom.so
noload => cel_manager.so
noload => cel_sqlite3_custom.so
noload => chan_alsa.so
noload => chan_console.so
noload => chan_iax2.so
noload => chan_mgcp.so
noload => chan_sip.so
Expand All @@ -50,6 +45,7 @@ noload => chan_unistim.so
noload => pbx_ael.so
noload => pbx_dundi.so
noload => pbx_lua.so
noload => res_adsi.so
noload => res_ari_applications.so
noload => res_ari_asterisk.so
noload => res_ari_bridges.so
Expand All @@ -63,12 +59,15 @@ noload => res_ari.so
noload => res_ari_sounds.so
noload => res_calendar.so
noload => res_fax.so
noload => res_hep.so
noload => res_hep_pjsip.so
noload => res_hep_rtcp.so
noload => res_parking.so
noload => res_phoneprov.so
noload => res_pjsip_notify.so
noload => res_pjsip_phoneprov_provider.so
noload => res_pjsip_t38.so
noload => res_prometheus.so
noload => res_smdi.so
noload => res_statsd.so
noload => res_stun_monitor.so

noload => res_stun_monitor.so
2 changes: 1 addition & 1 deletion src/privatedial/doc/privatedial.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ You also need to configure WebSMS for SMS to work, see separate documentation.

### Outgoing SMTP email server

PrivateDial use [MiniVoiceMail](https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Application_MinivmRecord) to deliver voice mail messages via email with attached sound files. For this to work a separate SMTP email server need to have been set up. This can for example be achieved by using the image [mlan/postfix-amavis](https://hub.docker.com/repository/docker/mlan/postfix-amavis). With a functional email server, configure MiniVM to connect to it by providing its URL and authentication credentials in `minivm.conf`
PrivateDial use [MiniVoiceMail](https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Application_MinivmRecord) to deliver voice mail messages via email with attached sound files. For this to work a separate SMTP email server need to have been set up. This can for example be achieved by using the image [mlan/postfix](https://hub.docker.com/repository/docker/mlan/postfix). With a functional email server, configure MiniVM to connect to it by providing its URL and authentication credentials in `minivm.conf`

`minivm.conf`

Expand Down

0 comments on commit 3e79538

Please sign in to comment.