Files
login/freepbx/modemmenu.users
T
Claude cfdd7ac7f1 Add a FreePBX sample: logins from a users file
freepbx/ holds a ready-made setup for FreePBX 16 and 17 with D-Modem's
FreePBX module: modemmenu.conf (auth = file, -serve on a socket in the
asterisk group, PPP, last callers, password changes, an optional BBS
item), a users file, a systemd unit and a test extension.  The files go
in /etc/modemmenu, out of fwconsole chown's way.  The README walks
through the D-Modem profile and inbound route; make install-freepbx
installs the files without overwriting.

Also move the [terminal] section of modemmenu.conf.sample out of the
header comment it had landed in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRV6gXs8esrspL3kjPc
2026-11-05 01:24:11 +00:00

17 lines
672 B
Plaintext

# /etc/modemmenu/modemmenu.users - the callers' logins, user:password, one
# per line. Keep it root's alone: chmod 600, chown root:root
#
# A password is best a bcrypt hash; modemmenu -hash asks for a password
# and prints its hash, so this adds alice:
#
# echo "alice:$(modemmenu -hash)" >> /etc/modemmenu/modemmenu.users
#
# {PLAIN}text is the password as it is, for a quick test only.
# modemmenu reads the file at each login: no restart after a change.
#
# user:!hash is a locked account (signup's pending ones; remove the ! to
# let them in). What follows a second : is a note.
#
#alice:$2a$10$replace.this.with.the.output.of.modemmenu.hash
#test:{PLAIN}changeme