mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
58 lines
No EOL
1.7 KiB
Text
58 lines
No EOL
1.7 KiB
Text
<?php
|
|
|
|
/*
|
|
* The SIP domain to use to hash passwords.
|
|
*
|
|
* Default value: sip.example.org
|
|
*/
|
|
define("SIP_DOMAIN", "sip.example.org");
|
|
|
|
/*
|
|
* If true, when account is created, the password will be generated automatically (see below).
|
|
* Otherwise it has to be given as the last parameter of the create_account method call.
|
|
*
|
|
* Default value: False
|
|
*/
|
|
define("GENERATE_PASSWORD_ENABLED", False);
|
|
|
|
/*
|
|
* A string with each character allowed in the password generation.
|
|
*
|
|
* Default value: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789``-=~!@#$%^&*()_+,./<>?;:[]{}\|
|
|
*/
|
|
define("GENERATED_PASSWORD_CHARACTERS", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789``-=~!@#$%^&*()_+,./<>?;:[]{}\|");
|
|
|
|
/*
|
|
* The length of the passwords that will be generated.
|
|
*
|
|
* Default value: 8
|
|
*/
|
|
define("GENERATED_PASSWORD_LENGTH", 8);
|
|
|
|
/*
|
|
* If set to True, a created account will automatically be activated and it's expiration date set to now + TRIAL_DURATION_DAYS,
|
|
* otherwise expiration date for trial will be set when account is activated via a different xml rpc call.
|
|
*/
|
|
define('AUTO_ACTIVATE_ACCOUNT', False);
|
|
|
|
/*
|
|
* Send an email to activate the account when it is created.
|
|
*/
|
|
define('SEND_ACTIVATION_EMAIL', True);
|
|
|
|
/*
|
|
* Send a sms to activate the phone account when it is created.
|
|
*/
|
|
define('SEND_ACTIVATION_SMS', True);
|
|
|
|
/*
|
|
* If false, creating an account with an email that is already used for another account will trigger an error
|
|
*/
|
|
define('ALLOW_SAME_EMAILS_ON_MULTILPLE_ACCOUNTS', True);
|
|
|
|
/*
|
|
* If true, when an account creation request is received for an existing number, assumes recover procedure
|
|
*/
|
|
define('RECOVER_ACCOUNT_IF_EXISTS', False);
|
|
|
|
?> |