[AsteriskBrasil] A2billing Sem sucesso.

Ubiratã Guanabara ubirata.guanabara em gmail.com
Sábado Julho 23 18:41:11 BRT 2011


Bom noite senhores,


estou tentando instalar o A2Billing versão 1.9.4 Stable mais não estou tendo
sucesso,segui o tutorial :
http://www.asterisk2billing.org/cgi-bin/trac.cgi/wiki/Installation%20Guide mais
existe algumas partes que não batem com a realidade ,tipo :


Configure & customize the Interface : a2billing.conf

To configure the Web interface you will need to make changes in the section
[webui]

;

 configuration for the Web interface
[webui]

; Path to store the asterisk configuration files
buddyfilepath = /etc/asterisk/

; Email of the admin (not used yet)
email_admin = info em areski.net

; Card lenght
len_cardnumber = 10

; Voucher lenght
len_voucher = 15

;amount of MOH class you have created in musiconhold.conf : acc_1,
acc_2... acc_10 class	etc...
num_musiconhold_class = 10

;MANAGER CONNECTION PARAMETERS
manager_host = localhost
manager_username = myasterisk
manager_secret = mycode

; Allow to display the help section inside the admin interface  (YES - NO)
show_help="YES"

; Parameter of the upload
; PLEASE CHECK ALSO THE VALUE IN YOUR PHP.INI THE LIMIT IF 2MG BY DEFAULT
my_max_file_size_import = 512000
my_max_file_size = 512000	; in bytes

; Not used yet, goal is to upload files and use them directly in the IVR
dir_store_audio = /var/lib/asterisk/sounds/a2billing

;Parameter of the upload
my_max_file_size_audio=3072000 ; in bytes

; the file type extensions allowed to be uploaded such as "gsm, mp3,
wav" (separate by ,)
file_ext_allow = gsm, mp3, wav

; the file type extensions allowed to be uploaded for the musiconhold
such as "gsm, mp3, wav"  (separate by ,)
file_ext_allow_musiconhold = mp3

; ENABLE THE CDR VIEWER TO LINK ON THE MONITOR FILES (YES - NO)
link_audio_file = "NO"

 ; PATH TO LINK ON THE RECORDED MONITOR FILES
monitor_path = /var/spool/asterisk/monitor
// grant access to apache user on read mode for the directory :>
chmod 755  /var/spool/asterisk/monitor/

; FORMAT OF THE RECORDED MONITOR FILE
monitor_formatfile = gsm

; Display the icon in the invoice
show_icon_invoice = "YES"

; Display the top frame (useful if you want to save space on your
little tiny screen )

show_top_frame = "NO"


não tem esse arquivo na pasta do a2billing,mesmo sem essa parte segui o
tutorial e ao tentar abrir a pagina webdo a2illing a pagina fica em branco ,
no log do apache aparece a seguinte mensagem :

[Tue Jul 19 17:53:51 2011] [error] [client 192.168.15.77] PHP Warning:
 include(../lib/admin.smarty.php) [<a
href='function.include'>function.include</a>]: failed to open stream: No
such file or directory in /var/www/html/admin/Public/index.php on line 36
[Tue Jul 19 17:53:51 2011] [error] [client 192.168.15.77] PHP Warning:
 include() [<a href='function.include'>function.include</a>]: Failed opening
'../lib/admin.smarty.php' for inclusion
(include_path='.:/usr/share/pear:/usr/share/php') in
/var/www/html/admin/Public/index.php on line 36
[Tue Jul 19 17:53:51 2011] [error] [client 192.168.15.77] PHP Fatal error:
 Call to undefined function getpost_ifset() in
/var/www/html/admin/Public/index.php on line 38
[Tue Jul 19 17:53:51 2011] [error] [client 192.168.15.77] File does not
exist: /var/www/html/favicon.ico
[Tue Jul 19 17:54:31 2011] [error] [client 192.168.15.77] PHP Warning:
 include(../lib/admin.defines.php) [<a
href='function.include'>function.include</a>]: failed to open stream: No
such file or directory in /var/www/html/admin/Public/index.php on line 35
[Tue Jul 19 17:54:31 2011] [error] [client 192.168.15.77] PHP Warning:
 include() [<a href='function.include'>function.include</a>]: Failed opening
'../lib/admin.defines.php' for inclusion
(include_path='.:/usr/share/pear:/usr/share/php') in
/var/www/html/admin/Public/index.php on line 35
[Tue Jul 19 17:54:31 2011] [error] [client 192.168.15.77] PHP Warning:
 include(../lib/admin.smarty.php) [<a
href='function.include'>function.include</a>]: failed to open stream: No
such file or directory in /var/www/html/admin/Public/index.php on line 36
[Tue Jul 19 17:54:31 2011] [error] [client 192.168.15.77] PHP Warning:
 include() [<a href='function.include'>function.include</a>]: Failed opening
'../lib/admin.smarty.php' for inclusion
(include_path='.:/usr/share/pear:/usr/share/php') in
/var/www/html/admin/Public/index.php on line 36
[Tue Jul 19 17:54:31 2011] [error] [client 192.168.15.77] PHP Fatal error:
 Call to undefined function getpost_ifset() in
/var/www/html/admin/Public/index.php on line 38
[Tue Jul 19 17:54:31 2011] [error] [client 192.168.15.77] File does not
exist: /var/www/html/favicon.ico


Alguém poderia me ajudar?? tentei outros tutorias na internet mais todos
seguem o mesmo caminho.


asterisk-1.8.5.0/
CentOS 5.6
-- 
Atenciosamente,

Uburatã Guanabara
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20110723/9f3919ce/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil