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

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

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

ответил 2011-08-22 14:42:45 +0400

Trent Gravatar Trent

/etc/freepbx.conf

conf['AMPDBUSER'] = 'asteriskuser'; $ampconf['AMPDBPASS'] = 'XXXX'; $ampconf['AMPDBHOST'] = 'localhost'; $ampconf['AMPDBNAME'] = 'asterisk'; $ampconf['AMPDBENGINE'] = 'mysql'; $ampconf['datasource'] = ''; //for sqlite3

require_once('/var/www/freepbx/admin/bootstrap.php');

/etc/asterisk/manager.conf

; ; AMI - Asterisk Manager interface ; ; FreePBX needs this to be enabled. Note that if you enable it on a different IP, you need ; to assure that this can't be reached from un-authorized hosts with the ACL settings (permit/deny). ; Also, remember to configure non-default port or IP-addresses in amportal.conf. ; ; The AMI connection is used both by the portal and the operator's panel in FreePBX. ; ; FreePBX assumes an AMI connection to localhost:5038 by default. ; [general] enabled = yes port = 5038 bindaddr = 0.0.0.0 displayconnects=no ;only effects 1.6+

[admin] secret = XXXX deny=0.0.0.0/0.0.0.0 permit=127.0.0.1/255.255.255.0 read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate

#include manageradditional.conf #include managercustom.conf

/etc/freepbx.conf

conf['AMPDBUSER']

<?php
$amp_conf['AMPDBUSER']  = 'asteriskuser';
$ampconf['AMPDBPASS'] $amp_conf['AMPDBPASS']  = 'XXXX';
$ampconf['AMPDBHOST'] $amp_conf['AMPDBHOST']  = 'localhost';
$ampconf['AMPDBNAME'] $amp_conf['AMPDBNAME']  = 'asterisk';
$ampconf['AMPDBENGINE'] $amp_conf['AMPDBENGINE'] = 'mysql';
$ampconf['datasource'] $amp_conf['datasource'] = ''; //for sqlite3

sqlite3

require_once('/var/www/freepbx/admin/bootstrap.php');

require_once('/var/www/freepbx/admin/bootstrap.php');

/etc/asterisk/manager.conf

;
; AMI - Asterisk Manager interface
;
; FreePBX needs this to be enabled. Note that if you enable it on a different IP, you need
; to assure that this can't be reached from un-authorized hosts with the ACL settings (permit/deny).
; Also, remember to configure non-default port or IP-addresses in amportal.conf.
; 
; The AMI connection is used both by the portal and the operator's panel in FreePBX.
;
; FreePBX assumes an AMI connection to localhost:5038 by default.
;
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+

1.6+

[admin] secret = XXXX deny=0.0.0.0/0.0.0.0 permit=127.0.0.1/255.255.255.0 read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate

system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate #include manager_additional.conf #include manager_custom.conf

#include manageradditional.conf #include managercustom.conf

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.