You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
Olá, ao fazer todo o procedimento passo-a-passo de instalação do Asterisk no script asterisk.sh e no vídeo https://www.youtube.com/watch?v=IAAkmZMfby0&t=1015s me deparei com esse seguinte erro quando digito "asterisk -rvvvv". Já tentei usar também "asterisk -cvvvvv" (uma possível solução que vi na documentação do próprio Asterisk) e não resolveu. Procurei soluções para o problema e vi que possíveis causas poderiam devido ao usuário não ter permissão para o arquivo ou o Asterisk não tem acesso de escrita no arquivo /var/run/asterisk ou o meu usuário não tem permissão de escrita ao asterisk.ctl. Enfim, ao executar o comando "asterisk -cvvvvv", me deparei com as seguintes mensagens de avisos e erro:
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 1 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 2 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 3 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 4 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 5 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 6 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 7 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 8 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 9 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 10 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 11 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 13 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1960 process_text_line: parse error: No category context for line 14 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: loader.c:2224 loader_config_init: 'modules.conf' invalid or missing.
[Sep 20 11:17:04] ERROR[1802]: asterisk.c:3935 check_init: Module initialization failed. ASTERISK EXITING!
Olá, ao fazer todo o procedimento passo-a-passo de instalação do Asterisk no script asterisk.sh e no vídeo https://www.youtube.com/watch?v=IAAkmZMfby0&t=1015s me deparei com esse seguinte erro quando digito "asterisk -rvvvv". Já tentei usar também "asterisk -cvvvvv" (uma possível solução que vi na documentação do próprio Asterisk) e não resolveu. Procurei soluções para o problema e vi que possíveis causas poderiam devido ao usuário não ter permissão para o arquivo ou o Asterisk não tem acesso de escrita no arquivo /var/run/asterisk ou o meu usuário não tem permissão de escrita ao asterisk.ctl. Enfim, ao executar o comando "asterisk -cvvvvv", me deparei com as seguintes mensagens de avisos e erro:
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 1 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 2 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 3 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 4 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 5 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 6 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 7 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 8 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 9 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 10 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 11 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1891 process_text_line: Unknown directive '#' at line 13 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: config.c:1960 process_text_line: parse error: No category context for line 14 of /etc/asterisk/modules.conf
[Sep 20 11:17:04] WARNING[1802]: loader.c:2224 loader_config_init: 'modules.conf' invalid or missing.
[Sep 20 11:17:04] ERROR[1802]: asterisk.c:3935 check_init: Module initialization failed. ASTERISK EXITING!
== Manager unregistered action DBGet
== Manager unregistered action DBPut
== Manager unregistered action DBDel
== Manager unregistered action DBDelTree
Queria saber como proceder para resolver. Grato pela atenção!
The text was updated successfully, but these errors were encountered: