FreeSWITCH Alpine 安装
今天试了试,记录如下:
Alpine 3.21
先更新 Alpine 仓库
编辑 /etc/apk/repositories,内容为:
https://mirrors.aliyun.com/alpine/v3.21/main
https://mirrors.aliyun.com/alpine/v3.21/community
之后运行:
apk update && \
apk add freeswitch freeswitch-dev freeswitch-mariadb freeswitch-openrc freeswitch-pgsql freeswitch-sample-config freeswitch-sounds-en-us-callie-8000 freeswitch-sounds-music-8000 freeswitch-timezones
这就搞定了
但比较遗憾,没有 mod_av 模块
mod_lua 基于 lua5.3
FreeSWITCH 版本为 1.10.11,还不错
比较重要的全局变量如下:
- recordings_dir=/var/lib/freeswitch/recordings
- sound_prefix=/usr/share/freeswitch/sounds/en/us/callie
- sounds_dir=/usr/share/freeswitch/sounds
- conf_dir=/etc/freeswitch
- log_dir=/var/log/freeswitch
- run_dir=/var/run/freeswitch
- db_dir=/var/lib/freeswitch/db
- mod_dir=/usr/lib/freeswitch/mod
- script_dir=/etc/freeswitch/scripts
- grammar_dir=/usr/share/freeswitch/grammar
- fonts_dir=/usr/share/freeswitch/fonts
- images_dir=/var/lib/freeswitch/images
- certs_dir=/etc/freeswitch/tls
- storage_dir=/var/lib/freeswitch/storage
- data_dir=/usr/share/freeswitch