mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
Implement XMLRPC like retrocompatibility endpoints Validate phone-info endpoint phone format Improve OVHSMS error handling and log errors Complete tests Fix #34 return a generic message for 404 errors Fix #38 simplify the domain resolving parameter and remove the domain parameter in the token based account creation endpoint
88 lines
No EOL
2.9 KiB
Text
88 lines
No EOL
2.9 KiB
Text
APP_NAME=FlexiAPI
|
|
APP_ENV=local
|
|
APP_KEY=
|
|
APP_DEBUG=false
|
|
APP_URL=http://localhost
|
|
APP_SIP_DOMAIN=sip.example.com
|
|
|
|
APP_FLEXISIP_PROXY_PID=/var/run/flexisip-proxy.pid
|
|
APP_LINPHONE_DAEMON_UNIX_PATH=
|
|
APP_FLEXISIP_PUSHER_PATH=
|
|
|
|
APP_API_KEY_EXPIRATION_MINUTES=60 # Number of minutes the generated API Keys are valid
|
|
|
|
# Risky toggles
|
|
APP_EVERYONE_IS_ADMIN=false # Allow any accounts to request the API as an administrator
|
|
APP_ADMINS_MANAGE_MULTI_DOMAINS=false # Allow admins to handle all the accounts in the database
|
|
APP_DANGEROUS_ENDPOINTS=false # Enable some dangerous endpoints used for XMLRPC like fallback usage
|
|
|
|
# SIP server parameters
|
|
ACCOUNT_PROXY_REGISTRAR_ADDRESS=sip.example.com # Proxy registrar address, can be different than the SIP domain
|
|
ACCOUNT_TRANSPORT_PROTOCOL_TEXT="TLS (recommended), TCP or UDP" # Simple text, to explain how the SIP server can be reached
|
|
ACCOUNT_REALM=null # Default realm for the accounts, fallback to the domain if not set, enforce null by default
|
|
|
|
# Account creation
|
|
ACCOUNT_CONSUME_EXTERNAL_ACCOUNT_ON_CREATE=false
|
|
|
|
# Account provisioning
|
|
ACCOUNT_PROVISIONING_RC_FILE=
|
|
ACCOUNT_PROVISIONING_OVERWRITE_ALL=
|
|
|
|
# Instance specific parameters
|
|
INSTANCE_COPYRIGHT= # Simple text displayed in the page footer
|
|
INSTANCE_INTRO_REGISTRATION= # Markdown text displayed in the home page
|
|
INSTANCE_CUSTOM_THEME=false
|
|
INSTANCE_CONFIRMED_REGISTRATION_TEXT= # Markdown text displayed when an account is confirmed
|
|
|
|
WEB_PANEL=true # Fully enable/disable the web panels
|
|
NEWSLETTER_REGISTRATION_ADDRESS= # Address to contact when a user wants to register to the newsletter
|
|
PUBLIC_REGISTRATION=true # Toggle to enable/disable the public registration forms
|
|
PHONE_AUTHENTICATION=true # Toggle to enable/disable the SMS support, requires public registration
|
|
DEVICES_MANAGEMENT=false # Toggle to enable/disable the devices management support
|
|
|
|
TERMS_OF_USE_URL= # A URL pointing to the Terms of Use
|
|
PRIVACY_POLICY_URL= # A URL pointing to the Privacy Policy
|
|
|
|
LOG_CHANNEL=stack
|
|
|
|
# External FlexiSIP database
|
|
# Ensure that you have the proper SELinux configuration to allow database connections, see the README
|
|
DB_DRIVER=mysql
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
DB_DATABASE=flexisip
|
|
DB_USERNAME=flexisip
|
|
DB_PASSWORD=flexisip
|
|
|
|
# Logs
|
|
# Ensure that you have the proper SELinux configuration to write in the storage directory, see the README
|
|
BROADCAST_DRIVER=log
|
|
CACHE_DRIVER=file
|
|
QUEUE_CONNECTION=sync
|
|
SESSION_DRIVER=cookie
|
|
SESSION_LIFETIME=120
|
|
|
|
# SMTP and emails
|
|
# Ensure that you have the proper SELinux configuration to allow emails sending, see the README
|
|
MAIL_DRIVER=
|
|
MAIL_HOST=
|
|
MAIL_PORT=2525
|
|
MAIL_USERNAME=
|
|
MAIL_PASSWORD=
|
|
MAIL_FROM_ADDRESS=
|
|
MAIL_FROM_NAME=
|
|
MAIL_ALLOW_SELF_SIGNED=false
|
|
MAIL_VERIFY_PEER=true
|
|
MAIL_VERIFY_PEER_NAME=true
|
|
MAIL_SIGNATURE="The Example Team"
|
|
|
|
# OVH SMS API variables
|
|
OVH_APP_KEY=
|
|
OVH_APP_SECRET=
|
|
OVH_APP_ENDPOINT=ovh-eu
|
|
OVH_APP_CONSUMER_KEY=
|
|
OVH_APP_SENDER=
|
|
|
|
# Google reCaptcha v2 parameters
|
|
NOCAPTCHA_SECRET=secret-key
|
|
NOCAPTCHA_SITEKEY=site-key |