A2BILLING Could not open buddy file '/etc/asterisk/additional_a2billing_sip.conf'

Forums: 

Amigos,

Estoy tratando de poner A2BILLING, segui los procedimientos de ecualug indica en (instalar_un_sistema_de_facturacion_para_asterisk) sin embargo cuando quiero crear usuarios SIP e IAX me genera el siguiente error por la interface web:

Could not open buddy file '/etc/asterisk/additional_a2billing_sip.conf'

La version de A2Billing es 1.2.2 y la de mi asterisk es 1.2.18, lei por ahi que se trata de permisos de carpeta /etc/asterisk y/o de archivos que contiene esta carpeta pero no creo que sea ese el problema porque todos están con chmod 777 asi que tienen todos los permisos, luego vi en un foro que es cuestion de variar algunos parametros en los archivos :

/var/www/html/A2Billing_UI/Public/CC_generate_friend_file.php
/var/www/html/A2Billing_UI/Public/A2B_entity_card_multi.php
/var/www/html/A2Billing_UI/lib/Form/Class.FormHandler.inc.php

pero igual, si alguien me puede dar una ayudadita se lo agradeceria mucho.

Gracias por su ayuda de antemano.

Saludos,
Charles

Tienes problemas con la

Imagen de RazaMetaL

Tienes problemas con la permisologia. Mira cual es el usario que usa apache y dale permisos a esa ruta para que ese usuario pueda escribir ahi.

En mi caso, mi usuario es www-data:


chown -R asterisk:www-data /etc/asterisk

------------

Antes de preguntar visita el [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

 

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});

cat /etc/group | grep

Imagen de RazaMetaL


cat /etc/group | grep apache

------------

Antes de preguntar visita el [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

 

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});

Hola mira hice lo que me

Hola mira hice lo que me dijiste veo que el usuarui es apache asi que lo que hice fue lo siguiente :
[root@localhost asterisk]# cat /etc/group | grep apache
apache:x:48:
[root@localhost asterisk]# chown -R apache:apache /etc/asterisk/

y Ahora tengo :

[root@localhost asterisk]# ls -la
total 548
drwxrwxrwx 2 apache apache 4096 ago 3 11:19 .
drwxr-xr-x 111 root root 12288 ago 3 04:02 ..
-rw-r--r-- 1 apache apache 176 jul 19 01:03 1
-rwxrwxrwx 1 apache apache 16997 jul 22 23:10 a2billing.conf
-rw-rw-rw- 1 apache apache 0 jul 22 19:31 additional_a2billing_iax.conf
-rw-rw-rw- 1 apache apache 0 jul 22 19:31 additional_a2billing_sip.conf
-rwxrwxrwx 1 apache apache 140 jun 13 23:08 adsi.conf
-rwxrwxrwx 1 apache apache 840 jun 13 23:08 adtranvofr.conf
-rwxrwxrwx 1 apache apache 2136 jun 13 23:08 agents.conf
-rwxrwxrwx 1 apache apache 2227 jun 13 23:08 alarmreceiver.conf
-rwxrwxrwx 1 apache apache 748 jun 13 23:08 alsa.conf
-rwxrwxrwx 1 apache apache 3260 jun 13 23:08 asterisk.adsi
-rwxrwxrwx 1 apache apache 403 jun 13 23:08 asterisk.conf
-rwxrwxrwx 1 apache apache 2191 jun 13 23:08 cdr.conf
-rwxrwxrwx 1 apache apache 388 jun 13 23:08 cdr_custom.conf
-rwxrwxrwx 1 apache apache 59 jun 13 23:08 cdr_manager.conf
-rwxrwxrwx 1 apache apache 221 jun 13 23:08 cdr_odbc.conf
-rwxrwxrwx 1 apache apache 204 jun 13 23:08 cdr_pgsql.conf
-rwxrwxrwx 1 apache apache 159 jun 13 23:08 cdr_tds.conf
-rwxrwxrwx 1 apache apache 1655 jun 13 23:08 codecs.conf
-rwxrwxrwx 1 apache apache 191 jun 13 23:08 dnsmgr.conf
-rwxrwxrwx 1 apache apache 7744 jun 13 23:08 dundi.conf
-rwxrwxrwx 1 apache apache 585 jun 13 23:08 enum.conf
-rwxrwxrwx 1 apache apache 1375 jul 19 01:06 extconfig.conf
-rwxrwxrwx 1 apache apache 0 jul 14 13:06 extensions_a2billing.conf
-rwxrwxrwx 1 apache apache 1083 jun 13 23:08 extensions.ael
-rwxrwxrwx 1 apache apache 3776 ago 3 11:18 extensions.conf
-rwxrwxrwx 1 apache apache 137 jul 14 13:57 extensions_custom.conf
-rwxrwxrwx 1 apache apache 220 ago 3 11:19 extensions_extra.conf
-rwxrwxrwx 1 apache apache 1656 jun 13 23:08 features.conf
-rwxrwxrwx 1 apache apache 929 jun 13 23:08 festival.conf
-rwxrwxrwx 1 apache apache 282 jul 22 16:06 iax.conf
-rwxrwxrwx 1 apache apache 2445 jul 18 23:05 iaxprov.conf
-rwxrwxrwx 1 apache apache 21797 jun 13 23:08 indications.conf
-rwxrwxrwx 1 apache apache 2158 jun 13 23:08 logger.conf
-rwxrwxrwx 1 apache apache 1747 jul 22 18:02 manager.conf
-rwxrwxrwx 1 apache apache 934 jun 13 23:08 meetme.conf
-rwxrwxrwx 1 apache apache 2249 jun 13 23:08 mgcp.conf
-rwxrwxrwx 1 apache apache 8181 jun 13 23:08 misdn.conf
-rwxrwxrwx 1 apache apache 2514 jun 13 23:08 modem.conf
-rwxrwxrwx 1 apache apache 1402 jun 13 23:08 modules.conf
-rwxrwxrwx 1 apache apache 2327 jul 11 23:48 musiconhold.conf
-rwxrwxrwx 1 apache apache 953 ago 1 17:24 ooh323_additional.conf
-rwxrwxrwx 1 apache apache 3477 jul 17 23:18 ooh323.conf
-rwxrwxrwx 1 apache apache 1821 jun 13 23:08 osp.conf
-rwxrwxrwx 1 apache apache 1163 jun 13 23:08 oss.conf
-rwxrwxrwx 1 apache apache 1418 jun 13 23:08 phone.conf
-rwxrwxrwx 1 apache apache 81 jun 13 23:08 privacy.conf
-rwxrwxrwx 1 apache apache 6776 jun 13 23:08 queues.conf
-rwxrwxrwx 1 apache apache 579 jun 13 23:08 res_odbc.conf
-rwxrwxrwx 1 apache apache 6961 jun 13 23:08 rpt.conf
-rwxrwxrwx 1 apache apache 427 jun 16 22:13 rtp.conf
-rwxrwxrwx 1 apache apache 0 jul 14 13:52 sip_a2billing.conf
-rwxrwxrwx 1 apache apache 1289 jul 22 18:37 sip.conf
-rwxrwxrwx 1 apache apache 315 jun 13 23:08 sip_notify.conf
-rwxrwxrwx 1 apache apache 1282 jun 13 23:08 skinny.conf
-rwxrwxrwx 1 apache apache 1384 jun 13 23:08 telcordia-1.adsi
-rwxrwxrwx 1 apache apache 9935 jun 13 23:08 voicemail.conf
-rwxrwxrwx 1 apache apache 2774 jun 13 23:08 vpb.conf
-rwxrwxrwx 1 apache apache 18774 jun 13 23:08 zapata.conf
[root@localhost asterisk]#

Sin embargo todavia tengo el mismo problema que cuando quiero crear un user SIP me da Could not open buddy file '/etc/asterisk/additional_a2billing_sip.conf'

Ya reinicie el servicio de asterisk y el de /etc/init.d/httpd para estar seguro que tome efecto pero igual.

Gracias,

Mira la respuesta

Imagen de RazaMetaL

Mira la respuesta en:

[url]http://www.ecualug.org/?q=2006/07/19/comos/instalar_un_sistema_de_facturacion_para_asterisk#comment-23769[/url]

------------

Antes de preguntar visita el [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

 

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});