[AsteriskBrasil] A2billing Sem sucesso.

Wendel wendelmaques em gmail.com
Segunda Julho 25 14:00:10 BRT 2011


Ubiratã, o erro é que o link lib está errado, veja via console ssh que o
link deve tá quebrado.
Use o comando abaixo no diretório admin
file lib
e veja pra onde ele aponta.

Tente seguir o guia de instalação que está aqui
http://www.asterisk2billing.org/cgi-bin/trac.cgi/browser/trunk/INSTALL.Centospois
ele indica como fazer o link dos arquivos corretamente.

2011/7/25 Ubiratã Guanabara <ubirata.guanabara em gmail.com>

> Alguém sabe algum tutorial que eu siga passo a passo e que funcione a
> instalação?
>
> acredito que por ser uma versão atual o próprio site da a2billing não
> atualizou a instalação pois os locais dos arquivos que eles dizem no
> tutorial não conferem com os baixados.
>
>
> 2011/7/23 Ubiratã Guanabara <ubirata.guanabara em gmail.com>
>
>> 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
>>
>
>
>
> --
> Atenciosamente,
>
> Uburatã Guanabara
>
> _______________________________________________
> KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.
> - Hardware com alta disponibilidade de recursos e qualidade KHOMP
> - Suporte técnico local qualificado e gratuito
> Conheça a linha completa de produtos KHOMP em www.khomp.com.br
> _______________________________________________
> DIGIVOICE: Lider no mercado de placas para Asterisk
> Único fabricante com Centro de Treinamento especializado.
> LANÇAMENTO: Channel Bank TDMoE, até 64 canais FXS / FXO.
> www.digivoice.com.br ou (11)3016-5200.
> ________
> Lista de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> ______________________________________________
> Para remover seu email desta lista, basta enviar um email em branco para
> asteriskbrasil-unsubscribe em listas.asteriskbrasil.org
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20110725/f847f32a/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil