Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

спросил 2015-09-28 09:37:52 +0400

Zan Gravatar Zan

Не заходит в админку Freepbx

Здравствуйте, проблема странная. в общем произошло не понятно с чего. настройки freepbx сбросились на то, что были месяца 3 назад. попытался зайти в веб админку, в ответ получил что пароль или логин не верен. зашел в файл amportal изменил. опять не пускает.

в логах freepbx 2 ошибки

PHP-WARNING (usr/share/nginx/html/admin/librories/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (connection refused) CRITICAL (/admin/bootscrap.php:122) - connection attempt to AMI Failed

Telnet localhost 5038 открывает нормально

Не заходит в админку Freepbx

Здравствуйте, проблема странная. в общем произошло не понятно с чего. настройки freepbx сбросились на то, что были месяца 3 назад. попытался зайти в веб админку, в ответ получил что пароль или логин не верен. зашел в файл amportal изменил. опять не пускает.

в логах freepbx 2 ошибки

PHP-WARNING (usr/share/nginx/html/admin/librories/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (connection refused) CRITICAL (/admin/bootscrap.php:122) - connection attempt to AMI Failed

Telnet localhost 5038 открывает нормально

amportal.conf

#;-------------------------------------------------------------------------------- #; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to #; this file must be done via the Web GUI. There are alternative files to make #; custom modifications, details at: http://freepbx.org/configuration_files #;--------------------------------------------------------------------------------

#;-------------------------------------------------------------------------------- #; All settings can be set from the Advanced Settings page accessible in FreePBX #;--------------------------------------------------------------------------------

#

--- CATEGORY: Advanced Settings Details ---

#

Display Friendly Name

Default Value: TRUE

ASDISPLAYFRIENDLY_NAME=TRUE

Display Readonly Settings

Default Value: FALSE

ASDISPLAYREADONLY_SETTINGS=FALSE

Override Readonly Settings

Default Value: FALSE

ASOVERRIDEREADONLY=FALSE

#

--- CATEGORY: Asterisk Builtin mini-HTTP server ---

#

Enable Static Content

Default Value: FALSE

HTTPENABLESTATIC=FALSE

Enable the mini-HTTP Server

Default Value: FALSE

HTTPENABLED=FALSE

HTTP Bind Address

Default Value: 0.0.0.0

HTTPBINDADDRESS=127.0.0.1

HTTP Bind Port

Default Value: 8088

HTTPBINDPORT=8088

HTTP Prefix

Default Value:.

HTTPPREFIX=

#

--- CATEGORY: Asterisk Manager ---

#

Asterisk Manager Host

Default Value: localhost

ASTMANAGERHOST=localhost

Asterisk Manager Password

Default Value: amp111

AMPMGRPASS=amp111

Asterisk Manager Port

Default Value: 5038

ASTMANAGERPORT=5038

Asterisk Manager Proxy Port

Default Value:.

ASTMANAGERPROXYPORT=

Asterisk Manager User

Default Value: admin

AMPMGRUSER=admin

Asterisk Manager Write Timeout

Default Value: 5000

ASTMGRWRITETIMEOUT=5000

#

--- CATEGORY: CDR Report Module ---

#

Enable CEL Reporting

Default Value: FALSE

CEL_ENABLED=TRUE

#

--- CATEGORY: Developer and Customization ---

#

Always Download Web Assets

Default Value: FALSE

FORCEJSCSSIMGDOWNLOAD=FALSE

AMPLOCALBIN Dir for retrieve_conf

Default Value:.

POST_RELOAD=

PRE_RELOAD Script

Default Value:.

PRE_RELOAD=

Provide Verbose Tracebacks

Default Value: FALSE

DIEFREEPBXVERBOSE=FALSE

Use Packaged Javascript Library.

Default Value: TRUE

USEPACKAGEDJS=TRUE

Post Call Recording Script

Default Value:.

MIXMON_POST=

#

--- CATEGORY: Device Settings ---

#

Show all Device Setting on Add

Default Value: FALSE

ALWAYSSHOWDEVICE_DETAILS=FALSE

Require Strong Secrets

Default Value: TRUE

DEVICESTRONGSECRETS=TRUE

Remove mailbox Setting when no Voicemail

Default Value: FALSE

DEVICEREMOVEMAILBOX=FALSE

SIP canrenivite (directmedia)

Default Value: no

DEVICESIPCANREINVITE=no

SIP trustrpid

Default Value: yes

DEVICESIPTRUSTRPID=yes

SIP sendrpid

Default Value: no

DEVICESIPSENDRPID=no

SIP nat

Default Value: no

DEVICESIPNAT=no

SIP encryption

Default Value: no

DEVICESIPENCRYPTION=no

SIP qualifyfreq

Default Value: 60

DEVICESIPQUALIFYFREQ=60

SIP and IAX qualify

Default Value: yes

DEVICE_QUALIFY=yes

SIP and IAX allow

Default Value:.

DEVICE_ALLOW=

SIP and IAX disallow

Default Value:.

DEVICE_DISALLOW=

SIP and DAHDi callgroup

Default Value:.

DEVICE_CALLGROUP=

SIP and DAHDi pickupgroup

Default Value:.

DEVICE_PICKUPGROUP=

#

--- CATEGORY: Dialplan and Operational ---

#

Block CNAM on External Trunks

Default Value: FALSE

BLOCKOUTBOUNDTRUNK_CNAM=FALSE

Call Forward Ringtimer Default

Default Value: 0

CFRINGTIMERDEFAULT=0

Call Recording Policy

Default Value: caller

REC_POLICY=caller

Conference Room App

Default Value: app_meetme

ASTCONFAPP=app_confbridge

Convert ZAP Settings to DAHDi

Default Value: FALSE

ZAP2DAHDICOMPAT=TRUE

CW Enabled by Default

Default Value: TRUE

ENABLECW=TRUE

Disable -custom Context Includes

Default Value: FALSE

DISABLECUSTOMCONTEXTS=FALSE

Ditech VQA Inbound Setting

Default Value: 7

DITECHVQAINBOUND=7

Ditech VQA Outbound Setting

Default Value: 7

DITECHVQAOUTBOUND=7

Dynamically Generate Hints

Default Value: FALSE

DYNAMICHINTS=FALSE

Enable Custom Device States

Default Value: TRUE

USEDEVSTATE=TRUE

Extension Concurrency Limit

Default Value: 0

CONCURRENCYLIMITDEFAULT=0

Feature Codes Beep Only

Default Value: FALSE

FCBEEPONLY=FALSE

Force All Internal Auto Answer

Default Value: FALSE

FORCEINTERNALAUTOANSWERALL=FALSE

Generate Diversion Headers

Default Value: FALSE

DIVERSIONHEADER=FALSE

Internal Auto Answer Default

Default Value: disabled

DEFAULTINTERNALAUTO_ANSWER=disabled

NoOp Traces in Dialplan

Default Value: 0

NOOPTRACE=0

Occupied Lines CW Busy

Default Value: TRUE

CWINUSEBUSY=TRUE

Only Use Last CID Prepend

Default Value: TRUE

CIDPREPENDREPLACE=TRUE

Polling Interval for Stopping Asterisk

Default Value: 2

ASTSTOPPOLLINT=2

Trunk Dial Timeout

Default Value: 300

TRUNKRINGTIMER=300

Use bad-number Context

Default Value: TRUE

AMPBADNUMBER=TRUE

Use Google DNS for Enum

Default Value: FALSE

USEGOOGLEDNSFORENUM=FALSE

Waiting Period to Stop Asterisk

Default Value: 120

ASTSTOPTIMEOUT=120

Asterisk Dial Options

Default Value: Ttr

DIAL_OPTIONS=Ttr

Asterisk Outbound Trunk Dial Options

Default Value: Tt

TRUNK_OPTIONS=Tt

Country Indication Tones

Default Value: us

TONEZONE=us

Display CallerID on Calling Phone

Default Value: TRUE

OUTBOUNDCIDUPDATE=TRUE

Display Dialed Number on Calling Phone

Default Value: TRUE

OUTBOUNDDIALUPDATE=TRUE

Display Presence State of Callee

Default Value: TRUE

CONNECTEDLINE_PRESENCESTATE=TRUE

Ringtime Default

Default Value: 15

RINGTIMER=40

Speaking Clock Time Format

Default Value: 12 Hour Format

TIMEFORMAT=24\ Hour\ Format

#

--- CATEGORY: Directory Layout ---

#

Asterisk AGI Dir

Default Value: /var/lib/asterisk/agi-bin

ASTAGIDIR=/var/lib/asterisk/agi-bin

Asterisk bin Dir

Default Value: /var/lib/asterisk

ASTVARLIBDIR=/var/lib/asterisk

Asterisk etc Dir

Default Value: /etc/asterisk

ASTETCDIR=/etc/asterisk

Asterisk Log Dir

Default Value: /var/log/asterisk

ASTLOGDIR=/var/log/asterisk

Asterisk Modules Dir

Default Value: /usr/lib/asterisk/modules

ASTMODDIR=/usr/lib/asterisk/modules

Asterisk Run Dir

Default Value: /var/run/asterisk

ASTRUNDIR=/var/run/asterisk

Asterisk Spool Dir

Default Value: /var/spool/asterisk

ASTSPOOLDIR=/var/spool/asterisk

CGI Dir

Default Value: /var/www/cgi-bin.

AMPCGIBIN=/var/www/cgi-bin.

FreePBX bin Dir

Default Value: /var/lib/asterisk/bin

AMPBIN=/var/lib/asterisk/bin

FreePBX bin Dir

Default Value: /var/lib/asterisk/bin

AMPBIN=/var/lib/asterisk/bin

FreePBX sbin Dir

Default Value: /usr/sbin

AMPSBIN=/usr/sbin

FreePBX Web Root Dir

Default Value: /var/www/html

AMPWEBROOT=/usr/share/nginx/html

MoH Subdirectory

Default Value: moh

MOHDIR=moh

Override Call Recording Location

Default Value:.

MIXMON_DIR=

#

--- CATEGORY: Flash Operator Panel ---

#

FOP Web Root Dir

Default Value:.

FOPWEBROOT=

#

--- CATEGORY: Follow Me Module ---

#

Create Follow Me at Extension Creation Time

Default Value: FALSE

FOLLOWMEAUTOCREATE=FALSE

Disable Follow Me Upon Creation

Default Value: TRUE

FOLLOWME_DISABLED=TRUE

Default Follow Me Ring Time

Default Value: 20

FOLLOWME_TIME=20

Default Follow Me Initial Ring Time

Default Value: 7

FOLLOWME_PRERING=7

Default Follow Me Ring Strategy

Default Value: ringallv2-prim

FOLLOWMERGSTRATEGY=ringallv2-prim

#

--- CATEGORY: GUI Behavior ---

#

Abort Config Gen on Bad Dest

Default Value: FALSE

BADDESTABORT=FALSE

Abort Config Gen on Exten Conflict

Default Value: FALSE

XTNCONFLICTABORT=FALSE

Check Server Referrer

Default Value: TRUE

CHECKREFERER=FALSE

Include Server Name in Browser

Default Value: FALSE

SERVERINTITLE=FALSE

Report Unknown Dest as Error

Default Value: TRUE

CUSTOMASERROR=TRUE

Require Confirm with Apply Changes

Default Value: TRUE

RELOADCONFIRM=TRUE

Show Language setting

Default Value: FALSE

SHOWLANGUAGE=TRUE

Use freepbx_menu.conf Configuration

Default Value: FALSE

USEFREEPBXMENU_CONF=FALSE

Use wget For Module Admin

Default Value: FALSE

MODULEADMINWGET=FALSE

Dashboard Info Update Frequency

Default Value: 30

DASHBOARDINFOUPDATE_TIME=30

Dashboard Max Calls Initial Scale

Default Value:.

MAXCALLS=

Dashboard Stats Update Frequency

Default Value: 6

DASHBOARDSTATSUPDATE_TIME=6

#

--- CATEGORY: Queues Module ---

#

Persistent Members

Default Value: TRUE

QUEUES_PESISTENTMEMBERS=TRUE

Honor Wrapup Time Across Queues

Default Value: TRUE

QUEUESSHAREDLASTCALL=TRUE

Set Agent Name in CDR dstchannel

Default Value: FALSE

QUEUES_UPDATECDR=FALSE

Use MixMonitor for Recordings

Default Value: TRUE

QUEUESMIXMONITOR=TRUE

Hide Queue No Answer Option

Default Value: TRUE

QUEUESHIDENOANSWER=TRUE

Asterisk Queues Patch 15168 Installed

Default Value: FALSE

USEQUEUESTATE=FALSE

Agent Called Events Default

Default Value: FALSE

QUEUESEVENTSWHENCALLEDDEFAULT=FALSE

Generate queuenum/* Login/off Codes

Default Value: TRUE

GENERATELEGACYQUEUE_CODES=TRUE

Memeber Status Event Default

Default Value: FALSE

QUEUESEVENTSMEMEBERSTATUSDEFAULT=FALSE

#

--- CATEGORY: Remote CDR Database ---

#

Remote CDR DB Host

Default Value:.

CDRDBHOST=

Remote CDR DB Name

Default Value:.

CDRDBNAME=

Remote CDR DB Password

Default Value:.

CDRDBPASS=

Remote CDR DB Port

Default Value:.

CDRDBPORT=

Remote CDR DB Table

Default Value:.

CDRDBTABLENAME=

Remote CDR DB Type

Default Value:.

CDRDBTYPE=

Remote CDR DB User

Default Value:.

CDRDBUSER=

#

--- CATEGORY: Ring Group Module ---

#

Display Extension Ring Group Members

Default Value: FALSE

EXTENSIONLISTRINGGROUPS=FALSE

#

--- CATEGORY: Styling and Logos ---

#

Image: Left Upper

Default Value: images/tango.png

BRANDIMAGETANGO_LEFT=images/tango.png

Image: Footer

Default Value: images/freepbx_small.png

BRANDIMAGEFREEPBXFOOT=images/freepbxsmall.png

Image: Footer

Default Value: images/schmooze-logo.png

BRANDIMAGESPONSOR_FOOT=images/schmooze-logo.png

Alt for Left Logo

Default Value: FreePBX

BRANDFREEPBXALT_LEFT=FreePBX

Alt for Footer Logo

Default Value: FreePBX®

BRANDFREEPBXALT_FOOT=FreePBX®

Alt for Footer Logo

Default Value: www.schmoozecom.com

BRANDSPONSORALT_FOOT=www.schmoozecom.com

Link for Left Logo

Default Value: http://www.freepbx.org

BRANDIMAGEFREEPBXLINKLEFT=http://www.freepbx.org

Link for Footer Logo

Default Value: http://www.freepbx.org

BRANDIMAGEFREEPBXLINKFOOT=http://www.freepbx.org

Link for Sponsor Footer Logo

Default Value: http://www.schmoozecom.com

BRANDIMAGESPONSORLINKFOOT=http://www.schmoozecom.com

Primary CSS Stylesheet

Default Value:.

BRANDCSSALT_MAINSTYLE=

Primary CSS Popover Stylesheet Addtion

Default Value:.

BRANDCSSALT_POPOVER=

Optional Additional CSS Stylesheet

Default Value:.

BRANDCSSCUSTOM=

#

--- CATEGORY: System Apps ---

#

Path for rm

Default Value: /usr/bin/rm

WHICH_rm=/usr/bin/rm

#

--- CATEGORY: System Setup ---

#

FreePBX Log Routing

Default Value: FILE

AMPSYSLOGLEVEL=FILE

Disable FreePBX Log

Default Value: FALSE

AMPDISABLELOG=FALSE

Log Verbose Messages

Default Value: TRUE

LOGOUTMESSAGES=TRUE

Send Dashboard Notifications to Log

Default Value: TRUE

LOG_NOTIFICATIONS=TRUE

FreePBX Log File

Default Value: /var/log/asterisk/freepbx.log

FPBXLOGFILE=/var/log/asterisk/freepbx.log

PHP Error Log Output

Default Value: freepbxlog

PHPERRORHANDLER_OUTPUT=freepbxlog

Aggresively Check for Duplicate Extensions

Default Value: FALSE

AGGRESSIVEDUPLICATECHECK=FALSE

User & Devices Mode

Default Value: extensions

AMPEXTENSIONS=extensions

Authorization Type

Default Value: database

AUTHTYPE=database

Allow Login With DB Credentials

Default Value: FALSE

AMPACCESSDB_CREDS=FALSE

User Portal Admin Username

Default Value:.

ARIADMINUSERNAME=admin

User Portal Admin Password

Default Value: ari_password

ARIADMINPASSWORD=adminnn

Asterisk VMU Mask

Default Value: 007

AMPVMUMASK=007

Browser Stats

Default Value: TRUE

BROWSER_STATS=TRUE

Force Asterisk Version

Default Value:.

FORCED_ASTVERSION=

FreePBX Web Address

Default Value:.

AMPWEBADDRESS=

System Asterisk Group

Default Value: asterisk

AMPASTERISKGROUP=asterisk

System Asterisk User

Default Value: asterisk

AMPASTERISKUSER=asterisk

System Device Group

Default Value: asterisk

AMPDEVGROUP=asterisk

System Device User

Default Value: asterisk

AMPDEVUSER=asterisk

System Web Group

Default Value: asterisk

AMPASTERISKWEBGROUP=asterisk

System Web User

Default Value: asterisk

AMPASTERISKWEBUSER=asterisk

Telephony Engine

Default Value: asterisk

AMPENGINE=asterisk

Update Notifications

Default Value: TRUE

CRONMANUPDATESCHECK=TRUE

Use Google Distribution Network for js Downloads

Default Value: FALSE

USEGOOGLECDN_JS=FALSE

Call Recording Format

Default Value: wav

MIXMON_FORMAT=wav

Convert Music Files to WAV

Default Value: TRUE

AMPMPG123=TRUE

Dashboard Non-Std SSH Port

Default Value:.

SSHPORT=

Recordings Crypt Key

Default Value:.

AMPPLAYKEY=

#

--- CATEGORY: Time Condition Module ---

#

Enable Maintenance Polling

Default Value: TRUE

TCMAINT=TRUE

Maintenance Polling Interval

Default Value: 60

TCINTERVAL=60

#

--- CATEGORY: VmX Locater ---

#

VMX Default Context

Default Value: from-internal

VMX_CONTEXT=from-internal

VMX Default Loop Exceed Context

Default Value:.

VMXLOOPDESTCONTEXT=

VMX Default Loop Exceed Extension

Default Value: dovm

VMXLOOPDESTEXT=dovm

VMX Default Loop Exceed Priority

Default Value: 1

VMXLOOPDESTPRI=1

VMX Default Priority

Default Value: 1

VMX_PRI=1

VMX Default Timeout Extension

Default Value: dovm

VMXTIMEDESTEXT=dovm

VMX Default Timeout Priority

Default Value: 1

VMXTIMEDESTPRI=1

#

--- CATEGORY: Voicemail Module ---

#

Create Voicemail Hints

Default Value: FALSE

USERESMWIBLF=FALSE

Provide IMAP Voicemail Fields

Default Value: FALSE

VMSHOWIMAP=FALSE

#

--- CATEGORY: Bootstrapped or Legacy Settings ---

#

# AMPDBUSER=asteriskuser

# AMPDBPASS=adminnn

# AMPDBHOST=localhost

# AMPDBNAME=asterisk

# AMPDBENGINE=mysql

# datasource=

# AMPENABLEDEVELDEBUG=

# DAYNIGHTTCHOOK=

Не заходит в админку Freepbx

Здравствуйте, проблема странная. в общем произошло не понятно с чего. настройки freepbx сбросились на то, что были месяца 3 назад. попытался зайти в веб админку, в ответ получил что пароль или логин не верен. зашел в файл amportal изменил. опять не пускает.

в логах freepbx 2 ошибки

PHP-WARNING (usr/share/nginx/html/admin/librories/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (connection refused) CRITICAL (/admin/bootscrap.php:122) - connection attempt to AMI Failed

Telnet localhost 5038 открывает нормально

amportal.conf

#;-------------------------------------------------------------------------------- #; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to #; this file must be done via the Web GUI. There are alternative files to make #; custom modifications, details at: http://freepbx.org/configuration_files #;--------------------------------------------------------------------------------

#;-------------------------------------------------------------------------------- #; All settings can be set from the Advanced Settings page accessible in FreePBX #;--------------------------------------------------------------------------------

#

--- CATEGORY: Advanced Settings Details ---

#

Display Friendly Name

Default Value: TRUE

ASDISPLAYFRIENDLY_NAME=TRUE

Display Readonly Settings

Default Value: FALSE

ASDISPLAYREADONLY_SETTINGS=FALSE

Override Readonly Settings

Default Value: FALSE

ASOVERRIDEREADONLY=FALSE

#

--- CATEGORY: Asterisk Builtin mini-HTTP server ---

#

Enable Static Content

Default Value: FALSE

HTTPENABLESTATIC=FALSE

Enable the mini-HTTP Server

Default Value: FALSE

HTTPENABLED=FALSE

HTTP Bind Address

Default Value: 0.0.0.0

HTTPBINDADDRESS=127.0.0.1

HTTP Bind Port

Default Value: 8088

HTTPBINDPORT=8088

HTTP Prefix

Default Value:.

HTTPPREFIX=

#

--- CATEGORY: Asterisk Manager ---

#

Asterisk Manager Host

Default Value: localhost

ASTMANAGERHOST=localhost

Asterisk Manager Password

Default Value: amp111

AMPMGRPASS=amp111

Asterisk Manager Port

Default Value: 5038

ASTMANAGERPORT=5038

Asterisk Manager Proxy Port

Default Value:.

ASTMANAGERPROXYPORT=

Asterisk Manager User

Default Value: admin

AMPMGRUSER=admin

Asterisk Manager Write Timeout

Default Value: 5000

ASTMGRWRITETIMEOUT=5000

#

--- CATEGORY: CDR Report Module ---

#

Enable CEL Reporting

Default Value: FALSE

CEL_ENABLED=TRUE

#

--- CATEGORY: Developer and Customization ---

#

Always Download Web Assets

Default Value: FALSE

FORCEJSCSSIMGDOWNLOAD=FALSE

AMPLOCALBIN Dir for retrieve_conf

Default Value:.

POST_RELOAD=

PRE_RELOAD Script

Default Value:.

PRE_RELOAD=

Provide Verbose Tracebacks

Default Value: FALSE

DIEFREEPBXVERBOSE=FALSE

Use Packaged Javascript Library.

Default Value: TRUE

USEPACKAGEDJS=TRUE

Post Call Recording Script

Default Value:.

MIXMON_POST=

#

--- CATEGORY: Device Settings ---

#

Show all Device Setting on Add

Default Value: FALSE

ALWAYSSHOWDEVICE_DETAILS=FALSE

Require Strong Secrets

Default Value: TRUE

DEVICESTRONGSECRETS=TRUE

Remove mailbox Setting when no Voicemail

Default Value: FALSE

DEVICEREMOVEMAILBOX=FALSE

SIP canrenivite (directmedia)

Default Value: no

DEVICESIPCANREINVITE=no

SIP trustrpid

Default Value: yes

DEVICESIPTRUSTRPID=yes

SIP sendrpid

Default Value: no

DEVICESIPSENDRPID=no

SIP nat

Default Value: no

DEVICESIPNAT=no

SIP encryption

Default Value: no

DEVICESIPENCRYPTION=no

SIP qualifyfreq

Default Value: 60

DEVICESIPQUALIFYFREQ=60

SIP and IAX qualify

Default Value: yes

DEVICE_QUALIFY=yes

SIP and IAX allow

Default Value:.

DEVICE_ALLOW=

SIP and IAX disallow

Default Value:.

DEVICE_DISALLOW=

SIP and DAHDi callgroup

Default Value:.

DEVICE_CALLGROUP=

SIP and DAHDi pickupgroup

Default Value:.

DEVICE_PICKUPGROUP=

#

--- CATEGORY: Dialplan and Operational ---

#

Block CNAM on External Trunks

Default Value: FALSE

BLOCKOUTBOUNDTRUNK_CNAM=FALSE

Call Forward Ringtimer Default

Default Value: 0

CFRINGTIMERDEFAULT=0

Call Recording Policy

Default Value: caller

REC_POLICY=caller

Conference Room App

Default Value: app_meetme

ASTCONFAPP=app_confbridge

Convert ZAP Settings to DAHDi

Default Value: FALSE

ZAP2DAHDICOMPAT=TRUE

CW Enabled by Default

Default Value: TRUE

ENABLECW=TRUE

Disable -custom Context Includes

Default Value: FALSE

DISABLECUSTOMCONTEXTS=FALSE

Ditech VQA Inbound Setting

Default Value: 7

DITECHVQAINBOUND=7

Ditech VQA Outbound Setting

Default Value: 7

DITECHVQAOUTBOUND=7

Dynamically Generate Hints

Default Value: FALSE

DYNAMICHINTS=FALSE

Enable Custom Device States

Default Value: TRUE

USEDEVSTATE=TRUE

Extension Concurrency Limit

Default Value: 0

CONCURRENCYLIMITDEFAULT=0

Feature Codes Beep Only

Default Value: FALSE

FCBEEPONLY=FALSE

Force All Internal Auto Answer

Default Value: FALSE

FORCEINTERNALAUTOANSWERALL=FALSE

Generate Diversion Headers

Default Value: FALSE

DIVERSIONHEADER=FALSE

Internal Auto Answer Default

Default Value: disabled

DEFAULTINTERNALAUTO_ANSWER=disabled

NoOp Traces in Dialplan

Default Value: 0

NOOPTRACE=0

Occupied Lines CW Busy

Default Value: TRUE

CWINUSEBUSY=TRUE

Only Use Last CID Prepend

Default Value: TRUE

CIDPREPENDREPLACE=TRUE

Polling Interval for Stopping Asterisk

Default Value: 2

ASTSTOPPOLLINT=2

Trunk Dial Timeout

Default Value: 300

TRUNKRINGTIMER=300

Use bad-number Context

Default Value: TRUE

AMPBADNUMBER=TRUE

Use Google DNS for Enum

Default Value: FALSE

USEGOOGLEDNSFORENUM=FALSE

Waiting Period to Stop Asterisk

Default Value: 120

ASTSTOPTIMEOUT=120

Asterisk Dial Options

Default Value: Ttr

DIAL_OPTIONS=Ttr

Asterisk Outbound Trunk Dial Options

Default Value: Tt

TRUNK_OPTIONS=Tt

Country Indication Tones

Default Value: us

TONEZONE=us

Display CallerID on Calling Phone

Default Value: TRUE

OUTBOUNDCIDUPDATE=TRUE

Display Dialed Number on Calling Phone

Default Value: TRUE

OUTBOUNDDIALUPDATE=TRUE

Display Presence State of Callee

Default Value: TRUE

CONNECTEDLINE_PRESENCESTATE=TRUE

Ringtime Default

Default Value: 15

RINGTIMER=40

Speaking Clock Time Format

Default Value: 12 Hour Format

TIMEFORMAT=24\ Hour\ Format

#

--- CATEGORY: Directory Layout ---

#

Asterisk AGI Dir

Default Value: /var/lib/asterisk/agi-bin

ASTAGIDIR=/var/lib/asterisk/agi-bin

Asterisk bin Dir

Default Value: /var/lib/asterisk

ASTVARLIBDIR=/var/lib/asterisk

Asterisk etc Dir

Default Value: /etc/asterisk

ASTETCDIR=/etc/asterisk

Asterisk Log Dir

Default Value: /var/log/asterisk

ASTLOGDIR=/var/log/asterisk

Asterisk Modules Dir

Default Value: /usr/lib/asterisk/modules

ASTMODDIR=/usr/lib/asterisk/modules

Asterisk Run Dir

Default Value: /var/run/asterisk

ASTRUNDIR=/var/run/asterisk

Asterisk Spool Dir

Default Value: /var/spool/asterisk

ASTSPOOLDIR=/var/spool/asterisk

CGI Dir

Default Value: /var/www/cgi-bin.

AMPCGIBIN=/var/www/cgi-bin.

FreePBX bin Dir

Default Value: /var/lib/asterisk/bin

AMPBIN=/var/lib/asterisk/bin

FreePBX bin Dir

Default Value: /var/lib/asterisk/bin

AMPBIN=/var/lib/asterisk/bin

FreePBX sbin Dir

Default Value: /usr/sbin

AMPSBIN=/usr/sbin

FreePBX Web Root Dir

Default Value: /var/www/html

AMPWEBROOT=/usr/share/nginx/html

MoH Subdirectory

Default Value: moh

MOHDIR=moh

Override Call Recording Location

Default Value:.

MIXMON_DIR=

#

--- CATEGORY: Flash Operator Panel ---

#

FOP Web Root Dir

Default Value:.

FOPWEBROOT=

#

--- CATEGORY: Follow Me Module ---

#

Create Follow Me at Extension Creation Time

Default Value: FALSE

FOLLOWMEAUTOCREATE=FALSE

Disable Follow Me Upon Creation

Default Value: TRUE

FOLLOWME_DISABLED=TRUE

Default Follow Me Ring Time

Default Value: 20

FOLLOWME_TIME=20

Default Follow Me Initial Ring Time

Default Value: 7

FOLLOWME_PRERING=7

Default Follow Me Ring Strategy

Default Value: ringallv2-prim

FOLLOWMERGSTRATEGY=ringallv2-prim

#

--- CATEGORY: GUI Behavior ---

#

Abort Config Gen on Bad Dest

Default Value: FALSE

BADDESTABORT=FALSE

Abort Config Gen on Exten Conflict

Default Value: FALSE

XTNCONFLICTABORT=FALSE

Check Server Referrer

Default Value: TRUE

CHECKREFERER=FALSE

Include Server Name in Browser

Default Value: FALSE

SERVERINTITLE=FALSE

Report Unknown Dest as Error

Default Value: TRUE

CUSTOMASERROR=TRUE

Require Confirm with Apply Changes

Default Value: TRUE

RELOADCONFIRM=TRUE

Show Language setting

Default Value: FALSE

SHOWLANGUAGE=TRUE

Use freepbx_menu.conf Configuration

Default Value: FALSE

USEFREEPBXMENU_CONF=FALSE

Use wget For Module Admin

Default Value: FALSE

MODULEADMINWGET=FALSE

Dashboard Info Update Frequency

Default Value: 30

DASHBOARDINFOUPDATE_TIME=30

Dashboard Max Calls Initial Scale

Default Value:.

MAXCALLS=

Dashboard Stats Update Frequency

Default Value: 6

DASHBOARDSTATSUPDATE_TIME=6

#

--- CATEGORY: Queues Module ---

#

Persistent Members

Default Value: TRUE

QUEUES_PESISTENTMEMBERS=TRUE

Honor Wrapup Time Across Queues

Default Value: TRUE

QUEUESSHAREDLASTCALL=TRUE

Set Agent Name in CDR dstchannel

Default Value: FALSE

QUEUES_UPDATECDR=FALSE

Use MixMonitor for Recordings

Default Value: TRUE

QUEUESMIXMONITOR=TRUE

Hide Queue No Answer Option

Default Value: TRUE

QUEUESHIDENOANSWER=TRUE

Asterisk Queues Patch 15168 Installed

Default Value: FALSE

USEQUEUESTATE=FALSE

Agent Called Events Default

Default Value: FALSE

QUEUESEVENTSWHENCALLEDDEFAULT=FALSE

Generate queuenum/* Login/off Codes

Default Value: TRUE

GENERATELEGACYQUEUE_CODES=TRUE

Memeber Status Event Default

Default Value: FALSE

QUEUESEVENTSMEMEBERSTATUSDEFAULT=FALSE

#

--- CATEGORY: Remote CDR Database ---

#

Remote CDR DB Host

Default Value:.

CDRDBHOST=

Remote CDR DB Name

Default Value:.

CDRDBNAME=

Remote CDR DB Password

Default Value:.

CDRDBPASS=

Remote CDR DB Port

Default Value:.

CDRDBPORT=

Remote CDR DB Table

Default Value:.

CDRDBTABLENAME=

Remote CDR DB Type

Default Value:.

CDRDBTYPE=

Remote CDR DB User

Default Value:.

CDRDBUSER=

#

--- CATEGORY: Ring Group Module ---

#

Display Extension Ring Group Members

Default Value: FALSE

EXTENSIONLISTRINGGROUPS=FALSE

#

--- CATEGORY: Styling and Logos ---

#

Image: Left Upper

Default Value: images/tango.png

BRANDIMAGETANGO_LEFT=images/tango.png

Image: Footer

Default Value: images/freepbx_small.png

BRANDIMAGEFREEPBXFOOT=images/freepbxsmall.png

Image: Footer

Default Value: images/schmooze-logo.png

BRANDIMAGESPONSOR_FOOT=images/schmooze-logo.png

Alt for Left Logo

Default Value: FreePBX

BRANDFREEPBXALT_LEFT=FreePBX

Alt for Footer Logo

Default Value: FreePBX®

BRANDFREEPBXALT_FOOT=FreePBX®

Alt for Footer Logo

Default Value: www.schmoozecom.com

BRANDSPONSORALT_FOOT=www.schmoozecom.com

Link for Left Logo

Default Value: http://www.freepbx.org

BRANDIMAGEFREEPBXLINKLEFT=http://www.freepbx.org

Link for Footer Logo

Default Value: http://www.freepbx.org

BRANDIMAGEFREEPBXLINKFOOT=http://www.freepbx.org

Link for Sponsor Footer Logo

Default Value: http://www.schmoozecom.com

BRANDIMAGESPONSORLINKFOOT=http://www.schmoozecom.com

Primary CSS Stylesheet

Default Value:.

BRANDCSSALT_MAINSTYLE=

Primary CSS Popover Stylesheet Addtion

Default Value:.

BRANDCSSALT_POPOVER=

Optional Additional CSS Stylesheet

Default Value:.

BRANDCSSCUSTOM=

#

--- CATEGORY: System Apps ---

#

Path for rm

Default Value: /usr/bin/rm

WHICH_rm=/usr/bin/rm

#

--- CATEGORY: System Setup ---

#

FreePBX Log Routing

Default Value: FILE

AMPSYSLOGLEVEL=FILE

Disable FreePBX Log

Default Value: FALSE

AMPDISABLELOG=FALSE

Log Verbose Messages

Default Value: TRUE

LOGOUTMESSAGES=TRUE

Send Dashboard Notifications to Log

Default Value: TRUE

LOG_NOTIFICATIONS=TRUE

FreePBX Log File

Default Value: /var/log/asterisk/freepbx.log

FPBXLOGFILE=/var/log/asterisk/freepbx.log

PHP Error Log Output

Default Value: freepbxlog

PHPERRORHANDLER_OUTPUT=freepbxlog

Aggresively Check for Duplicate Extensions

Default Value: FALSE

AGGRESSIVEDUPLICATECHECK=FALSE

User & Devices Mode

Default Value: extensions

AMPEXTENSIONS=extensions

Authorization Type

Default Value: database

AUTHTYPE=database

Allow Login With DB Credentials

Default Value: FALSE

AMPACCESSDB_CREDS=FALSE

User Portal Admin Username

Default Value:.

ARIADMINUSERNAME=admin

User Portal Admin Password

Default Value: ari_password

ARIADMINPASSWORD=adminnn

Asterisk VMU Mask

Default Value: 007

AMPVMUMASK=007

Browser Stats

Default Value: TRUE

BROWSER_STATS=TRUE

Force Asterisk Version

Default Value:.

FORCED_ASTVERSION=

FreePBX Web Address

Default Value:.

AMPWEBADDRESS=

System Asterisk Group

Default Value: asterisk

AMPASTERISKGROUP=asterisk

System Asterisk User

Default Value: asterisk

AMPASTERISKUSER=asterisk

System Device Group

Default Value: asterisk

AMPDEVGROUP=asterisk

System Device User

Default Value: asterisk

AMPDEVUSER=asterisk

System Web Group

Default Value: asterisk

AMPASTERISKWEBGROUP=asterisk

System Web User

Default Value: asterisk

AMPASTERISKWEBUSER=asterisk

Telephony Engine

Default Value: asterisk

AMPENGINE=asterisk

Update Notifications

Default Value: TRUE

CRONMANUPDATESCHECK=TRUE

Use Google Distribution Network for js Downloads

Default Value: FALSE

USEGOOGLECDN_JS=FALSE

Call Recording Format

Default Value: wav

MIXMON_FORMAT=wav

Convert Music Files to WAV

Default Value: TRUE

AMPMPG123=TRUE

Dashboard Non-Std SSH Port

Default Value:.

SSHPORT=

Recordings Crypt Key

Default Value:.

AMPPLAYKEY=

#

--- CATEGORY: Time Condition Module ---

#

Enable Maintenance Polling

Default Value: TRUE

TCMAINT=TRUE

Maintenance Polling Interval

Default Value: 60

TCINTERVAL=60

#

--- CATEGORY: VmX Locater ---

#

VMX Default Context

Default Value: from-internal

VMX_CONTEXT=from-internal

VMX Default Loop Exceed Context

Default Value:.

VMXLOOPDESTCONTEXT=

VMX Default Loop Exceed Extension

Default Value: dovm

VMXLOOPDESTEXT=dovm

VMX Default Loop Exceed Priority

Default Value: 1

VMXLOOPDESTPRI=1

VMX Default Priority

Default Value: 1

VMX_PRI=1

VMX Default Timeout Extension

Default Value: dovm

VMXTIMEDESTEXT=dovm

VMX Default Timeout Priority

Default Value: 1

VMXTIMEDESTPRI=1

#

--- CATEGORY: Voicemail Module ---

#

Create Voicemail Hints

Default Value: FALSE

USERESMWIBLF=FALSE

Provide IMAP Voicemail Fields

Default Value: FALSE

VMSHOWIMAP=FALSE

#

--- CATEGORY: Bootstrapped or Legacy Settings ---

#

# AMPDBUSER=asteriskuser

# AMPDBPASS=adminnn

# AMPDBHOST=localhost

# AMPDBNAME=asterisk

# AMPDBENGINE=mysql

# datasource=

# #enter code here AMPENABLEDEVELDEBUG=

# DAYNIGHTTCHOOK=

Не заходит в админку Freepbx

Здравствуйте, проблема странная. в общем произошло не понятно с чего. настройки freepbx сбросились на то, что были месяца 3 назад. попытался зайти в веб админку, в ответ получил что пароль или логин не верен. зашел в файл amportal изменил. опять не пускает.

в логах freepbx 2 ошибки

PHP-WARNING (usr/share/nginx/html/admin/librories/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (connection refused)
CRITICAL (/admin/bootscrap.php:122) - connection attempt to AMI Failed

Failed

Telnet localhost 5038 открывает нормально

amportal.conf

amportal.conf

#;--------------------------------------------------------------------------------
#; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to
#; this file must be done via the Web GUI. There are alternative files to make
#; custom modifications, details at: http://freepbx.org/configuration_files
#;--------------------------------------------------------------------------------

http://freepbx.org/configuration_files #;-------------------------------------------------------------------------------- #;-------------------------------------------------------------------------------- #; All settings can be set from the Advanced Settings page accessible in FreePBX #;--------------------------------------------------------------------------------

#

#;-------------------------------------------------------------------------------- # # --- CATEGORY: Advanced Settings Details ---

#

--- # # Display Friendly Name

Default Value: TRUE

ASDISPLAYFRIENDLY_NAME=TRUE

Name # Default Value: TRUE AS_DISPLAY_FRIENDLY_NAME=TRUE # Display Readonly Settings

Default Value: FALSE

ASDISPLAYREADONLY_SETTINGS=FALSE

Settings # Default Value: FALSE AS_DISPLAY_READONLY_SETTINGS=FALSE # Override Readonly Settings

Default Value: FALSE

ASOVERRIDEREADONLY=FALSE

#

Settings # Default Value: FALSE AS_OVERRIDE_READONLY=FALSE # # --- CATEGORY: Asterisk Builtin mini-HTTP server ---

#

--- # # Enable Static Content

Default Value: FALSE

HTTPENABLESTATIC=FALSE

Content # Default Value: FALSE HTTPENABLESTATIC=FALSE # Enable the mini-HTTP Server

Default Value: FALSE

HTTPENABLED=FALSE

Server # Default Value: FALSE HTTPENABLED=FALSE # HTTP Bind Address

Default Value: 0.0.0.0

HTTPBINDADDRESS=127.0.0.1

Address # Default Value: 0.0.0.0 HTTPBINDADDRESS=127.0.0.1 # HTTP Bind Port

Default Value: 8088

HTTPBINDPORT=8088

Port # Default Value: 8088 HTTPBINDPORT=8088 # HTTP Prefix

Default Value:.

HTTPPREFIX=

#

Prefix # Default Value:. HTTPPREFIX= # # --- CATEGORY: Asterisk Manager ---

#

--- # # Asterisk Manager Host

Default Value: localhost

ASTMANAGERHOST=localhost

Host # Default Value: localhost ASTMANAGERHOST=localhost # Asterisk Manager Password

Default Value: amp111

AMPMGRPASS=amp111

Password # Default Value: amp111 AMPMGRPASS=amp111 # Asterisk Manager Port

Default Value: 5038

ASTMANAGERPORT=5038

Port # Default Value: 5038 ASTMANAGERPORT=5038 # Asterisk Manager Proxy Port

Default Value:.

ASTMANAGERPROXYPORT=

Port # Default Value:. ASTMANAGERPROXYPORT= # Asterisk Manager User

Default Value: admin

AMPMGRUSER=admin

User # Default Value: admin AMPMGRUSER=admin # Asterisk Manager Write Timeout

Default Value: 5000

ASTMGRWRITETIMEOUT=5000

#

Timeout # Default Value: 5000 ASTMGRWRITETIMEOUT=5000 # # --- CATEGORY: CDR Report Module ---

#

--- # # Enable CEL Reporting

Default Value: FALSE

CEL_ENABLED=TRUE

#

Reporting # Default Value: FALSE CEL_ENABLED=TRUE # # --- CATEGORY: Developer and Customization ---

#

--- # # Always Download Web Assets

Default Value: FALSE

FORCEJSCSSIMGDOWNLOAD=FALSE

Assets # Default Value: FALSE FORCE_JS_CSS_IMG_DOWNLOAD=FALSE # AMPLOCALBIN Dir for retrieve_conf

Default Value:.

POST_RELOAD=

retrieve_conf # Default Value:. POST_RELOAD= # PRE_RELOAD Script

Default Value:.

PRE_RELOAD=

Script # Default Value:. PRE_RELOAD= # Provide Verbose Tracebacks

Default Value: FALSE

DIEFREEPBXVERBOSE=FALSE

Tracebacks # Default Value: FALSE DIE_FREEPBX_VERBOSE=FALSE # Use Packaged Javascript Library.

Default Value: TRUE

USEPACKAGEDJS=TRUE

Library. # Default Value: TRUE USE_PACKAGED_JS=TRUE # Post Call Recording Script

Default Value:.

MIXMON_POST=

#

Script # Default Value:. MIXMON_POST= # # --- CATEGORY: Device Settings ---

#

--- # # Show all Device Setting on Add

Default Value: FALSE

ALWAYSSHOWDEVICE_DETAILS=FALSE

Add # Default Value: FALSE ALWAYS_SHOW_DEVICE_DETAILS=FALSE # Require Strong Secrets

Default Value: TRUE

DEVICESTRONGSECRETS=TRUE

Secrets # Default Value: TRUE DEVICE_STRONG_SECRETS=TRUE # Remove mailbox Setting when no Voicemail

Default Value: FALSE

DEVICEREMOVEMAILBOX=FALSE

Voicemail # Default Value: FALSE DEVICE_REMOVE_MAILBOX=FALSE # SIP canrenivite (directmedia)

Default Value: no

DEVICESIPCANREINVITE=no

(directmedia) # Default Value: no DEVICE_SIP_CANREINVITE=no # SIP trustrpid

Default Value: yes

DEVICESIPTRUSTRPID=yes

trustrpid # Default Value: yes DEVICE_SIP_TRUSTRPID=yes # SIP sendrpid

Default Value: no

DEVICESIPSENDRPID=no

sendrpid # Default Value: no DEVICE_SIP_SENDRPID=no # SIP nat

Default Value: no

DEVICESIPNAT=no

nat # Default Value: no DEVICE_SIP_NAT=no # SIP encryption

Default Value: no

DEVICESIPENCRYPTION=no

encryption # Default Value: no DEVICE_SIP_ENCRYPTION=no # SIP qualifyfreq

Default Value: 60

DEVICESIPQUALIFYFREQ=60

qualifyfreq # Default Value: 60 DEVICE_SIP_QUALIFYFREQ=60 # SIP and IAX qualify

Default Value: yes

DEVICE_QUALIFY=yes

qualify # Default Value: yes DEVICE_QUALIFY=yes # SIP and IAX allow

Default Value:.

DEVICE_ALLOW=

allow # Default Value:. DEVICE_ALLOW= # SIP and IAX disallow

Default Value:.

DEVICE_DISALLOW=

disallow # Default Value:. DEVICE_DISALLOW= # SIP and DAHDi callgroup

Default Value:.

DEVICE_CALLGROUP=

callgroup # Default Value:. DEVICE_CALLGROUP= # SIP and DAHDi pickupgroup

Default Value:.

DEVICE_PICKUPGROUP=

#

pickupgroup # Default Value:. DEVICE_PICKUPGROUP= # # --- CATEGORY: Dialplan and Operational ---

#

--- # # Block CNAM on External Trunks

Default Value: FALSE

BLOCKOUTBOUNDTRUNK_CNAM=FALSE

Trunks # Default Value: FALSE BLOCK_OUTBOUND_TRUNK_CNAM=FALSE # Call Forward Ringtimer Default

Default Value: 0

CFRINGTIMERDEFAULT=0

Default # Default Value: 0 CFRINGTIMERDEFAULT=0 # Call Recording Policy

Default Value: caller

REC_POLICY=caller

Policy # Default Value: caller REC_POLICY=caller # Conference Room App

Default Value: app_meetme

ASTCONFAPP=app_confbridge

App # Default Value: app_meetme ASTCONFAPP=app_confbridge # Convert ZAP Settings to DAHDi

Default Value: FALSE

ZAP2DAHDICOMPAT=TRUE

DAHDi # Default Value: FALSE ZAP2DAHDICOMPAT=TRUE # CW Enabled by Default

Default Value: TRUE

ENABLECW=TRUE

Default # Default Value: TRUE ENABLECW=TRUE # Disable -custom Context Includes

Default Value: FALSE

DISABLECUSTOMCONTEXTS=FALSE

Includes # Default Value: FALSE DISABLECUSTOMCONTEXTS=FALSE # Ditech VQA Inbound Setting

Default Value: 7

DITECHVQAINBOUND=7

Setting # Default Value: 7 DITECH_VQA_INBOUND=7 # Ditech VQA Outbound Setting

Default Value: 7

DITECHVQAOUTBOUND=7

Setting # Default Value: 7 DITECH_VQA_OUTBOUND=7 # Dynamically Generate Hints

Default Value: FALSE

DYNAMICHINTS=FALSE

Hints # Default Value: FALSE DYNAMICHINTS=FALSE # Enable Custom Device States

Default Value: TRUE

USEDEVSTATE=TRUE

States # Default Value: TRUE USEDEVSTATE=TRUE # Extension Concurrency Limit

Default Value: 0

CONCURRENCYLIMITDEFAULT=0

Limit # Default Value: 0 CONCURRENCYLIMITDEFAULT=0 # Feature Codes Beep Only

Default Value: FALSE

FCBEEPONLY=FALSE

Only # Default Value: FALSE FCBEEPONLY=FALSE # Force All Internal Auto Answer

Default Value: FALSE

FORCEINTERNALAUTOANSWERALL=FALSE

Answer # Default Value: FALSE FORCE_INTERNAL_AUTO_ANSWER_ALL=FALSE # Generate Diversion Headers

Default Value: FALSE

DIVERSIONHEADER=FALSE

Headers # Default Value: FALSE DIVERSIONHEADER=FALSE # Internal Auto Answer Default

Default Value: disabled

DEFAULTINTERNALAUTO_ANSWER=disabled

Default # Default Value: disabled DEFAULT_INTERNAL_AUTO_ANSWER=disabled # NoOp Traces in Dialplan

Default Value: 0

NOOPTRACE=0

Dialplan # Default Value: 0 NOOPTRACE=0 # Occupied Lines CW Busy

Default Value: TRUE

CWINUSEBUSY=TRUE

Busy # Default Value: TRUE CWINUSEBUSY=TRUE # Only Use Last CID Prepend

Default Value: TRUE

CIDPREPENDREPLACE=TRUE

Prepend # Default Value: TRUE CID_PREPEND_REPLACE=TRUE # Polling Interval for Stopping Asterisk

Default Value: 2

ASTSTOPPOLLINT=2

Asterisk # Default Value: 2 ASTSTOPPOLLINT=2 # Trunk Dial Timeout

Default Value: 300

TRUNKRINGTIMER=300

Timeout # Default Value: 300 TRUNK_RING_TIMER=300 # Use bad-number Context

Default Value: TRUE

AMPBADNUMBER=TRUE

Context # Default Value: TRUE AMPBADNUMBER=TRUE # Use Google DNS for Enum

Default Value: FALSE

USEGOOGLEDNSFORENUM=FALSE

Enum # Default Value: FALSE USEGOOGLEDNSFORENUM=FALSE # Waiting Period to Stop Asterisk

Default Value: 120

ASTSTOPTIMEOUT=120

Asterisk # Default Value: 120 ASTSTOPTIMEOUT=120 # Asterisk Dial Options

Default Value: Ttr

DIAL_OPTIONS=Ttr

Options # Default Value: Ttr DIAL_OPTIONS=Ttr # Asterisk Outbound Trunk Dial Options

Default Value: Tt

TRUNK_OPTIONS=Tt

Options # Default Value: Tt TRUNK_OPTIONS=Tt # Country Indication Tones

Default Value: us

TONEZONE=us

Tones # Default Value: us TONEZONE=us # Display CallerID on Calling Phone

Default Value: TRUE

OUTBOUNDCIDUPDATE=TRUE

Phone # Default Value: TRUE OUTBOUND_CID_UPDATE=TRUE # Display Dialed Number on Calling Phone

Default Value: TRUE

OUTBOUNDDIALUPDATE=TRUE

Phone # Default Value: TRUE OUTBOUND_DIAL_UPDATE=TRUE # Display Presence State of Callee

Default Value: TRUE

CONNECTEDLINE_PRESENCESTATE=TRUE

Callee # Default Value: TRUE CONNECTEDLINE_PRESENCESTATE=TRUE # Ringtime Default

Default Value: 15

RINGTIMER=40

Default # Default Value: 15 RINGTIMER=40 # Speaking Clock Time Format

Format # Default Value: 12 Hour Format

Format TIMEFORMAT=24\ Hour\ Format

#

Format # # --- CATEGORY: Directory Layout ---

#

--- # # Asterisk AGI Dir

Default Value: /var/lib/asterisk/agi-bin

ASTAGIDIR=/var/lib/asterisk/agi-bin

Dir # Default Value: /var/lib/asterisk/agi-bin ASTAGIDIR=/var/lib/asterisk/agi-bin # Asterisk bin Dir

Default Value: /var/lib/asterisk

ASTVARLIBDIR=/var/lib/asterisk

Dir # Default Value: /var/lib/asterisk ASTVARLIBDIR=/var/lib/asterisk # Asterisk etc Dir

Default Value: /etc/asterisk

ASTETCDIR=/etc/asterisk

Dir # Default Value: /etc/asterisk ASTETCDIR=/etc/asterisk # Asterisk Log Dir

Default Value: /var/log/asterisk

ASTLOGDIR=/var/log/asterisk

Dir # Default Value: /var/log/asterisk ASTLOGDIR=/var/log/asterisk # Asterisk Modules Dir

Default Value: /usr/lib/asterisk/modules

ASTMODDIR=/usr/lib/asterisk/modules

Dir # Default Value: /usr/lib/asterisk/modules ASTMODDIR=/usr/lib/asterisk/modules # Asterisk Run Dir

Default Value: /var/run/asterisk

ASTRUNDIR=/var/run/asterisk

Dir # Default Value: /var/run/asterisk ASTRUNDIR=/var/run/asterisk # Asterisk Spool Dir

Default Value: /var/spool/asterisk

ASTSPOOLDIR=/var/spool/asterisk

Dir # Default Value: /var/spool/asterisk ASTSPOOLDIR=/var/spool/asterisk # CGI Dir

Default Value: /var/www/cgi-bin.

AMPCGIBIN=/var/www/cgi-bin.

Dir # Default Value: /var/www/cgi-bin. AMPCGIBIN=/var/www/cgi-bin\. # FreePBX bin Dir

Default Value: /var/lib/asterisk/bin

AMPBIN=/var/lib/asterisk/bin

Dir # Default Value: /var/lib/asterisk/bin AMPBIN=/var/lib/asterisk/bin # FreePBX bin Dir

Default Value: /var/lib/asterisk/bin

AMPBIN=/var/lib/asterisk/bin

Dir # Default Value: /var/lib/asterisk/bin AMPBIN=/var/lib/asterisk/bin # FreePBX sbin Dir

Default Value: /usr/sbin

AMPSBIN=/usr/sbin

Dir # Default Value: /usr/sbin AMPSBIN=/usr/sbin # FreePBX Web Root Dir

Default Value: /var/www/html

AMPWEBROOT=/usr/share/nginx/html

Dir # Default Value: /var/www/html AMPWEBROOT=/usr/share/nginx/html # MoH Subdirectory

Default Value: moh

MOHDIR=moh

Subdirectory # Default Value: moh MOHDIR=moh # Override Call Recording Location

Default Value:.

MIXMON_DIR=

#

Location # Default Value:. MIXMON_DIR= # # --- CATEGORY: Flash Operator Panel ---

#

--- # # FOP Web Root Dir

Default Value:.

FOPWEBROOT=

#

Dir # Default Value:. FOPWEBROOT= # # --- CATEGORY: Follow Me Module ---

#

--- # # Create Follow Me at Extension Creation Time

Default Value: FALSE

FOLLOWMEAUTOCREATE=FALSE

Time # Default Value: FALSE FOLLOWME_AUTO_CREATE=FALSE # Disable Follow Me Upon Creation

Default Value: TRUE

FOLLOWME_DISABLED=TRUE

Creation # Default Value: TRUE FOLLOWME_DISABLED=TRUE # Default Follow Me Ring Time

Default Value: 20

FOLLOWME_TIME=20

Time # Default Value: 20 FOLLOWME_TIME=20 # Default Follow Me Initial Ring Time

Default Value: 7

FOLLOWME_PRERING=7

Time # Default Value: 7 FOLLOWME_PRERING=7 # Default Follow Me Ring Strategy

Default Value: ringallv2-prim

FOLLOWMERGSTRATEGY=ringallv2-prim

#

Strategy # Default Value: ringallv2-prim FOLLOWME_RG_STRATEGY=ringallv2-prim # # --- CATEGORY: GUI Behavior ---

#

--- # # Abort Config Gen on Bad Dest

Default Value: FALSE

BADDESTABORT=FALSE

Dest # Default Value: FALSE BADDESTABORT=FALSE # Abort Config Gen on Exten Conflict

Default Value: FALSE

XTNCONFLICTABORT=FALSE

Conflict # Default Value: FALSE XTNCONFLICTABORT=FALSE # Check Server Referrer

Default Value: TRUE

CHECKREFERER=FALSE

Referrer # Default Value: TRUE CHECKREFERER=FALSE # Include Server Name in Browser

Default Value: FALSE

SERVERINTITLE=FALSE

Browser # Default Value: FALSE SERVERINTITLE=FALSE # Report Unknown Dest as Error

Default Value: TRUE

CUSTOMASERROR=TRUE

Error # Default Value: TRUE CUSTOMASERROR=TRUE # Require Confirm with Apply Changes

Default Value: TRUE

RELOADCONFIRM=TRUE

Changes # Default Value: TRUE RELOADCONFIRM=TRUE # Show Language setting

Default Value: FALSE

SHOWLANGUAGE=TRUE

setting # Default Value: FALSE SHOWLANGUAGE=TRUE # Use freepbx_menu.conf Configuration

Default Value: FALSE

USEFREEPBXMENU_CONF=FALSE

Configuration # Default Value: FALSE USE_FREEPBX_MENU_CONF=FALSE # Use wget For Module Admin

Default Value: FALSE

MODULEADMINWGET=FALSE

Admin # Default Value: FALSE MODULEADMINWGET=FALSE # Dashboard Info Update Frequency

Default Value: 30

DASHBOARDINFOUPDATE_TIME=30

Frequency # Default Value: 30 DASHBOARD_INFO_UPDATE_TIME=30 # Dashboard Max Calls Initial Scale

Default Value:.

MAXCALLS=

Scale # Default Value:. MAXCALLS= # Dashboard Stats Update Frequency

Default Value: 6

DASHBOARDSTATSUPDATE_TIME=6

#

Frequency # Default Value: 6 DASHBOARD_STATS_UPDATE_TIME=6 # # --- CATEGORY: Queues Module ---

#

--- # # Persistent Members

Default Value: TRUE

QUEUES_PESISTENTMEMBERS=TRUE

Members # Default Value: TRUE QUEUES_PESISTENTMEMBERS=TRUE # Honor Wrapup Time Across Queues

Default Value: TRUE

QUEUESSHAREDLASTCALL=TRUE

Queues # Default Value: TRUE QUEUES_SHARED_LASTCALL=TRUE # Set Agent Name in CDR dstchannel

Default Value: FALSE

QUEUES_UPDATECDR=FALSE

dstchannel # Default Value: FALSE QUEUES_UPDATECDR=FALSE # Use MixMonitor for Recordings

Default Value: TRUE

QUEUESMIXMONITOR=TRUE

Recordings # Default Value: TRUE QUEUES_MIX_MONITOR=TRUE # Hide Queue No Answer Option

Default Value: TRUE

QUEUESHIDENOANSWER=TRUE

Option # Default Value: TRUE QUEUES_HIDE_NOANSWER=TRUE # Asterisk Queues Patch 15168 Installed

Default Value: FALSE

USEQUEUESTATE=FALSE

Installed # Default Value: FALSE USEQUEUESTATE=FALSE # Agent Called Events Default

Default Value: FALSE

QUEUESEVENTSWHENCALLEDDEFAULT=FALSE

Default # Default Value: FALSE QUEUES_EVENTS_WHEN_CALLED_DEFAULT=FALSE # Generate queuenum/* queuenum*/** Login/off Codes

Default Value: TRUE

GENERATELEGACYQUEUE_CODES=TRUE

Codes # Default Value: TRUE GENERATE_LEGACY_QUEUE_CODES=TRUE # Memeber Status Event Default

Default Value: FALSE

QUEUESEVENTSMEMEBERSTATUSDEFAULT=FALSE

#

Default # Default Value: FALSE QUEUES_EVENTS_MEMEBER_STATUS_DEFAULT=FALSE # # --- CATEGORY: Remote CDR Database ---

#

--- # # Remote CDR DB Host

Default Value:.

CDRDBHOST=

Host # Default Value:. CDRDBHOST= # Remote CDR DB Name

Default Value:.

CDRDBNAME=

Name # Default Value:. CDRDBNAME= # Remote CDR DB Password

Default Value:.

CDRDBPASS=

Password # Default Value:. CDRDBPASS= # Remote CDR DB Port

Default Value:.

CDRDBPORT=

Port # Default Value:. CDRDBPORT= # Remote CDR DB Table

Default Value:.

CDRDBTABLENAME=

Table # Default Value:. CDRDBTABLENAME= # Remote CDR DB Type

Default Value:.

CDRDBTYPE=

Type # Default Value:. CDRDBTYPE= # Remote CDR DB User

Default Value:.

CDRDBUSER=

#

User # Default Value:. CDRDBUSER= # # --- CATEGORY: Ring Group Module ---

#

--- # # Display Extension Ring Group Members

Default Value: FALSE

EXTENSIONLISTRINGGROUPS=FALSE

#

Members # Default Value: FALSE EXTENSION_LIST_RINGGROUPS=FALSE # # --- CATEGORY: Styling and Logos ---

#

--- # # Image: Left Upper

Default Value: images/tango.png

BRANDIMAGETANGO_LEFT=images/tango.png

Upper # Default Value: images/tango.png BRAND_IMAGE_TANGO_LEFT=images/tango.png # Image: Footer

Default Value: images/freepbx_small.png

BRANDIMAGEFREEPBXFOOT=images/freepbxsmall.png

Footer # Default Value: images/freepbx_small.png BRAND_IMAGE_FREEPBX_FOOT=images/freepbx_small.png # Image: Footer

Default Value: images/schmooze-logo.png

BRANDIMAGESPONSOR_FOOT=images/schmooze-logo.png

Footer # Default Value: images/schmooze-logo.png BRAND_IMAGE_SPONSOR_FOOT=images/schmooze-logo.png # Alt for Left Logo

Default Value: FreePBX

BRANDFREEPBXALT_LEFT=FreePBX

Logo # Default Value: FreePBX BRAND_FREEPBX_ALT_LEFT=FreePBX # Alt for Footer Logo

Default Value: FreePBX®

BRANDFREEPBXALT_FOOT=FreePBX®

Logo # Default Value: FreePBX® BRAND_FREEPBX_ALT_FOOT=FreePBX® # Alt for Footer Logo

Default Value: www.schmoozecom.com

BRANDSPONSORALT_FOOT=www.schmoozecom.com

Logo # Default Value: www.schmoozecom.com BRAND_SPONSOR_ALT_FOOT=www.schmoozecom.com # Link for Left Logo

Default Value: http://www.freepbx.org

BRANDIMAGEFREEPBXLINKLEFT=http://www.freepbx.org

Logo # Default Value: http://www.freepbx.org BRAND_IMAGE_FREEPBX_LINK_LEFT=http://www.freepbx.org # Link for Footer Logo

Default Value: http://www.freepbx.org

BRANDIMAGEFREEPBXLINKFOOT=http://www.freepbx.org

Logo # Default Value: http://www.freepbx.org BRAND_IMAGE_FREEPBX_LINK_FOOT=http://www.freepbx.org # Link for Sponsor Footer Logo

Default Value: http://www.schmoozecom.com

BRANDIMAGESPONSORLINKFOOT=http://www.schmoozecom.com

Logo # Default Value: http://www.schmoozecom.com BRAND_IMAGE_SPONSOR_LINK_FOOT=http://www.schmoozecom.com # Primary CSS Stylesheet

Default Value:.

BRANDCSSALT_MAINSTYLE=

Stylesheet # Default Value:. BRAND_CSS_ALT_MAINSTYLE= # Primary CSS Popover Stylesheet Addtion

Default Value:.

BRANDCSSALT_POPOVER=

Addtion # Default Value:. BRAND_CSS_ALT_POPOVER= # Optional Additional CSS Stylesheet

Default Value:.

BRANDCSSCUSTOM=

#

Stylesheet # Default Value:. BRAND_CSS_CUSTOM= # # --- CATEGORY: System Apps ---

#

--- # # Path for rm

Default Value: /usr/bin/rm

WHICH_rm=/usr/bin/rm

#

rm # Default Value: /usr/bin/rm WHICH_rm=/usr/bin/rm # # --- CATEGORY: System Setup ---

#

--- # # FreePBX Log Routing

Default Value: FILE

AMPSYSLOGLEVEL=FILE

Routing # Default Value: FILE AMPSYSLOGLEVEL=FILE # Disable FreePBX Log

Default Value: FALSE

AMPDISABLELOG=FALSE

Log # Default Value: FALSE AMPDISABLELOG=FALSE # Log Verbose Messages

Default Value: TRUE

LOGOUTMESSAGES=TRUE

Messages # Default Value: TRUE LOG_OUT_MESSAGES=TRUE # Send Dashboard Notifications to Log

Default Value: TRUE

LOG_NOTIFICATIONS=TRUE

Log # Default Value: TRUE LOG_NOTIFICATIONS=TRUE # FreePBX Log File

Default Value: /var/log/asterisk/freepbx.log

FPBXLOGFILE=/var/log/asterisk/freepbx.log

File # Default Value: /var/log/asterisk/freepbx.log FPBX_LOG_FILE=/var/log/asterisk/freepbx.log # PHP Error Log Output

Default Value: freepbxlog

PHPERRORHANDLER_OUTPUT=freepbxlog

Output # Default Value: freepbxlog PHP_ERROR_HANDLER_OUTPUT=freepbxlog # Aggresively Check for Duplicate Extensions

Default Value: FALSE

AGGRESSIVEDUPLICATECHECK=FALSE

Extensions # Default Value: FALSE AGGRESSIVE_DUPLICATE_CHECK=FALSE # User & Devices Mode

Default Value: extensions

AMPEXTENSIONS=extensions

Mode # Default Value: extensions AMPEXTENSIONS=extensions # Authorization Type

Default Value: database

AUTHTYPE=database

Type # Default Value: database AUTHTYPE=database # Allow Login With DB Credentials

Default Value: FALSE

AMPACCESSDB_CREDS=FALSE

Credentials # Default Value: FALSE AMP_ACCESS_DB_CREDS=FALSE # User Portal Admin Username

Default Value:.

ARIADMINUSERNAME=admin

Username # Default Value:. ARI_ADMIN_USERNAME=admin # User Portal Admin Password

Default Value: ari_password

ARIADMINPASSWORD=adminnn

Password # Default Value: ari_password ARI_ADMIN_PASSWORD=adminnn # Asterisk VMU Mask

Default Value: 007

AMPVMUMASK=007

Mask # Default Value: 007 AMPVMUMASK=007 # Browser Stats

Default Value: TRUE

BROWSER_STATS=TRUE

Stats # Default Value: TRUE BROWSER_STATS=TRUE # Force Asterisk Version

Default Value:.

FORCED_ASTVERSION=

Version # Default Value:. FORCED_ASTVERSION= # FreePBX Web Address

Default Value:.

AMPWEBADDRESS=

Address # Default Value:. AMPWEBADDRESS= # System Asterisk Group

Default Value: asterisk

AMPASTERISKGROUP=asterisk

Group # Default Value: asterisk AMPASTERISKGROUP=asterisk # System Asterisk User

Default Value: asterisk

AMPASTERISKUSER=asterisk

User # Default Value: asterisk AMPASTERISKUSER=asterisk # System Device Group

Default Value: asterisk

AMPDEVGROUP=asterisk

Group # Default Value: asterisk AMPDEVGROUP=asterisk # System Device User

Default Value: asterisk

AMPDEVUSER=asterisk

User # Default Value: asterisk AMPDEVUSER=asterisk # System Web Group

Default Value: asterisk

AMPASTERISKWEBGROUP=asterisk

Group # Default Value: asterisk AMPASTERISKWEBGROUP=asterisk # System Web User

Default Value: asterisk

AMPASTERISKWEBUSER=asterisk

User # Default Value: asterisk AMPASTERISKWEBUSER=asterisk # Telephony Engine

Default Value: asterisk

AMPENGINE=asterisk

Engine # Default Value: asterisk AMPENGINE=asterisk # Update Notifications

Default Value: TRUE

CRONMANUPDATESCHECK=TRUE

Notifications # Default Value: TRUE CRONMAN_UPDATES_CHECK=TRUE # Use Google Distribution Network for js Downloads

Default Value: FALSE

USEGOOGLECDN_JS=FALSE

Downloads # Default Value: FALSE USE_GOOGLE_CDN_JS=FALSE # Call Recording Format

Default Value: wav

MIXMON_FORMAT=wav

Format # Default Value: wav MIXMON_FORMAT=wav # Convert Music Files to WAV

Default Value: TRUE

AMPMPG123=TRUE

WAV # Default Value: TRUE AMPMPG123=TRUE # Dashboard Non-Std SSH Port

Default Value:.

SSHPORT=

Port # Default Value:. SSHPORT= # Recordings Crypt Key

Default Value:.

AMPPLAYKEY=

#

Key # Default Value:. AMPPLAYKEY= # # --- CATEGORY: Time Condition Module ---

#

--- # # Enable Maintenance Polling

Default Value: TRUE

TCMAINT=TRUE

Polling # Default Value: TRUE TCMAINT=TRUE # Maintenance Polling Interval

Default Value: 60

TCINTERVAL=60

#

Interval # Default Value: 60 TCINTERVAL=60 # # --- CATEGORY: VmX Locater ---

#

--- # # VMX Default Context

Default Value: from-internal

VMX_CONTEXT=from-internal

Context # Default Value: from-internal VMX_CONTEXT=from-internal # VMX Default Loop Exceed Context

Default Value:.

VMXLOOPDESTCONTEXT=

Context # Default Value:. VMX_LOOPDEST_CONTEXT= # VMX Default Loop Exceed Extension

Default Value: dovm

VMXLOOPDESTEXT=dovm

Extension # Default Value: dovm VMX_LOOPDEST_EXT=dovm # VMX Default Loop Exceed Priority

Default Value: 1

VMXLOOPDESTPRI=1

Priority # Default Value: 1 VMX_LOOPDEST_PRI=1 # VMX Default Priority

Default Value: 1

VMX_PRI=1

Priority # Default Value: 1 VMX_PRI=1 # VMX Default Timeout Extension

Default Value: dovm

VMXTIMEDESTEXT=dovm

Extension # Default Value: dovm VMX_TIMEDEST_EXT=dovm # VMX Default Timeout Priority

Default Value: 1

VMXTIMEDESTPRI=1

#

Priority # Default Value: 1 VMX_TIMEDEST_PRI=1 # # --- CATEGORY: Voicemail Module ---

#

--- # # Create Voicemail Hints

Default Value: FALSE

USERESMWIBLF=FALSE

Hints # Default Value: FALSE USERESMWIBLF=FALSE # Provide IMAP Voicemail Fields

Default Value: FALSE

VMSHOWIMAP=FALSE

#

Fields # Default Value: FALSE VM_SHOW_IMAP=FALSE # # --- CATEGORY: Bootstrapped or Legacy Settings ---

#

# AMPDBUSER=asteriskuser

# AMPDBPASS=adminnn

# AMPDBHOST=localhost

# AMPDBNAME=asterisk

# AMPDBENGINE=mysql

# datasource=

--- # # AMPDBUSER=asteriskuser # AMPDBPASS=adminnn # AMPDBHOST=localhost # AMPDBNAME=asterisk # AMPDBENGINE=mysql # datasource= #enter code here AMPENABLEDEVELDEBUG=

# DAYNIGHTTCHOOK=

AMPENABLEDEVELDEBUG= # DAYNIGHTTCHOOK=

Не заходит в админку Freepbx

Здравствуйте, проблема странная. в общем произошло не понятно с чего. настройки freepbx сбросились на то, что были месяца 3 назад. попытался зайти в веб админку, в ответ получил что пароль или логин не верен. зашел в файл amportal изменил. опять не пускает.

в логах freepbx 2 ошибки

PHP-WARNING (usr/share/nginx/html/admin/librories/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (connection refused)
CRITICAL (/admin/bootscrap.php:122) - connection attempt to AMI Failed

Telnet localhost 5038 открывает нормально

amportal.conf

amportal.conf

#;--------------------------------------------------------------------------------
#; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to
#; this file must be done via the Web GUI. There are alternative files to make
#; custom modifications, details at: http://freepbx.org/configuration_files
#;--------------------------------------------------------------------------------


#;--------------------------------------------------------------------------------
#; All settings can be set from the Advanced Settings page accessible in FreePBX
#;--------------------------------------------------------------------------------



#
# --- CATEGORY: Advanced Settings Details ---
#

# Display Friendly Name
# Default Value: TRUE
AS_DISPLAY_FRIENDLY_NAME=TRUE

# Display Readonly Settings
# Default Value: FALSE
AS_DISPLAY_READONLY_SETTINGS=FALSE

# Override Readonly Settings
# Default Value: FALSE
AS_OVERRIDE_READONLY=FALSE

#
# --- CATEGORY: Asterisk Builtin mini-HTTP server ---
#

# Enable Static Content
# Default Value: FALSE
HTTPENABLESTATIC=FALSE

# Enable the mini-HTTP Server
# Default Value: FALSE
HTTPENABLED=FALSE

# HTTP Bind Address
# Default Value: 0.0.0.0
HTTPBINDADDRESS=127.0.0.1

# HTTP Bind Port
# Default Value: 8088
HTTPBINDPORT=8088

# HTTP Prefix
# Default Value:.
HTTPPREFIX=

#
# --- CATEGORY: Asterisk Manager ---
#

# Asterisk Manager Host
# Default Value: localhost
ASTMANAGERHOST=localhost

# Asterisk Manager Password
# Default Value: amp111
AMPMGRPASS=amp111

# Asterisk Manager Port
# Default Value: 5038
ASTMANAGERPORT=5038

# Asterisk Manager Proxy Port
# Default Value:.
ASTMANAGERPROXYPORT=

# Asterisk Manager User
# Default Value: admin
AMPMGRUSER=admin

# Asterisk Manager Write Timeout
# Default Value: 5000
ASTMGRWRITETIMEOUT=5000

#
# --- CATEGORY: CDR Report Module ---
#

# Enable CEL Reporting
# Default Value: FALSE
CEL_ENABLED=TRUE

#
# --- CATEGORY: Developer and Customization ---
#

# Always Download Web Assets
# Default Value: FALSE
FORCE_JS_CSS_IMG_DOWNLOAD=FALSE

# AMPLOCALBIN Dir for retrieve_conf
# Default Value:.
POST_RELOAD=

# PRE_RELOAD Script
# Default Value:.
PRE_RELOAD=

# Provide Verbose Tracebacks
# Default Value: FALSE
DIE_FREEPBX_VERBOSE=FALSE

# Use Packaged Javascript Library.
# Default Value: TRUE
USE_PACKAGED_JS=TRUE

# Post Call Recording Script
# Default Value:.
MIXMON_POST=

#
# --- CATEGORY: Device Settings ---
#

# Show all Device Setting on Add
# Default Value: FALSE
ALWAYS_SHOW_DEVICE_DETAILS=FALSE

# Require Strong Secrets
# Default Value: TRUE
DEVICE_STRONG_SECRETS=TRUE

# Remove mailbox Setting when no Voicemail
# Default Value: FALSE
DEVICE_REMOVE_MAILBOX=FALSE

# SIP canrenivite (directmedia)
# Default Value: no
DEVICE_SIP_CANREINVITE=no

# SIP trustrpid
# Default Value: yes
DEVICE_SIP_TRUSTRPID=yes

# SIP sendrpid
# Default Value: no
DEVICE_SIP_SENDRPID=no

# SIP nat
# Default Value: no
DEVICE_SIP_NAT=no

# SIP encryption
# Default Value: no
DEVICE_SIP_ENCRYPTION=no

# SIP qualifyfreq
# Default Value: 60
DEVICE_SIP_QUALIFYFREQ=60

# SIP and IAX qualify
# Default Value: yes
DEVICE_QUALIFY=yes

# SIP and IAX allow
# Default Value:.
DEVICE_ALLOW=

# SIP and IAX disallow
# Default Value:.
DEVICE_DISALLOW=

# SIP and DAHDi callgroup
# Default Value:.
DEVICE_CALLGROUP=

# SIP and DAHDi pickupgroup
# Default Value:.
DEVICE_PICKUPGROUP=

#
# --- CATEGORY: Dialplan and Operational ---
#

# Block CNAM on External Trunks
# Default Value: FALSE
BLOCK_OUTBOUND_TRUNK_CNAM=FALSE

# Call Forward Ringtimer Default
# Default Value: 0
CFRINGTIMERDEFAULT=0

# Call Recording Policy
# Default Value: caller
REC_POLICY=caller

# Conference Room App
# Default Value: app_meetme
ASTCONFAPP=app_confbridge

# Convert ZAP Settings to DAHDi
# Default Value: FALSE
ZAP2DAHDICOMPAT=TRUE

# CW Enabled by Default
# Default Value: TRUE
ENABLECW=TRUE

# Disable -custom Context Includes
# Default Value: FALSE
DISABLECUSTOMCONTEXTS=FALSE

# Ditech VQA Inbound Setting
# Default Value: 7
DITECH_VQA_INBOUND=7

# Ditech VQA Outbound Setting
# Default Value: 7
DITECH_VQA_OUTBOUND=7

# Dynamically Generate Hints
# Default Value: FALSE
DYNAMICHINTS=FALSE

# Enable Custom Device States
# Default Value: TRUE
USEDEVSTATE=TRUE

# Extension Concurrency Limit
# Default Value: 0
CONCURRENCYLIMITDEFAULT=0

# Feature Codes Beep Only
# Default Value: FALSE
FCBEEPONLY=FALSE

# Force All Internal Auto Answer
# Default Value: FALSE
FORCE_INTERNAL_AUTO_ANSWER_ALL=FALSE

# Generate Diversion Headers
# Default Value: FALSE
DIVERSIONHEADER=FALSE

# Internal Auto Answer Default
# Default Value: disabled
DEFAULT_INTERNAL_AUTO_ANSWER=disabled

# NoOp Traces in Dialplan
# Default Value: 0
NOOPTRACE=0
# Occupied Lines CW Busy
# Default Value: TRUE
CWINUSEBUSY=TRUE

# Only Use Last CID Prepend
# Default Value: TRUE
CID_PREPEND_REPLACE=TRUE

# Polling Interval for Stopping Asterisk
# Default Value: 2
ASTSTOPPOLLINT=2

# Trunk Dial Timeout
# Default Value: 300
TRUNK_RING_TIMER=300

# Use bad-number Context
# Default Value: TRUE
AMPBADNUMBER=TRUE

# Use Google DNS for Enum
# Default Value: FALSE
USEGOOGLEDNSFORENUM=FALSE

# Waiting Period to Stop Asterisk
# Default Value: 120
ASTSTOPTIMEOUT=120

# Asterisk Dial Options
# Default Value: Ttr
DIAL_OPTIONS=Ttr

# Asterisk Outbound Trunk Dial Options
# Default Value: Tt
TRUNK_OPTIONS=Tt

# Country Indication Tones
# Default Value: us
TONEZONE=us

# Display CallerID on Calling Phone
# Default Value: TRUE
OUTBOUND_CID_UPDATE=TRUE

# Display Dialed Number on Calling Phone
# Default Value: TRUE
OUTBOUND_DIAL_UPDATE=TRUE

# Display Presence State of Callee
# Default Value: TRUE
CONNECTEDLINE_PRESENCESTATE=TRUE

# Ringtime Default
# Default Value: 15
RINGTIMER=40

# Speaking Clock Time Format
# Default Value: 12 Hour Format
TIMEFORMAT=24\ Hour\ Format

#
# --- CATEGORY: Directory Layout ---
#

# Asterisk AGI Dir
# Default Value: /var/lib/asterisk/agi-bin
ASTAGIDIR=/var/lib/asterisk/agi-bin

# Asterisk bin Dir
# Default Value: /var/lib/asterisk
ASTVARLIBDIR=/var/lib/asterisk

# Asterisk etc Dir
# Default Value: /etc/asterisk
ASTETCDIR=/etc/asterisk

# Asterisk Log Dir
# Default Value: /var/log/asterisk
ASTLOGDIR=/var/log/asterisk

# Asterisk Modules Dir
# Default Value: /usr/lib/asterisk/modules
ASTMODDIR=/usr/lib/asterisk/modules

# Asterisk Run Dir
# Default Value: /var/run/asterisk
ASTRUNDIR=/var/run/asterisk

# Asterisk Spool Dir
# Default Value: /var/spool/asterisk
ASTSPOOLDIR=/var/spool/asterisk

# CGI Dir
# Default Value: /var/www/cgi-bin.
AMPCGIBIN=/var/www/cgi-bin\.

# FreePBX bin Dir
# Default Value: /var/lib/asterisk/bin
AMPBIN=/var/lib/asterisk/bin
# FreePBX bin Dir
# Default Value: /var/lib/asterisk/bin
AMPBIN=/var/lib/asterisk/bin

# FreePBX sbin Dir
# Default Value: /usr/sbin
AMPSBIN=/usr/sbin

# FreePBX Web Root Dir
# Default Value: /var/www/html
AMPWEBROOT=/usr/share/nginx/html

# MoH Subdirectory
# Default Value: moh
MOHDIR=moh

# Override Call Recording Location
# Default Value:.
MIXMON_DIR=

#
# --- CATEGORY: Flash Operator Panel ---
#

# FOP Web Root Dir
# Default Value:.
FOPWEBROOT=

#
# --- CATEGORY: Follow Me Module ---
#

# Create Follow Me at Extension Creation Time
# Default Value: FALSE
FOLLOWME_AUTO_CREATE=FALSE

# Disable Follow Me Upon Creation
# Default Value: TRUE
FOLLOWME_DISABLED=TRUE

# Default Follow Me Ring Time
# Default Value: 20
FOLLOWME_TIME=20

# Default Follow Me Initial Ring Time
# Default Value: 7
FOLLOWME_PRERING=7

# Default Follow Me Ring Strategy
# Default Value: ringallv2-prim
FOLLOWME_RG_STRATEGY=ringallv2-prim

#
# --- CATEGORY: GUI Behavior ---
#

# Abort Config Gen on Bad Dest
# Default Value: FALSE
BADDESTABORT=FALSE

# Abort Config Gen on Exten Conflict
# Default Value: FALSE
XTNCONFLICTABORT=FALSE

# Check Server Referrer
# Default Value: TRUE
CHECKREFERER=FALSE

# Include Server Name in Browser
# Default Value: FALSE
SERVERINTITLE=FALSE

# Report Unknown Dest as Error
# Default Value: TRUE
CUSTOMASERROR=TRUE

# Require Confirm with Apply Changes
# Default Value: TRUE
RELOADCONFIRM=TRUE

# Show Language setting
# Default Value: FALSE
SHOWLANGUAGE=TRUE

# Use freepbx_menu.conf Configuration
# Default Value: FALSE
USE_FREEPBX_MENU_CONF=FALSE

# Use wget For Module Admin
# Default Value: FALSE
MODULEADMINWGET=FALSE

# Dashboard Info Update Frequency
# Default Value: 30
DASHBOARD_INFO_UPDATE_TIME=30

# Dashboard Max Calls Initial Scale
# Default Value:.
MAXCALLS=
# Dashboard Stats Update Frequency
# Default Value: 6
DASHBOARD_STATS_UPDATE_TIME=6

#
# --- CATEGORY: Queues Module ---
#

# Persistent Members
# Default Value: TRUE
QUEUES_PESISTENTMEMBERS=TRUE

# Honor Wrapup Time Across Queues
# Default Value: TRUE
QUEUES_SHARED_LASTCALL=TRUE

# Set Agent Name in CDR dstchannel
# Default Value: FALSE
QUEUES_UPDATECDR=FALSE

# Use MixMonitor for Recordings
# Default Value: TRUE
QUEUES_MIX_MONITOR=TRUE

# Hide Queue No Answer Option
# Default Value: TRUE
QUEUES_HIDE_NOANSWER=TRUE

# Asterisk Queues Patch 15168 Installed
# Default Value: FALSE
USEQUEUESTATE=FALSE

# Agent Called Events Default
# Default Value: FALSE
QUEUES_EVENTS_WHEN_CALLED_DEFAULT=FALSE

# Generate queuenum*/** Login/off Codes
# Default Value: TRUE
GENERATE_LEGACY_QUEUE_CODES=TRUE

# Memeber Status Event Default
# Default Value: FALSE
QUEUES_EVENTS_MEMEBER_STATUS_DEFAULT=FALSE

#
# --- CATEGORY: Remote CDR Database ---
#

# Remote CDR DB Host
# Default Value:.
CDRDBHOST=

# Remote CDR DB Name
# Default Value:.
CDRDBNAME=

# Remote CDR DB Password
# Default Value:.
CDRDBPASS=

# Remote CDR DB Port
# Default Value:.
CDRDBPORT=

# Remote CDR DB Table
# Default Value:.
CDRDBTABLENAME=

# Remote CDR DB Type
# Default Value:.
CDRDBTYPE=

# Remote CDR DB User
# Default Value:.
CDRDBUSER=

#
# --- CATEGORY: Ring Group Module ---
#

# Display Extension Ring Group Members
# Default Value: FALSE
EXTENSION_LIST_RINGGROUPS=FALSE

#
# --- CATEGORY: Styling and Logos ---
#

# Image: Left Upper
# Default Value: images/tango.png
BRAND_IMAGE_TANGO_LEFT=images/tango.png

# Image: Footer
# Default Value: images/freepbx_small.png
BRAND_IMAGE_FREEPBX_FOOT=images/freepbx_small.png

# Image: Footer
# Default Value: images/schmooze-logo.png
BRAND_IMAGE_SPONSOR_FOOT=images/schmooze-logo.png

# Alt for Left Logo
# Default Value: FreePBX
BRAND_FREEPBX_ALT_LEFT=FreePBX

# Alt for Footer Logo
# Default Value: FreePBX®
BRAND_FREEPBX_ALT_FOOT=FreePBX®

# Alt for Footer Logo
# Default Value: www.schmoozecom.com
BRAND_SPONSOR_ALT_FOOT=www.schmoozecom.com

# Link for Left Logo
# Default Value: http://www.freepbx.org
BRAND_IMAGE_FREEPBX_LINK_LEFT=http://www.freepbx.org

# Link for Footer Logo
# Default Value: http://www.freepbx.org
BRAND_IMAGE_FREEPBX_LINK_FOOT=http://www.freepbx.org

# Link for Sponsor Footer Logo
# Default Value: http://www.schmoozecom.com
BRAND_IMAGE_SPONSOR_LINK_FOOT=http://www.schmoozecom.com

# Primary CSS Stylesheet
# Default Value:.
BRAND_CSS_ALT_MAINSTYLE=

# Primary CSS Popover Stylesheet Addtion
# Default Value:.
BRAND_CSS_ALT_POPOVER=

# Optional Additional CSS Stylesheet
# Default Value:.
BRAND_CSS_CUSTOM=

#
# --- CATEGORY: System Apps ---
#

# Path for rm
# Default Value: /usr/bin/rm
WHICH_rm=/usr/bin/rm

#
# --- CATEGORY: System Setup ---
#

# FreePBX Log Routing
# Default Value: FILE
AMPSYSLOGLEVEL=FILE

# Disable FreePBX Log
# Default Value: FALSE
AMPDISABLELOG=FALSE

# Log Verbose Messages
# Default Value: TRUE
LOG_OUT_MESSAGES=TRUE

# Send Dashboard Notifications to Log
# Default Value: TRUE
LOG_NOTIFICATIONS=TRUE

# FreePBX Log File
# Default Value: /var/log/asterisk/freepbx.log
FPBX_LOG_FILE=/var/log/asterisk/freepbx.log

# PHP Error Log Output
# Default Value: freepbxlog
PHP_ERROR_HANDLER_OUTPUT=freepbxlog

# Aggresively Check for Duplicate Extensions
# Default Value: FALSE
AGGRESSIVE_DUPLICATE_CHECK=FALSE

# User & Devices Mode
# Default Value: extensions
AMPEXTENSIONS=extensions

# Authorization Type
# Default Value: database
AUTHTYPE=database

# Allow Login With DB Credentials
# Default Value: FALSE
AMP_ACCESS_DB_CREDS=FALSE

# User Portal Admin Username
# Default Value:.
ARI_ADMIN_USERNAME=admin

# User Portal Admin Password
# Default Value: ari_password
ARI_ADMIN_PASSWORD=adminnn

# Asterisk VMU Mask
# Default Value: 007
AMPVMUMASK=007
# Browser Stats
# Default Value: TRUE
BROWSER_STATS=TRUE

# Force Asterisk Version
# Default Value:.
FORCED_ASTVERSION=

# FreePBX Web Address
# Default Value:.
AMPWEBADDRESS=

# System Asterisk Group
# Default Value: asterisk
AMPASTERISKGROUP=asterisk

# System Asterisk User
# Default Value: asterisk
AMPASTERISKUSER=asterisk

# System Device Group
# Default Value: asterisk
AMPDEVGROUP=asterisk

# System Device User
# Default Value: asterisk
AMPDEVUSER=asterisk

# System Web Group
# Default Value: asterisk
AMPASTERISKWEBGROUP=asterisk

# System Web User
# Default Value: asterisk
AMPASTERISKWEBUSER=asterisk

# Telephony Engine
# Default Value: asterisk
AMPENGINE=asterisk

# Update Notifications
# Default Value: TRUE
CRONMAN_UPDATES_CHECK=TRUE

# Use Google Distribution Network for js Downloads
# Default Value: FALSE
USE_GOOGLE_CDN_JS=FALSE

# Call Recording Format
# Default Value: wav
MIXMON_FORMAT=wav

# Convert Music Files to WAV
# Default Value: TRUE
AMPMPG123=TRUE

# Dashboard Non-Std SSH Port
# Default Value:.
SSHPORT=

# Recordings Crypt Key
# Default Value:.
AMPPLAYKEY=

#
# --- CATEGORY: Time Condition Module ---
#

# Enable Maintenance Polling
# Default Value: TRUE
TCMAINT=TRUE

# Maintenance Polling Interval
# Default Value: 60
TCINTERVAL=60

#
# --- CATEGORY: VmX Locater ---
#

# VMX Default Context
# Default Value: from-internal
VMX_CONTEXT=from-internal

# VMX Default Loop Exceed Context
# Default Value:.
VMX_LOOPDEST_CONTEXT=

# VMX Default Loop Exceed Extension
# Default Value: dovm
VMX_LOOPDEST_EXT=dovm

# VMX Default Loop Exceed Priority
# Default Value: 1
VMX_LOOPDEST_PRI=1

# VMX Default Priority
# Default Value: 1
VMX_PRI=1

# VMX Default Timeout Extension
# Default Value: dovm
VMX_TIMEDEST_EXT=dovm

# VMX Default Timeout Priority
# Default Value: 1
VMX_TIMEDEST_PRI=1

#
# --- CATEGORY: Voicemail Module ---
#

# Create Voicemail Hints
# Default Value: FALSE
USERESMWIBLF=FALSE

# Provide IMAP Voicemail Fields
# Default Value: FALSE
VM_SHOW_IMAP=FALSE

#
# --- CATEGORY: Bootstrapped or Legacy Settings ---
#

#
AMPDBUSER=asteriskuser

#
AMPDBPASS=adminnn

#
AMPDBHOST=localhost

#
AMPDBNAME=asterisk

#
AMPDBENGINE=mysql

#
datasource=

#enter code here
AMPENABLEDEVELDEBUG=

#
DAYNIGHTTCHOOK=

Не заходит в админку Freepbx

Здравствуйте, проблема странная. в общем произошло не понятно с чего. настройки freepbx сбросились на то, что были месяца 3 назад. попытался зайти в веб админку, в ответ получил что пароль или логин не верен. зашел в файл amportal изменил. опять не пускает.

в логах freepbx 2 ошибки

PHP-WARNING (usr/share/nginx/html/admin/librories/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (connection refused)
CRITICAL (/admin/bootscrap.php:122) - connection attempt to AMI Failed

Telnet localhost 5038 открывает нормально

<details><summary> amportal.conf</summary>

#;--------------------------------------------------------------------------------
#; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to
#; this file must be done via the Web GUI. There are alternative files to make
#; custom modifications, details at: http://freepbx.org/configuration_files
#;--------------------------------------------------------------------------------


#;--------------------------------------------------------------------------------
#; All settings can be set from the Advanced Settings page accessible in FreePBX
#;--------------------------------------------------------------------------------



#
# --- CATEGORY: Advanced Settings Details ---
#

# Display Friendly Name
# Default Value: TRUE
AS_DISPLAY_FRIENDLY_NAME=TRUE

# Display Readonly Settings
# Default Value: FALSE
AS_DISPLAY_READONLY_SETTINGS=FALSE

# Override Readonly Settings
# Default Value: FALSE
AS_OVERRIDE_READONLY=FALSE

#
# --- CATEGORY: Asterisk Builtin mini-HTTP server ---
#

# Enable Static Content
# Default Value: FALSE
HTTPENABLESTATIC=FALSE

# Enable the mini-HTTP Server
# Default Value: FALSE
HTTPENABLED=FALSE

# HTTP Bind Address
# Default Value: 0.0.0.0
HTTPBINDADDRESS=127.0.0.1

# HTTP Bind Port
# Default Value: 8088
HTTPBINDPORT=8088

# HTTP Prefix
# Default Value:.
HTTPPREFIX=

#
# --- CATEGORY: Asterisk Manager ---
#

# Asterisk Manager Host
# Default Value: localhost
ASTMANAGERHOST=localhost

# Asterisk Manager Password
# Default Value: amp111
AMPMGRPASS=amp111

# Asterisk Manager Port
# Default Value: 5038
ASTMANAGERPORT=5038

# Asterisk Manager Proxy Port
# Default Value:.
ASTMANAGERPROXYPORT=

# Asterisk Manager User
# Default Value: admin
AMPMGRUSER=admin

# Asterisk Manager Write Timeout
# Default Value: 5000
ASTMGRWRITETIMEOUT=5000

#
# --- CATEGORY: CDR Report Module ---
#

# Enable CEL Reporting
# Default Value: FALSE
CEL_ENABLED=TRUE

#
# --- CATEGORY: Developer and Customization ---
#

# Always Download Web Assets
# Default Value: FALSE
FORCE_JS_CSS_IMG_DOWNLOAD=FALSE

# AMPLOCALBIN Dir for retrieve_conf
# Default Value:.
POST_RELOAD=

# PRE_RELOAD Script
# Default Value:.
PRE_RELOAD=

# Provide Verbose Tracebacks
# Default Value: FALSE
DIE_FREEPBX_VERBOSE=FALSE

# Use Packaged Javascript Library.
# Default Value: TRUE
USE_PACKAGED_JS=TRUE

# Post Call Recording Script
# Default Value:.
MIXMON_POST=

#
# --- CATEGORY: Device Settings ---
#

# Show all Device Setting on Add
# Default Value: FALSE
ALWAYS_SHOW_DEVICE_DETAILS=FALSE

# Require Strong Secrets
# Default Value: TRUE
DEVICE_STRONG_SECRETS=TRUE

# Remove mailbox Setting when no Voicemail
# Default Value: FALSE
DEVICE_REMOVE_MAILBOX=FALSE

# SIP canrenivite (directmedia)
# Default Value: no
DEVICE_SIP_CANREINVITE=no

# SIP trustrpid
# Default Value: yes
DEVICE_SIP_TRUSTRPID=yes

# SIP sendrpid
# Default Value: no
DEVICE_SIP_SENDRPID=no

# SIP nat
# Default Value: no
DEVICE_SIP_NAT=no

# SIP encryption
# Default Value: no
DEVICE_SIP_ENCRYPTION=no

# SIP qualifyfreq
# Default Value: 60
DEVICE_SIP_QUALIFYFREQ=60

# SIP and IAX qualify
# Default Value: yes
DEVICE_QUALIFY=yes

# SIP and IAX allow
# Default Value:.
DEVICE_ALLOW=

# SIP and IAX disallow
# Default Value:.
DEVICE_DISALLOW=

# SIP and DAHDi callgroup
# Default Value:.
DEVICE_CALLGROUP=

# SIP and DAHDi pickupgroup
# Default Value:.
DEVICE_PICKUPGROUP=

#
# --- CATEGORY: Dialplan and Operational ---
#

# Block CNAM on External Trunks
# Default Value: FALSE
BLOCK_OUTBOUND_TRUNK_CNAM=FALSE

# Call Forward Ringtimer Default
# Default Value: 0
CFRINGTIMERDEFAULT=0

# Call Recording Policy
# Default Value: caller
REC_POLICY=caller

# Conference Room App
# Default Value: app_meetme
ASTCONFAPP=app_confbridge

# Convert ZAP Settings to DAHDi
# Default Value: FALSE
ZAP2DAHDICOMPAT=TRUE

# CW Enabled by Default
# Default Value: TRUE
ENABLECW=TRUE

# Disable -custom Context Includes
# Default Value: FALSE
DISABLECUSTOMCONTEXTS=FALSE

# Ditech VQA Inbound Setting
# Default Value: 7
DITECH_VQA_INBOUND=7

# Ditech VQA Outbound Setting
# Default Value: 7
DITECH_VQA_OUTBOUND=7

# Dynamically Generate Hints
# Default Value: FALSE
DYNAMICHINTS=FALSE

# Enable Custom Device States
# Default Value: TRUE
USEDEVSTATE=TRUE

# Extension Concurrency Limit
# Default Value: 0
CONCURRENCYLIMITDEFAULT=0

# Feature Codes Beep Only
# Default Value: FALSE
FCBEEPONLY=FALSE

# Force All Internal Auto Answer
# Default Value: FALSE
FORCE_INTERNAL_AUTO_ANSWER_ALL=FALSE

# Generate Diversion Headers
# Default Value: FALSE
DIVERSIONHEADER=FALSE

# Internal Auto Answer Default
# Default Value: disabled
DEFAULT_INTERNAL_AUTO_ANSWER=disabled

# NoOp Traces in Dialplan
# Default Value: 0
NOOPTRACE=0
# Occupied Lines CW Busy
# Default Value: TRUE
CWINUSEBUSY=TRUE

# Only Use Last CID Prepend
# Default Value: TRUE
CID_PREPEND_REPLACE=TRUE

# Polling Interval for Stopping Asterisk
# Default Value: 2
ASTSTOPPOLLINT=2

# Trunk Dial Timeout
# Default Value: 300
TRUNK_RING_TIMER=300

# Use bad-number Context
# Default Value: TRUE
AMPBADNUMBER=TRUE

# Use Google DNS for Enum
# Default Value: FALSE
USEGOOGLEDNSFORENUM=FALSE

# Waiting Period to Stop Asterisk
# Default Value: 120
ASTSTOPTIMEOUT=120

# Asterisk Dial Options
# Default Value: Ttr
DIAL_OPTIONS=Ttr

# Asterisk Outbound Trunk Dial Options
# Default Value: Tt
TRUNK_OPTIONS=Tt

# Country Indication Tones
# Default Value: us
TONEZONE=us

# Display CallerID on Calling Phone
# Default Value: TRUE
OUTBOUND_CID_UPDATE=TRUE

# Display Dialed Number on Calling Phone
# Default Value: TRUE
OUTBOUND_DIAL_UPDATE=TRUE

# Display Presence State of Callee
# Default Value: TRUE
CONNECTEDLINE_PRESENCESTATE=TRUE

# Ringtime Default
# Default Value: 15
RINGTIMER=40

# Speaking Clock Time Format
# Default Value: 12 Hour Format
TIMEFORMAT=24\ Hour\ Format

#
# --- CATEGORY: Directory Layout ---
#

# Asterisk AGI Dir
# Default Value: /var/lib/asterisk/agi-bin
ASTAGIDIR=/var/lib/asterisk/agi-bin

# Asterisk bin Dir
# Default Value: /var/lib/asterisk
ASTVARLIBDIR=/var/lib/asterisk

# Asterisk etc Dir
# Default Value: /etc/asterisk
ASTETCDIR=/etc/asterisk

# Asterisk Log Dir
# Default Value: /var/log/asterisk
ASTLOGDIR=/var/log/asterisk

# Asterisk Modules Dir
# Default Value: /usr/lib/asterisk/modules
ASTMODDIR=/usr/lib/asterisk/modules

# Asterisk Run Dir
# Default Value: /var/run/asterisk
ASTRUNDIR=/var/run/asterisk

# Asterisk Spool Dir
# Default Value: /var/spool/asterisk
ASTSPOOLDIR=/var/spool/asterisk

# CGI Dir
# Default Value: /var/www/cgi-bin.
AMPCGIBIN=/var/www/cgi-bin\.

# FreePBX bin Dir
# Default Value: /var/lib/asterisk/bin
AMPBIN=/var/lib/asterisk/bin
# FreePBX bin Dir
# Default Value: /var/lib/asterisk/bin
AMPBIN=/var/lib/asterisk/bin

# FreePBX sbin Dir
# Default Value: /usr/sbin
AMPSBIN=/usr/sbin

# FreePBX Web Root Dir
# Default Value: /var/www/html
AMPWEBROOT=/usr/share/nginx/html

# MoH Subdirectory
# Default Value: moh
MOHDIR=moh

# Override Call Recording Location
# Default Value:.
MIXMON_DIR=

#
# --- CATEGORY: Flash Operator Panel ---
#

# FOP Web Root Dir
# Default Value:.
FOPWEBROOT=

#
# --- CATEGORY: Follow Me Module ---
#

# Create Follow Me at Extension Creation Time
# Default Value: FALSE
FOLLOWME_AUTO_CREATE=FALSE

# Disable Follow Me Upon Creation
# Default Value: TRUE
FOLLOWME_DISABLED=TRUE

# Default Follow Me Ring Time
# Default Value: 20
FOLLOWME_TIME=20

# Default Follow Me Initial Ring Time
# Default Value: 7
FOLLOWME_PRERING=7

# Default Follow Me Ring Strategy
# Default Value: ringallv2-prim
FOLLOWME_RG_STRATEGY=ringallv2-prim

#
# --- CATEGORY: GUI Behavior ---
#

# Abort Config Gen on Bad Dest
# Default Value: FALSE
BADDESTABORT=FALSE

# Abort Config Gen on Exten Conflict
# Default Value: FALSE
XTNCONFLICTABORT=FALSE

# Check Server Referrer
# Default Value: TRUE
CHECKREFERER=FALSE

# Include Server Name in Browser
# Default Value: FALSE
SERVERINTITLE=FALSE

# Report Unknown Dest as Error
# Default Value: TRUE
CUSTOMASERROR=TRUE

# Require Confirm with Apply Changes
# Default Value: TRUE
RELOADCONFIRM=TRUE

# Show Language setting
# Default Value: FALSE
SHOWLANGUAGE=TRUE

# Use freepbx_menu.conf Configuration
# Default Value: FALSE
USE_FREEPBX_MENU_CONF=FALSE

# Use wget For Module Admin
# Default Value: FALSE
MODULEADMINWGET=FALSE

# Dashboard Info Update Frequency
# Default Value: 30
DASHBOARD_INFO_UPDATE_TIME=30

# Dashboard Max Calls Initial Scale
# Default Value:.
MAXCALLS=
# Dashboard Stats Update Frequency
# Default Value: 6
DASHBOARD_STATS_UPDATE_TIME=6

#
# --- CATEGORY: Queues Module ---
#

# Persistent Members
# Default Value: TRUE
QUEUES_PESISTENTMEMBERS=TRUE

# Honor Wrapup Time Across Queues
# Default Value: TRUE
QUEUES_SHARED_LASTCALL=TRUE

# Set Agent Name in CDR dstchannel
# Default Value: FALSE
QUEUES_UPDATECDR=FALSE

# Use MixMonitor for Recordings
# Default Value: TRUE
QUEUES_MIX_MONITOR=TRUE

# Hide Queue No Answer Option
# Default Value: TRUE
QUEUES_HIDE_NOANSWER=TRUE

# Asterisk Queues Patch 15168 Installed
# Default Value: FALSE
USEQUEUESTATE=FALSE

# Agent Called Events Default
# Default Value: FALSE
QUEUES_EVENTS_WHEN_CALLED_DEFAULT=FALSE

# Generate queuenum*/** Login/off Codes
# Default Value: TRUE
GENERATE_LEGACY_QUEUE_CODES=TRUE

# Memeber Status Event Default
# Default Value: FALSE
QUEUES_EVENTS_MEMEBER_STATUS_DEFAULT=FALSE

#
# --- CATEGORY: Remote CDR Database ---
#

# Remote CDR DB Host
# Default Value:.
CDRDBHOST=

# Remote CDR DB Name
# Default Value:.
CDRDBNAME=

# Remote CDR DB Password
# Default Value:.
CDRDBPASS=

# Remote CDR DB Port
# Default Value:.
CDRDBPORT=

# Remote CDR DB Table
# Default Value:.
CDRDBTABLENAME=

# Remote CDR DB Type
# Default Value:.
CDRDBTYPE=

# Remote CDR DB User
# Default Value:.
CDRDBUSER=

#
# --- CATEGORY: Ring Group Module ---
#

# Display Extension Ring Group Members
# Default Value: FALSE
EXTENSION_LIST_RINGGROUPS=FALSE

#
# --- CATEGORY: Styling and Logos ---
#

# Image: Left Upper
# Default Value: images/tango.png
BRAND_IMAGE_TANGO_LEFT=images/tango.png

# Image: Footer
# Default Value: images/freepbx_small.png
BRAND_IMAGE_FREEPBX_FOOT=images/freepbx_small.png

# Image: Footer
# Default Value: images/schmooze-logo.png
BRAND_IMAGE_SPONSOR_FOOT=images/schmooze-logo.png

# Alt for Left Logo
# Default Value: FreePBX
BRAND_FREEPBX_ALT_LEFT=FreePBX

# Alt for Footer Logo
# Default Value: FreePBX&reg;
BRAND_FREEPBX_ALT_FOOT=FreePBX&reg;

# Alt for Footer Logo
# Default Value: www.schmoozecom.com
BRAND_SPONSOR_ALT_FOOT=www.schmoozecom.com

# Link for Left Logo
# Default Value: http://www.freepbx.org
BRAND_IMAGE_FREEPBX_LINK_LEFT=http://www.freepbx.org

# Link for Footer Logo
# Default Value: http://www.freepbx.org
BRAND_IMAGE_FREEPBX_LINK_FOOT=http://www.freepbx.org

# Link for Sponsor Footer Logo
# Default Value: http://www.schmoozecom.com
BRAND_IMAGE_SPONSOR_LINK_FOOT=http://www.schmoozecom.com

# Primary CSS Stylesheet
# Default Value:.
BRAND_CSS_ALT_MAINSTYLE=

# Primary CSS Popover Stylesheet Addtion
# Default Value:.
BRAND_CSS_ALT_POPOVER=

# Optional Additional CSS Stylesheet
# Default Value:.
BRAND_CSS_CUSTOM=

#
# --- CATEGORY: System Apps ---
#

# Path for rm
# Default Value: /usr/bin/rm
WHICH_rm=/usr/bin/rm

#
# --- CATEGORY: System Setup ---
#

# FreePBX Log Routing
# Default Value: FILE
AMPSYSLOGLEVEL=FILE

# Disable FreePBX Log
# Default Value: FALSE
AMPDISABLELOG=FALSE

# Log Verbose Messages
# Default Value: TRUE
LOG_OUT_MESSAGES=TRUE

# Send Dashboard Notifications to Log
# Default Value: TRUE
LOG_NOTIFICATIONS=TRUE

# FreePBX Log File
# Default Value: /var/log/asterisk/freepbx.log
FPBX_LOG_FILE=/var/log/asterisk/freepbx.log

# PHP Error Log Output
# Default Value: freepbxlog
PHP_ERROR_HANDLER_OUTPUT=freepbxlog

# Aggresively Check for Duplicate Extensions
# Default Value: FALSE
AGGRESSIVE_DUPLICATE_CHECK=FALSE

# User & Devices Mode
# Default Value: extensions
AMPEXTENSIONS=extensions

# Authorization Type
# Default Value: database
AUTHTYPE=database

# Allow Login With DB Credentials
# Default Value: FALSE
AMP_ACCESS_DB_CREDS=FALSE

# User Portal Admin Username
# Default Value:.
ARI_ADMIN_USERNAME=admin

# User Portal Admin Password
# Default Value: ari_password
ARI_ADMIN_PASSWORD=adminnn

# Asterisk VMU Mask
# Default Value: 007
AMPVMUMASK=007
# Browser Stats
# Default Value: TRUE
BROWSER_STATS=TRUE

# Force Asterisk Version
# Default Value:.
FORCED_ASTVERSION=

# FreePBX Web Address
# Default Value:.
AMPWEBADDRESS=

# System Asterisk Group
# Default Value: asterisk
AMPASTERISKGROUP=asterisk

# System Asterisk User
# Default Value: asterisk
AMPASTERISKUSER=asterisk

# System Device Group
# Default Value: asterisk
AMPDEVGROUP=asterisk

# System Device User
# Default Value: asterisk
AMPDEVUSER=asterisk

# System Web Group
# Default Value: asterisk
AMPASTERISKWEBGROUP=asterisk

# System Web User
# Default Value: asterisk
AMPASTERISKWEBUSER=asterisk

# Telephony Engine
# Default Value: asterisk
AMPENGINE=asterisk

# Update Notifications
# Default Value: TRUE
CRONMAN_UPDATES_CHECK=TRUE

# Use Google Distribution Network for js Downloads
# Default Value: FALSE
USE_GOOGLE_CDN_JS=FALSE

# Call Recording Format
# Default Value: wav
MIXMON_FORMAT=wav

# Convert Music Files to WAV
# Default Value: TRUE
AMPMPG123=TRUE

# Dashboard Non-Std SSH Port
# Default Value:.
SSHPORT=

# Recordings Crypt Key
# Default Value:.
AMPPLAYKEY=

#
# --- CATEGORY: Time Condition Module ---
#

# Enable Maintenance Polling
# Default Value: TRUE
TCMAINT=TRUE

# Maintenance Polling Interval
# Default Value: 60
TCINTERVAL=60

#
# --- CATEGORY: VmX Locater ---
#

# VMX Default Context
# Default Value: from-internal
VMX_CONTEXT=from-internal

# VMX Default Loop Exceed Context
# Default Value:.
VMX_LOOPDEST_CONTEXT=

# VMX Default Loop Exceed Extension
# Default Value: dovm
VMX_LOOPDEST_EXT=dovm

# VMX Default Loop Exceed Priority
# Default Value: 1
VMX_LOOPDEST_PRI=1

# VMX Default Priority
# Default Value: 1
VMX_PRI=1

# VMX Default Timeout Extension
# Default Value: dovm
VMX_TIMEDEST_EXT=dovm

# VMX Default Timeout Priority
# Default Value: 1
VMX_TIMEDEST_PRI=1

#
# --- CATEGORY: Voicemail Module ---
#

# Create Voicemail Hints
# Default Value: FALSE
USERESMWIBLF=FALSE

# Provide IMAP Voicemail Fields
# Default Value: FALSE
VM_SHOW_IMAP=FALSE

#
# --- CATEGORY: Bootstrapped or Legacy Settings ---
#

#
AMPDBUSER=asteriskuser

#
AMPDBPASS=adminnn

#
AMPDBHOST=localhost

#
AMPDBNAME=asterisk

#
AMPDBENGINE=mysql

#
datasource=

#enter code here
AMPENABLEDEVELDEBUG=

#
DAYNIGHTTCHOOK=

</details>

Не заходит в админку Freepbx

Здравствуйте, проблема странная. в общем произошло не понятно с чего. настройки freepbx сбросились на то, что были месяца 3 назад. попытался зайти в веб админку, в ответ получил что пароль или логин не верен. зашел в файл amportal изменил. опять не пускает.

в логах freepbx 2 ошибки

PHP-WARNING (usr/share/nginx/html/admin/librories/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (connection refused)
CRITICAL (/admin/bootscrap.php:122) - connection attempt to AMI Failed

Telnet localhost 5038 открывает нормально

<details><summary> amportal.conf</summary>

 #;--------------------------------------------------------------------------------
 #; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to
 #; this file must be done via the Web GUI. There are alternative files to make
 #; custom modifications, details at: http://freepbx.org/configuration_files
 #;--------------------------------------------------------------------------------


 #;--------------------------------------------------------------------------------
 #; All settings can be set from the Advanced Settings page accessible in FreePBX
 #;--------------------------------------------------------------------------------



#
    #
    # --- CATEGORY: Advanced Settings Details ---
#

    #

    # Display Friendly Name
 # Default Value: TRUE
 AS_DISPLAY_FRIENDLY_NAME=TRUE

 # Display Readonly Settings
 # Default Value: FALSE
 AS_DISPLAY_READONLY_SETTINGS=FALSE

 # Override Readonly Settings
 # Default Value: FALSE
 AS_OVERRIDE_READONLY=FALSE

#
    #
    # --- CATEGORY: Asterisk Builtin mini-HTTP server ---
#

    #

    # Enable Static Content
 # Default Value: FALSE
 HTTPENABLESTATIC=FALSE

 # Enable the mini-HTTP Server
 # Default Value: FALSE
 HTTPENABLED=FALSE

 # HTTP Bind Address
 # Default Value: 0.0.0.0
 HTTPBINDADDRESS=127.0.0.1

 # HTTP Bind Port
 # Default Value: 8088
 HTTPBINDPORT=8088

 # HTTP Prefix
 # Default Value:.
 HTTPPREFIX=

#
    #
    # --- CATEGORY: Asterisk Manager ---
#

    #

    # Asterisk Manager Host
 # Default Value: localhost
 ASTMANAGERHOST=localhost

 # Asterisk Manager Password
 # Default Value: amp111
 AMPMGRPASS=amp111

 # Asterisk Manager Port
 # Default Value: 5038
 ASTMANAGERPORT=5038

 # Asterisk Manager Proxy Port
 # Default Value:.
 ASTMANAGERPROXYPORT=

 # Asterisk Manager User
 # Default Value: admin
 AMPMGRUSER=admin

 # Asterisk Manager Write Timeout
 # Default Value: 5000
 ASTMGRWRITETIMEOUT=5000

#
    #
    # --- CATEGORY: CDR Report Module ---
#

    #

    # Enable CEL Reporting
 # Default Value: FALSE
 CEL_ENABLED=TRUE

#
    #
    # --- CATEGORY: Developer and Customization ---
#

    #

    # Always Download Web Assets
 # Default Value: FALSE
 FORCE_JS_CSS_IMG_DOWNLOAD=FALSE

 # AMPLOCALBIN Dir for retrieve_conf
 # Default Value:.
 POST_RELOAD=

 # PRE_RELOAD Script
 # Default Value:.
 PRE_RELOAD=

 # Provide Verbose Tracebacks
 # Default Value: FALSE
 DIE_FREEPBX_VERBOSE=FALSE

 # Use Packaged Javascript Library.
 # Default Value: TRUE
 USE_PACKAGED_JS=TRUE

 # Post Call Recording Script
 # Default Value:.
 MIXMON_POST=

#
    #
    # --- CATEGORY: Device Settings ---
#

    #

    # Show all Device Setting on Add
 # Default Value: FALSE
 ALWAYS_SHOW_DEVICE_DETAILS=FALSE

 # Require Strong Secrets
 # Default Value: TRUE
 DEVICE_STRONG_SECRETS=TRUE

 # Remove mailbox Setting when no Voicemail
 # Default Value: FALSE
 DEVICE_REMOVE_MAILBOX=FALSE

 # SIP canrenivite (directmedia)
 # Default Value: no
 DEVICE_SIP_CANREINVITE=no

 # SIP trustrpid
 # Default Value: yes
 DEVICE_SIP_TRUSTRPID=yes

 # SIP sendrpid
 # Default Value: no
 DEVICE_SIP_SENDRPID=no

 # SIP nat
 # Default Value: no
 DEVICE_SIP_NAT=no

 # SIP encryption
 # Default Value: no
 DEVICE_SIP_ENCRYPTION=no

 # SIP qualifyfreq
 # Default Value: 60
 DEVICE_SIP_QUALIFYFREQ=60

 # SIP and IAX qualify
 # Default Value: yes
 DEVICE_QUALIFY=yes

 # SIP and IAX allow
 # Default Value:.
 DEVICE_ALLOW=

 # SIP and IAX disallow
 # Default Value:.
 DEVICE_DISALLOW=

 # SIP and DAHDi callgroup
 # Default Value:.
 DEVICE_CALLGROUP=

 # SIP and DAHDi pickupgroup
 # Default Value:.
 DEVICE_PICKUPGROUP=

#
    #
    # --- CATEGORY: Dialplan and Operational ---
#

    #

    # Block CNAM on External Trunks
 # Default Value: FALSE
 BLOCK_OUTBOUND_TRUNK_CNAM=FALSE

 # Call Forward Ringtimer Default
 # Default Value: 0
 CFRINGTIMERDEFAULT=0

 # Call Recording Policy
 # Default Value: caller
 REC_POLICY=caller

 # Conference Room App
 # Default Value: app_meetme
 ASTCONFAPP=app_confbridge

 # Convert ZAP Settings to DAHDi
 # Default Value: FALSE
 ZAP2DAHDICOMPAT=TRUE

 # CW Enabled by Default
 # Default Value: TRUE
 ENABLECW=TRUE

 # Disable -custom Context Includes
 # Default Value: FALSE
 DISABLECUSTOMCONTEXTS=FALSE

 # Ditech VQA Inbound Setting
 # Default Value: 7
 DITECH_VQA_INBOUND=7

 # Ditech VQA Outbound Setting
 # Default Value: 7
 DITECH_VQA_OUTBOUND=7

 # Dynamically Generate Hints
 # Default Value: FALSE
 DYNAMICHINTS=FALSE

 # Enable Custom Device States
 # Default Value: TRUE
 USEDEVSTATE=TRUE

 # Extension Concurrency Limit
 # Default Value: 0
 CONCURRENCYLIMITDEFAULT=0

 # Feature Codes Beep Only
 # Default Value: FALSE
 FCBEEPONLY=FALSE

 # Force All Internal Auto Answer
 # Default Value: FALSE
 FORCE_INTERNAL_AUTO_ANSWER_ALL=FALSE

 # Generate Diversion Headers
 # Default Value: FALSE
 DIVERSIONHEADER=FALSE

 # Internal Auto Answer Default
 # Default Value: disabled
 DEFAULT_INTERNAL_AUTO_ANSWER=disabled

 # NoOp Traces in Dialplan
 # Default Value: 0
 NOOPTRACE=0
 # Occupied Lines CW Busy
 # Default Value: TRUE
 CWINUSEBUSY=TRUE

 # Only Use Last CID Prepend
 # Default Value: TRUE
 CID_PREPEND_REPLACE=TRUE

 # Polling Interval for Stopping Asterisk
 # Default Value: 2
 ASTSTOPPOLLINT=2

 # Trunk Dial Timeout
 # Default Value: 300
 TRUNK_RING_TIMER=300

 # Use bad-number Context
 # Default Value: TRUE
 AMPBADNUMBER=TRUE

 # Use Google DNS for Enum
 # Default Value: FALSE
 USEGOOGLEDNSFORENUM=FALSE

 # Waiting Period to Stop Asterisk
 # Default Value: 120
 ASTSTOPTIMEOUT=120

 # Asterisk Dial Options
 # Default Value: Ttr
 DIAL_OPTIONS=Ttr

 # Asterisk Outbound Trunk Dial Options
 # Default Value: Tt
 TRUNK_OPTIONS=Tt

 # Country Indication Tones
 # Default Value: us
 TONEZONE=us

 # Display CallerID on Calling Phone
 # Default Value: TRUE
 OUTBOUND_CID_UPDATE=TRUE

 # Display Dialed Number on Calling Phone
 # Default Value: TRUE
 OUTBOUND_DIAL_UPDATE=TRUE

 # Display Presence State of Callee
 # Default Value: TRUE
 CONNECTEDLINE_PRESENCESTATE=TRUE

 # Ringtime Default
 # Default Value: 15
 RINGTIMER=40

 # Speaking Clock Time Format
 # Default Value: 12 Hour Format
 TIMEFORMAT=24\ Hour\ Format

#
    #
    # --- CATEGORY: Directory Layout ---
#

    #

    # Asterisk AGI Dir
 # Default Value: /var/lib/asterisk/agi-bin
 ASTAGIDIR=/var/lib/asterisk/agi-bin

 # Asterisk bin Dir
 # Default Value: /var/lib/asterisk
 ASTVARLIBDIR=/var/lib/asterisk

 # Asterisk etc Dir
 # Default Value: /etc/asterisk
 ASTETCDIR=/etc/asterisk

 # Asterisk Log Dir
 # Default Value: /var/log/asterisk
 ASTLOGDIR=/var/log/asterisk

 # Asterisk Modules Dir
 # Default Value: /usr/lib/asterisk/modules
 ASTMODDIR=/usr/lib/asterisk/modules

 # Asterisk Run Dir
 # Default Value: /var/run/asterisk
 ASTRUNDIR=/var/run/asterisk

 # Asterisk Spool Dir
 # Default Value: /var/spool/asterisk
 ASTSPOOLDIR=/var/spool/asterisk

 # CGI Dir
 # Default Value: /var/www/cgi-bin.
 AMPCGIBIN=/var/www/cgi-bin\.

 # FreePBX bin Dir
 # Default Value: /var/lib/asterisk/bin
 AMPBIN=/var/lib/asterisk/bin
 # FreePBX bin Dir
 # Default Value: /var/lib/asterisk/bin
 AMPBIN=/var/lib/asterisk/bin

 # FreePBX sbin Dir
 # Default Value: /usr/sbin
 AMPSBIN=/usr/sbin

 # FreePBX Web Root Dir
 # Default Value: /var/www/html
 AMPWEBROOT=/usr/share/nginx/html

 # MoH Subdirectory
 # Default Value: moh
 MOHDIR=moh

 # Override Call Recording Location
 # Default Value:.
 MIXMON_DIR=

#
    #
    # --- CATEGORY: Flash Operator Panel ---
#

    #

    # FOP Web Root Dir
 # Default Value:.
 FOPWEBROOT=

#
    #
    # --- CATEGORY: Follow Me Module ---
#

    #

    # Create Follow Me at Extension Creation Time
 # Default Value: FALSE
 FOLLOWME_AUTO_CREATE=FALSE

 # Disable Follow Me Upon Creation
 # Default Value: TRUE
 FOLLOWME_DISABLED=TRUE

 # Default Follow Me Ring Time
 # Default Value: 20
 FOLLOWME_TIME=20

 # Default Follow Me Initial Ring Time
 # Default Value: 7
 FOLLOWME_PRERING=7

 # Default Follow Me Ring Strategy
 # Default Value: ringallv2-prim
 FOLLOWME_RG_STRATEGY=ringallv2-prim

#
    #
    # --- CATEGORY: GUI Behavior ---
#

    #

    # Abort Config Gen on Bad Dest
 # Default Value: FALSE
 BADDESTABORT=FALSE

 # Abort Config Gen on Exten Conflict
 # Default Value: FALSE
 XTNCONFLICTABORT=FALSE

 # Check Server Referrer
 # Default Value: TRUE
 CHECKREFERER=FALSE

 # Include Server Name in Browser
 # Default Value: FALSE
 SERVERINTITLE=FALSE

 # Report Unknown Dest as Error
 # Default Value: TRUE
 CUSTOMASERROR=TRUE

 # Require Confirm with Apply Changes
 # Default Value: TRUE
 RELOADCONFIRM=TRUE

 # Show Language setting
 # Default Value: FALSE
 SHOWLANGUAGE=TRUE

 # Use freepbx_menu.conf Configuration
 # Default Value: FALSE
 USE_FREEPBX_MENU_CONF=FALSE

 # Use wget For Module Admin
 # Default Value: FALSE
 MODULEADMINWGET=FALSE

 # Dashboard Info Update Frequency
 # Default Value: 30
 DASHBOARD_INFO_UPDATE_TIME=30

 # Dashboard Max Calls Initial Scale
 # Default Value:.
 MAXCALLS=
 # Dashboard Stats Update Frequency
 # Default Value: 6
 DASHBOARD_STATS_UPDATE_TIME=6

#
    #
    # --- CATEGORY: Queues Module ---
#

    #

    # Persistent Members
 # Default Value: TRUE
 QUEUES_PESISTENTMEMBERS=TRUE

 # Honor Wrapup Time Across Queues
 # Default Value: TRUE
 QUEUES_SHARED_LASTCALL=TRUE

 # Set Agent Name in CDR dstchannel
 # Default Value: FALSE
 QUEUES_UPDATECDR=FALSE

 # Use MixMonitor for Recordings
 # Default Value: TRUE
 QUEUES_MIX_MONITOR=TRUE

 # Hide Queue No Answer Option
 # Default Value: TRUE
 QUEUES_HIDE_NOANSWER=TRUE

 # Asterisk Queues Patch 15168 Installed
 # Default Value: FALSE
 USEQUEUESTATE=FALSE

 # Agent Called Events Default
 # Default Value: FALSE
 QUEUES_EVENTS_WHEN_CALLED_DEFAULT=FALSE

 # Generate queuenum*/** Login/off Codes
 # Default Value: TRUE
 GENERATE_LEGACY_QUEUE_CODES=TRUE

 # Memeber Status Event Default
 # Default Value: FALSE
 QUEUES_EVENTS_MEMEBER_STATUS_DEFAULT=FALSE

#
    #
    # --- CATEGORY: Remote CDR Database ---
#

    #

    # Remote CDR DB Host
 # Default Value:.
 CDRDBHOST=

 # Remote CDR DB Name
 # Default Value:.
 CDRDBNAME=

 # Remote CDR DB Password
 # Default Value:.
 CDRDBPASS=

 # Remote CDR DB Port
 # Default Value:.
 CDRDBPORT=

 # Remote CDR DB Table
 # Default Value:.
 CDRDBTABLENAME=

 # Remote CDR DB Type
 # Default Value:.
 CDRDBTYPE=

 # Remote CDR DB User
 # Default Value:.
 CDRDBUSER=

#
    #
    # --- CATEGORY: Ring Group Module ---
#

    #

    # Display Extension Ring Group Members
 # Default Value: FALSE
 EXTENSION_LIST_RINGGROUPS=FALSE

#
    #
    # --- CATEGORY: Styling and Logos ---
#

    #

    # Image: Left Upper
 # Default Value: images/tango.png
 BRAND_IMAGE_TANGO_LEFT=images/tango.png

 # Image: Footer
 # Default Value: images/freepbx_small.png
 BRAND_IMAGE_FREEPBX_FOOT=images/freepbx_small.png

 # Image: Footer
 # Default Value: images/schmooze-logo.png
 BRAND_IMAGE_SPONSOR_FOOT=images/schmooze-logo.png

 # Alt for Left Logo
 # Default Value: FreePBX
 BRAND_FREEPBX_ALT_LEFT=FreePBX

 # Alt for Footer Logo
# Default Value: FreePBX&reg;
BRAND_FREEPBX_ALT_FOOT=FreePBX&reg;

    # Default Value: FreePBX®
    BRAND_FREEPBX_ALT_FOOT=FreePBX®

    # Alt for Footer Logo
 # Default Value: www.schmoozecom.com
 BRAND_SPONSOR_ALT_FOOT=www.schmoozecom.com

 # Link for Left Logo
 # Default Value: http://www.freepbx.org
 BRAND_IMAGE_FREEPBX_LINK_LEFT=http://www.freepbx.org

 # Link for Footer Logo
 # Default Value: http://www.freepbx.org
 BRAND_IMAGE_FREEPBX_LINK_FOOT=http://www.freepbx.org

 # Link for Sponsor Footer Logo
 # Default Value: http://www.schmoozecom.com
 BRAND_IMAGE_SPONSOR_LINK_FOOT=http://www.schmoozecom.com

 # Primary CSS Stylesheet
 # Default Value:.
 BRAND_CSS_ALT_MAINSTYLE=

 # Primary CSS Popover Stylesheet Addtion
 # Default Value:.
 BRAND_CSS_ALT_POPOVER=

 # Optional Additional CSS Stylesheet
 # Default Value:.
 BRAND_CSS_CUSTOM=

#
    #
    # --- CATEGORY: System Apps ---
#

    #

    # Path for rm
 # Default Value: /usr/bin/rm
 WHICH_rm=/usr/bin/rm

#
    #
    # --- CATEGORY: System Setup ---
#

    #

    # FreePBX Log Routing
 # Default Value: FILE
 AMPSYSLOGLEVEL=FILE

 # Disable FreePBX Log
 # Default Value: FALSE
 AMPDISABLELOG=FALSE

 # Log Verbose Messages
 # Default Value: TRUE
 LOG_OUT_MESSAGES=TRUE

 # Send Dashboard Notifications to Log
 # Default Value: TRUE
 LOG_NOTIFICATIONS=TRUE

 # FreePBX Log File
 # Default Value: /var/log/asterisk/freepbx.log
 FPBX_LOG_FILE=/var/log/asterisk/freepbx.log

 # PHP Error Log Output
 # Default Value: freepbxlog
 PHP_ERROR_HANDLER_OUTPUT=freepbxlog

 # Aggresively Check for Duplicate Extensions
 # Default Value: FALSE
 AGGRESSIVE_DUPLICATE_CHECK=FALSE

 # User & Devices Mode
 # Default Value: extensions
 AMPEXTENSIONS=extensions

 # Authorization Type
 # Default Value: database
 AUTHTYPE=database

 # Allow Login With DB Credentials
 # Default Value: FALSE
 AMP_ACCESS_DB_CREDS=FALSE

 # User Portal Admin Username
 # Default Value:.
 ARI_ADMIN_USERNAME=admin

 # User Portal Admin Password
 # Default Value: ari_password
 ARI_ADMIN_PASSWORD=adminnn

 # Asterisk VMU Mask
 # Default Value: 007
 AMPVMUMASK=007
 # Browser Stats
 # Default Value: TRUE
 BROWSER_STATS=TRUE

 # Force Asterisk Version
 # Default Value:.
 FORCED_ASTVERSION=

 # FreePBX Web Address
 # Default Value:.
 AMPWEBADDRESS=

 # System Asterisk Group
 # Default Value: asterisk
 AMPASTERISKGROUP=asterisk

 # System Asterisk User
 # Default Value: asterisk
 AMPASTERISKUSER=asterisk

 # System Device Group
 # Default Value: asterisk
 AMPDEVGROUP=asterisk

 # System Device User
 # Default Value: asterisk
 AMPDEVUSER=asterisk

 # System Web Group
 # Default Value: asterisk
 AMPASTERISKWEBGROUP=asterisk

 # System Web User
 # Default Value: asterisk
 AMPASTERISKWEBUSER=asterisk

 # Telephony Engine
 # Default Value: asterisk
 AMPENGINE=asterisk

 # Update Notifications
 # Default Value: TRUE
 CRONMAN_UPDATES_CHECK=TRUE

 # Use Google Distribution Network for js Downloads
 # Default Value: FALSE
 USE_GOOGLE_CDN_JS=FALSE

 # Call Recording Format
 # Default Value: wav
 MIXMON_FORMAT=wav

 # Convert Music Files to WAV
 # Default Value: TRUE
 AMPMPG123=TRUE

 # Dashboard Non-Std SSH Port
 # Default Value:.
 SSHPORT=

 # Recordings Crypt Key
 # Default Value:.
 AMPPLAYKEY=

#
    #
    # --- CATEGORY: Time Condition Module ---
#

    #

    # Enable Maintenance Polling
 # Default Value: TRUE
 TCMAINT=TRUE

 # Maintenance Polling Interval
 # Default Value: 60
 TCINTERVAL=60

#
    #
    # --- CATEGORY: VmX Locater ---
#

    #

    # VMX Default Context
 # Default Value: from-internal
 VMX_CONTEXT=from-internal

 # VMX Default Loop Exceed Context
 # Default Value:.
 VMX_LOOPDEST_CONTEXT=

 # VMX Default Loop Exceed Extension
 # Default Value: dovm
 VMX_LOOPDEST_EXT=dovm

 # VMX Default Loop Exceed Priority
 # Default Value: 1
 VMX_LOOPDEST_PRI=1

 # VMX Default Priority
 # Default Value: 1
 VMX_PRI=1

 # VMX Default Timeout Extension
 # Default Value: dovm
 VMX_TIMEDEST_EXT=dovm

 # VMX Default Timeout Priority
 # Default Value: 1
 VMX_TIMEDEST_PRI=1

#
    #
    # --- CATEGORY: Voicemail Module ---
#

    #

    # Create Voicemail Hints
 # Default Value: FALSE
 USERESMWIBLF=FALSE

 # Provide IMAP Voicemail Fields
 # Default Value: FALSE
 VM_SHOW_IMAP=FALSE

#
    #
    # --- CATEGORY: Bootstrapped or Legacy Settings ---
#

#
    #

    #
    AMPDBUSER=asteriskuser

#
    #
    AMPDBPASS=adminnn

#
    #
    AMPDBHOST=localhost

#
    #
    AMPDBNAME=asterisk

#
    #
    AMPDBENGINE=mysql

#
    #
    datasource=

 #enter code here
 AMPENABLEDEVELDEBUG=

#
    #
    DAYNIGHTTCHOOK=

</details>

Не заходит в админку Freepbx

Здравствуйте, проблема странная. в общем произошло не понятно с чего. настройки freepbx сбросились на то, что были месяца 3 назад. попытался зайти в веб админку, в ответ получил что пароль или логин не верен. зашел в файл amportal изменил. опять не пускает.

в логах freepbx 2 ошибки

PHP-WARNING (usr/share/nginx/html/admin/librories/php-asmanager.php:343) - fsockopen(): unable to connect to localhost:5038 (connection refused)
CRITICAL (/admin/bootscrap.php:122) - connection attempt to AMI Failed

Telnet localhost 5038 открывает нормально

<details><summary> amportal.conf</summary>

 #;--------------------------------------------------------------------------------
 #; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to
 #; this file must be done via the Web GUI. There are alternative files to make
 #; custom modifications, details at: http://freepbx.org/configuration_files
 #;--------------------------------------------------------------------------------


 #;--------------------------------------------------------------------------------
 #; All settings can be set from the Advanced Settings page accessible in FreePBX
 #;--------------------------------------------------------------------------------



    #
    #
# --- CATEGORY: Advanced Settings Details ---
    #

    #

# Display Friendly Name
    # Default Value: TRUE
    # Default Value: TRUE
AS_DISPLAY_FRIENDLY_NAME=TRUE

 # Display Readonly Settings
    # Default Value: FALSE
    # Default Value: FALSE
AS_DISPLAY_READONLY_SETTINGS=FALSE

 # Override Readonly Settings
    # Default Value: FALSE
    # Default Value: FALSE
AS_OVERRIDE_READONLY=FALSE

    #
    #
# --- CATEGORY: Asterisk Builtin mini-HTTP server ---
    #

    #

# Enable Static Content
    # Default Value: FALSE
    # Default Value: FALSE
HTTPENABLESTATIC=FALSE

 # Enable the mini-HTTP Server
    # Default Value: FALSE
    # Default Value: FALSE
HTTPENABLED=FALSE

 # HTTP Bind Address
 # Default Value: 0.0.0.0
 HTTPBINDADDRESS=127.0.0.1

 # HTTP Bind Port
 # Default Value: 8088
 HTTPBINDPORT=8088

 # HTTP Prefix
    # Default Value:.
    # Default Value:.
HTTPPREFIX=

    #
    #
# --- CATEGORY: Asterisk Manager ---
    #

    #

# Asterisk Manager Host
 # Default Value: localhost
 ASTMANAGERHOST=localhost

 # Asterisk Manager Password
 # Default Value: amp111
 AMPMGRPASS=amp111

 # Asterisk Manager Port
 # Default Value: 5038
 ASTMANAGERPORT=5038

 # Asterisk Manager Proxy Port
    # Default Value:.
    # Default Value:.
ASTMANAGERPROXYPORT=

 # Asterisk Manager User
 # Default Value: admin
 AMPMGRUSER=admin

 # Asterisk Manager Write Timeout
 # Default Value: 5000
 ASTMGRWRITETIMEOUT=5000

    #
    #
# --- CATEGORY: CDR Report Module ---
    #

    #

# Enable CEL Reporting
    # Default Value: FALSE
    # Default Value: FALSE
CEL_ENABLED=TRUE

    #
    #
# --- CATEGORY: Developer and Customization ---
    #

    #

# Always Download Web Assets
    # Default Value: FALSE
    # Default Value: FALSE
FORCE_JS_CSS_IMG_DOWNLOAD=FALSE

 # AMPLOCALBIN Dir for retrieve_conf
    # Default Value:.
    # Default Value:.
POST_RELOAD=

 # PRE_RELOAD Script
    # Default Value:.
    # Default Value:.
PRE_RELOAD=

 # Provide Verbose Tracebacks
    # Default Value: FALSE
    # Default Value: FALSE
DIE_FREEPBX_VERBOSE=FALSE

 # Use Packaged Javascript Library.
    # Default Value: TRUE
    # Default Value: TRUE
USE_PACKAGED_JS=TRUE

 # Post Call Recording Script
    # Default Value:.
    # Default Value:.
MIXMON_POST=

    #
    #
# --- CATEGORY: Device Settings ---
    #

    #

# Show all Device Setting on Add
    # Default Value: FALSE
    # Default Value: FALSE
ALWAYS_SHOW_DEVICE_DETAILS=FALSE

 # Require Strong Secrets
    # Default Value: TRUE
    # Default Value: TRUE
DEVICE_STRONG_SECRETS=TRUE

 # Remove mailbox Setting when no Voicemail
    # Default Value: FALSE
    # Default Value: FALSE
DEVICE_REMOVE_MAILBOX=FALSE

 # SIP canrenivite (directmedia)
 # Default Value: no
 DEVICE_SIP_CANREINVITE=no

 # SIP trustrpid
 # Default Value: yes
 DEVICE_SIP_TRUSTRPID=yes

 # SIP sendrpid
 # Default Value: no
 DEVICE_SIP_SENDRPID=no

 # SIP nat
 # Default Value: no
 DEVICE_SIP_NAT=no

 # SIP encryption
 # Default Value: no
 DEVICE_SIP_ENCRYPTION=no

 # SIP qualifyfreq
 # Default Value: 60
 DEVICE_SIP_QUALIFYFREQ=60

 # SIP and IAX qualify
 # Default Value: yes
 DEVICE_QUALIFY=yes

 # SIP and IAX allow
    # Default Value:.
    # Default Value:.
DEVICE_ALLOW=

 # SIP and IAX disallow
    # Default Value:.
    # Default Value:.
DEVICE_DISALLOW=

 # SIP and DAHDi callgroup
    # Default Value:.
    # Default Value:.
DEVICE_CALLGROUP=

 # SIP and DAHDi pickupgroup
    # Default Value:.
    # Default Value:.
DEVICE_PICKUPGROUP=

    #
    #
# --- CATEGORY: Dialplan and Operational ---
    #

    #

# Block CNAM on External Trunks
    # Default Value: FALSE
    # Default Value: FALSE
BLOCK_OUTBOUND_TRUNK_CNAM=FALSE

 # Call Forward Ringtimer Default
 # Default Value: 0
 CFRINGTIMERDEFAULT=0

 # Call Recording Policy
 # Default Value: caller
 REC_POLICY=caller

 # Conference Room App
 # Default Value: app_meetme
 ASTCONFAPP=app_confbridge

 # Convert ZAP Settings to DAHDi
    # Default Value: FALSE
    # Default Value: FALSE
ZAP2DAHDICOMPAT=TRUE

 # CW Enabled by Default
    # Default Value: TRUE
    # Default Value: TRUE
ENABLECW=TRUE

 # Disable -custom Context Includes
    # Default Value: FALSE
    # Default Value: FALSE
DISABLECUSTOMCONTEXTS=FALSE

 # Ditech VQA Inbound Setting
 # Default Value: 7
 DITECH_VQA_INBOUND=7

 # Ditech VQA Outbound Setting
 # Default Value: 7
 DITECH_VQA_OUTBOUND=7

 # Dynamically Generate Hints
    # Default Value: FALSE
    # Default Value: FALSE
DYNAMICHINTS=FALSE

 # Enable Custom Device States
    # Default Value: TRUE
    # Default Value: TRUE
USEDEVSTATE=TRUE

 # Extension Concurrency Limit
 # Default Value: 0
 CONCURRENCYLIMITDEFAULT=0

 # Feature Codes Beep Only
    # Default Value: FALSE
    # Default Value: FALSE
FCBEEPONLY=FALSE

 # Force All Internal Auto Answer
    # Default Value: FALSE
    # Default Value: FALSE
FORCE_INTERNAL_AUTO_ANSWER_ALL=FALSE

 # Generate Diversion Headers
    # Default Value: FALSE
    # Default Value: FALSE
DIVERSIONHEADER=FALSE

 # Internal Auto Answer Default
 # Default Value: disabled
 DEFAULT_INTERNAL_AUTO_ANSWER=disabled

 # NoOp Traces in Dialplan
 # Default Value: 0
 NOOPTRACE=0
 # Occupied Lines CW Busy
    # Default Value: TRUE
    # Default Value: TRUE
CWINUSEBUSY=TRUE

 # Only Use Last CID Prepend
    # Default Value: TRUE
    # Default Value: TRUE
CID_PREPEND_REPLACE=TRUE

 # Polling Interval for Stopping Asterisk
 # Default Value: 2
 ASTSTOPPOLLINT=2

 # Trunk Dial Timeout
 # Default Value: 300
 TRUNK_RING_TIMER=300

 # Use bad-number Context
    # Default Value: TRUE
    # Default Value: TRUE
AMPBADNUMBER=TRUE

 # Use Google DNS for Enum
    # Default Value: FALSE
    # Default Value: FALSE
USEGOOGLEDNSFORENUM=FALSE

 # Waiting Period to Stop Asterisk
 # Default Value: 120
 ASTSTOPTIMEOUT=120

 # Asterisk Dial Options
 # Default Value: Ttr
 DIAL_OPTIONS=Ttr

 # Asterisk Outbound Trunk Dial Options
 # Default Value: Tt
 TRUNK_OPTIONS=Tt

 # Country Indication Tones
 # Default Value: us
 TONEZONE=us

 # Display CallerID on Calling Phone
    # Default Value: TRUE
    # Default Value: TRUE
OUTBOUND_CID_UPDATE=TRUE

 # Display Dialed Number on Calling Phone
    # Default Value: TRUE
    # Default Value: TRUE
OUTBOUND_DIAL_UPDATE=TRUE

 # Display Presence State of Callee
    # Default Value: TRUE
    # Default Value: TRUE
CONNECTEDLINE_PRESENCESTATE=TRUE

 # Ringtime Default
 # Default Value: 15
 RINGTIMER=40

 # Speaking Clock Time Format
 # Default Value: 12 Hour Format
 TIMEFORMAT=24\ Hour\ Format

    #
    #
# --- CATEGORY: Directory Layout ---
    #

    #

# Asterisk AGI Dir
 # Default Value: /var/lib/asterisk/agi-bin
 ASTAGIDIR=/var/lib/asterisk/agi-bin

 # Asterisk bin Dir
 # Default Value: /var/lib/asterisk
 ASTVARLIBDIR=/var/lib/asterisk

 # Asterisk etc Dir
 # Default Value: /etc/asterisk
 ASTETCDIR=/etc/asterisk

 # Asterisk Log Dir
 # Default Value: /var/log/asterisk
 ASTLOGDIR=/var/log/asterisk

 # Asterisk Modules Dir
 # Default Value: /usr/lib/asterisk/modules
 ASTMODDIR=/usr/lib/asterisk/modules

 # Asterisk Run Dir
 # Default Value: /var/run/asterisk
 ASTRUNDIR=/var/run/asterisk

 # Asterisk Spool Dir
 # Default Value: /var/spool/asterisk
 ASTSPOOLDIR=/var/spool/asterisk

 # CGI Dir
 # Default Value: /var/www/cgi-bin.
 AMPCGIBIN=/var/www/cgi-bin\.

 # FreePBX bin Dir
 # Default Value: /var/lib/asterisk/bin
 AMPBIN=/var/lib/asterisk/bin
 # FreePBX bin Dir
 # Default Value: /var/lib/asterisk/bin
 AMPBIN=/var/lib/asterisk/bin

 # FreePBX sbin Dir
 # Default Value: /usr/sbin
 AMPSBIN=/usr/sbin

 # FreePBX Web Root Dir
 # Default Value: /var/www/html
 AMPWEBROOT=/usr/share/nginx/html

 # MoH Subdirectory
 # Default Value: moh
 MOHDIR=moh

 # Override Call Recording Location
    # Default Value:.
    # Default Value:.
MIXMON_DIR=

    #
    #
# --- CATEGORY: Flash Operator Panel ---
    #

    #

# FOP Web Root Dir
    # Default Value:.
    # Default Value:.
FOPWEBROOT=

    #
    #
# --- CATEGORY: Follow Me Module ---
    #

    #

# Create Follow Me at Extension Creation Time
    # Default Value: FALSE
    # Default Value: FALSE
FOLLOWME_AUTO_CREATE=FALSE

 # Disable Follow Me Upon Creation
    # Default Value: TRUE
    # Default Value: TRUE
FOLLOWME_DISABLED=TRUE

 # Default Follow Me Ring Time
 # Default Value: 20
 FOLLOWME_TIME=20

 # Default Follow Me Initial Ring Time
 # Default Value: 7
 FOLLOWME_PRERING=7

 # Default Follow Me Ring Strategy
 # Default Value: ringallv2-prim
 FOLLOWME_RG_STRATEGY=ringallv2-prim

    #
    #
# --- CATEGORY: GUI Behavior ---
    #

    #

# Abort Config Gen on Bad Dest
    # Default Value: FALSE
    # Default Value: FALSE
BADDESTABORT=FALSE

 # Abort Config Gen on Exten Conflict
    # Default Value: FALSE
    # Default Value: FALSE
XTNCONFLICTABORT=FALSE

 # Check Server Referrer
    # Default Value: TRUE
    # Default Value: TRUE
CHECKREFERER=FALSE

 # Include Server Name in Browser
    # Default Value: FALSE
    # Default Value: FALSE
SERVERINTITLE=FALSE

 # Report Unknown Dest as Error
    # Default Value: TRUE
    # Default Value: TRUE
CUSTOMASERROR=TRUE

 # Require Confirm with Apply Changes
    # Default Value: TRUE
    # Default Value: TRUE
RELOADCONFIRM=TRUE

 # Show Language setting
    # Default Value: FALSE
    # Default Value: FALSE
SHOWLANGUAGE=TRUE

 # Use freepbx_menu.conf Configuration
    # Default Value: FALSE
    # Default Value: FALSE
USE_FREEPBX_MENU_CONF=FALSE

 # Use wget For Module Admin
    # Default Value: FALSE
    # Default Value: FALSE
MODULEADMINWGET=FALSE

 # Dashboard Info Update Frequency
 # Default Value: 30
 DASHBOARD_INFO_UPDATE_TIME=30

 # Dashboard Max Calls Initial Scale
    # Default Value:.
    # Default Value:.
MAXCALLS=
 # Dashboard Stats Update Frequency
 # Default Value: 6
 DASHBOARD_STATS_UPDATE_TIME=6

    #
    #
# --- CATEGORY: Queues Module ---
    #

    #

# Persistent Members
    # Default Value: TRUE
    # Default Value: TRUE
QUEUES_PESISTENTMEMBERS=TRUE

 # Honor Wrapup Time Across Queues
    # Default Value: TRUE
    # Default Value: TRUE
QUEUES_SHARED_LASTCALL=TRUE

 # Set Agent Name in CDR dstchannel
    # Default Value: FALSE
    # Default Value: FALSE
QUEUES_UPDATECDR=FALSE

 # Use MixMonitor for Recordings
    # Default Value: TRUE
    # Default Value: TRUE
QUEUES_MIX_MONITOR=TRUE

 # Hide Queue No Answer Option
    # Default Value: TRUE
    # Default Value: TRUE
QUEUES_HIDE_NOANSWER=TRUE

 # Asterisk Queues Patch 15168 Installed
    # Default Value: FALSE
    # Default Value: FALSE
USEQUEUESTATE=FALSE

 # Agent Called Events Default
    # Default Value: FALSE
    # Default Value: FALSE
QUEUES_EVENTS_WHEN_CALLED_DEFAULT=FALSE

 # Generate queuenum*/** Login/off Codes
    # Default Value: TRUE
    # Default Value: TRUE
GENERATE_LEGACY_QUEUE_CODES=TRUE

 # Memeber Status Event Default
    # Default Value: FALSE
    # Default Value: FALSE
QUEUES_EVENTS_MEMEBER_STATUS_DEFAULT=FALSE

    #
    #
# --- CATEGORY: Remote CDR Database ---
    #

    #

# Remote CDR DB Host
    # Default Value:.
    # Default Value:.
CDRDBHOST=

 # Remote CDR DB Name
    # Default Value:.
    # Default Value:.
CDRDBNAME=

 # Remote CDR DB Password
    # Default Value:.
    # Default Value:.
CDRDBPASS=

 # Remote CDR DB Port
    # Default Value:.
    # Default Value:.
CDRDBPORT=

 # Remote CDR DB Table
    # Default Value:.
    # Default Value:.
CDRDBTABLENAME=

 # Remote CDR DB Type
    # Default Value:.
    # Default Value:.
CDRDBTYPE=

 # Remote CDR DB User
    # Default Value:.
    # Default Value:.
CDRDBUSER=

    #
    #
# --- CATEGORY: Ring Group Module ---
    #

    #

# Display Extension Ring Group Members
    # Default Value: FALSE
    # Default Value: FALSE
EXTENSION_LIST_RINGGROUPS=FALSE

    #
    #
# --- CATEGORY: Styling and Logos ---
    #

    #

# Image: Left Upper
 # Default Value: images/tango.png
 BRAND_IMAGE_TANGO_LEFT=images/tango.png

 # Image: Footer
 # Default Value: images/freepbx_small.png
 BRAND_IMAGE_FREEPBX_FOOT=images/freepbx_small.png

 # Image: Footer
 # Default Value: images/schmooze-logo.png
 BRAND_IMAGE_SPONSOR_FOOT=images/schmooze-logo.png

 # Alt for Left Logo
 # Default Value: FreePBX
 BRAND_FREEPBX_ALT_LEFT=FreePBX

 # Alt for Footer Logo
    # Default Value: FreePBX®
    BRAND_FREEPBX_ALT_FOOT=FreePBX®

    # Default Value: FreePBX&reg;
BRAND_FREEPBX_ALT_FOOT=FreePBX&reg;

# Alt for Footer Logo
 # Default Value: www.schmoozecom.com
 BRAND_SPONSOR_ALT_FOOT=www.schmoozecom.com

 # Link for Left Logo
 # Default Value: http://www.freepbx.org
 BRAND_IMAGE_FREEPBX_LINK_LEFT=http://www.freepbx.org

 # Link for Footer Logo
 # Default Value: http://www.freepbx.org
 BRAND_IMAGE_FREEPBX_LINK_FOOT=http://www.freepbx.org

 # Link for Sponsor Footer Logo
 # Default Value: http://www.schmoozecom.com
 BRAND_IMAGE_SPONSOR_LINK_FOOT=http://www.schmoozecom.com

 # Primary CSS Stylesheet
    # Default Value:.
    # Default Value:.
BRAND_CSS_ALT_MAINSTYLE=

 # Primary CSS Popover Stylesheet Addtion
    # Default Value:.
    # Default Value:.
BRAND_CSS_ALT_POPOVER=

 # Optional Additional CSS Stylesheet
    # Default Value:.
    # Default Value:.
BRAND_CSS_CUSTOM=

    #
    #
# --- CATEGORY: System Apps ---
    #

    #

# Path for rm
 # Default Value: /usr/bin/rm
 WHICH_rm=/usr/bin/rm

    #
    #
# --- CATEGORY: System Setup ---
    #

    #

# FreePBX Log Routing
 # Default Value: FILE
 AMPSYSLOGLEVEL=FILE

 # Disable FreePBX Log
    # Default Value: FALSE
    # Default Value: FALSE
AMPDISABLELOG=FALSE

 # Log Verbose Messages
    # Default Value: TRUE
    # Default Value: TRUE
LOG_OUT_MESSAGES=TRUE

 # Send Dashboard Notifications to Log
    # Default Value: TRUE
    # Default Value: TRUE
LOG_NOTIFICATIONS=TRUE

 # FreePBX Log File
 # Default Value: /var/log/asterisk/freepbx.log
 FPBX_LOG_FILE=/var/log/asterisk/freepbx.log

 # PHP Error Log Output
 # Default Value: freepbxlog
 PHP_ERROR_HANDLER_OUTPUT=freepbxlog

 # Aggresively Check for Duplicate Extensions
    # Default Value: FALSE
    # Default Value: FALSE
AGGRESSIVE_DUPLICATE_CHECK=FALSE

 # User & Devices Mode
 # Default Value: extensions
 AMPEXTENSIONS=extensions

 # Authorization Type
 # Default Value: database
 AUTHTYPE=database

 # Allow Login With DB Credentials
    # Default Value: FALSE
    # Default Value: FALSE
AMP_ACCESS_DB_CREDS=FALSE

 # User Portal Admin Username
    # Default Value:.
    # Default Value:.
ARI_ADMIN_USERNAME=admin

 # User Portal Admin Password
 # Default Value: ari_password
 ARI_ADMIN_PASSWORD=adminnn

 # Asterisk VMU Mask
 # Default Value: 007
 AMPVMUMASK=007
 # Browser Stats
    # Default Value: TRUE
    # Default Value: TRUE
BROWSER_STATS=TRUE

 # Force Asterisk Version
    # Default Value:.
    # Default Value:.
FORCED_ASTVERSION=

 # FreePBX Web Address
    # Default Value:.
    # Default Value:.
AMPWEBADDRESS=

 # System Asterisk Group
 # Default Value: asterisk
 AMPASTERISKGROUP=asterisk

 # System Asterisk User
 # Default Value: asterisk
 AMPASTERISKUSER=asterisk

 # System Device Group
 # Default Value: asterisk
 AMPDEVGROUP=asterisk

 # System Device User
 # Default Value: asterisk
 AMPDEVUSER=asterisk

 # System Web Group
 # Default Value: asterisk
 AMPASTERISKWEBGROUP=asterisk

 # System Web User
 # Default Value: asterisk
 AMPASTERISKWEBUSER=asterisk

 # Telephony Engine
 # Default Value: asterisk
 AMPENGINE=asterisk

 # Update Notifications
    # Default Value: TRUE
    # Default Value: TRUE
CRONMAN_UPDATES_CHECK=TRUE

 # Use Google Distribution Network for js Downloads
    # Default Value: FALSE
    # Default Value: FALSE
USE_GOOGLE_CDN_JS=FALSE

 # Call Recording Format
 # Default Value: wav
 MIXMON_FORMAT=wav

 # Convert Music Files to WAV
    # Default Value: TRUE
    # Default Value: TRUE
AMPMPG123=TRUE

 # Dashboard Non-Std SSH Port
    # Default Value:.
    # Default Value:.
SSHPORT=

 # Recordings Crypt Key
    # Default Value:.
    # Default Value:.
AMPPLAYKEY=

    #
    #
# --- CATEGORY: Time Condition Module ---
    #

    #

# Enable Maintenance Polling
    # Default Value: TRUE
    # Default Value: TRUE
TCMAINT=TRUE

 # Maintenance Polling Interval
 # Default Value: 60
 TCINTERVAL=60

    #
    #
# --- CATEGORY: VmX Locater ---
    #

    #

# VMX Default Context
 # Default Value: from-internal
 VMX_CONTEXT=from-internal

 # VMX Default Loop Exceed Context
    # Default Value:.
    # Default Value:.
VMX_LOOPDEST_CONTEXT=

 # VMX Default Loop Exceed Extension
 # Default Value: dovm
 VMX_LOOPDEST_EXT=dovm

 # VMX Default Loop Exceed Priority
 # Default Value: 1
 VMX_LOOPDEST_PRI=1

 # VMX Default Priority
 # Default Value: 1
 VMX_PRI=1

 # VMX Default Timeout Extension
 # Default Value: dovm
 VMX_TIMEDEST_EXT=dovm

 # VMX Default Timeout Priority
 # Default Value: 1
 VMX_TIMEDEST_PRI=1

    #
    #
# --- CATEGORY: Voicemail Module ---
    #

    #

# Create Voicemail Hints
    # Default Value: FALSE
    # Default Value: FALSE
USERESMWIBLF=FALSE

 # Provide IMAP Voicemail Fields
    # Default Value: FALSE
    # Default Value: FALSE
VM_SHOW_IMAP=FALSE

    #
    #
# --- CATEGORY: Bootstrapped or Legacy Settings ---
    #

    #
    #

#
AMPDBUSER=asteriskuser

    #
    #
AMPDBPASS=adminnn

    #
    #
AMPDBHOST=localhost

    #
    #
AMPDBNAME=asterisk

    #
    #
AMPDBENGINE=mysql

    #
    #
datasource=

 #enter code here
 AMPENABLEDEVELDEBUG=

    #
    #
DAYNIGHTTCHOOK=

</details>

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.