
		rodrilinux
		
		(usa Debian)
		
		Enviado em 02/09/2016 - 15:37h 
		Instalei o Freepbx em uma VM para tentar replicar o problema.
Criei os trunks de entrada e saída e um ramal para testes e também não registrou o ramal, no caso 5000, ao dar um reload retornou o seguinte erro: 
exit: 255 Unable to continue. fopen(/var/www/html/admin/modules/cxpanel/main.log): failed to open stream: Permission denied in /var/www/html/admin/modules/cxpanel/lib/logger.class.php on line 42 1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.
Dei uma buca no google e pra minha surpresa a solução é simples, logar noservidor e executar  fwconsole chown
Depois de rodar este comando meu server registrou os trunks e o ramal 5000 . Segue CDR da minha ligação de testes pra fora da rede:
2016-09-02 15:06:49		1472839609.0	<5000>	<minha autenticação VoIP>		Dial	número de destino	ANSWERED	00:33				
Criei o ramal 6000 ( configurado em um X-Lite) conforme você está criando e disparei um teste para o 5000 ((configurado em um telefone IP), completando normalmente. 
2016-09-02 15:30:25		1472841025.6	<6000>			Dial	5000	ANSWERED	00:08
Tente este comando e veja se consegue registrar o cliente.
Detalhe, havia falado anteriormente no fail2ban, já vem instalado no freepbx, basta apenas alterar alguns parâmetros como tempo que um IP será banido etc...
[root@localhost ~]# iptables -L -v --line-numbers
Chain INPUT (policy ACCEPT 88848 packets, 11M bytes)
num   pkts bytes target     prot opt in     out     source               destination         
1        0     0 fail2ban-FTP  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           multiport dports 21 
2    44574 3511K fail2ban-apache-auth  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           multiport dports 80 
3    88852   11M fail2ban-SIP  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
4    88852   11M fail2ban-SIP  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
5    44574 3511K fail2ban-BadBots  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           multiport dports 80,443 
6     1431 83364 fail2ban-SSH  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           multiport dports 22 
7    88852   11M fail2ban-recidive  all  --  *      *       0.0.0.0/0            0.0.0.0/0           
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
num   pkts bytes target     prot opt in     out     source               destination         
Chain OUTPUT (policy ACCEPT 88615 packets, 64M bytes)
num   pkts bytes target     prot opt in     out     source               destination         
Chain fail2ban-BadBots (1 references)
num   pkts bytes target     prot opt in     out     source               destination         
1    44574 3511K RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
Chain fail2ban-FTP (1 references)
num   pkts bytes target     prot opt in     out     source               destination         
1        0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
Chain fail2ban-SIP (2 references)
num   pkts bytes target     prot opt in     out     source               destination         
1     178K   22M RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
2        0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
Chain fail2ban-SSH (1 references)
num   pkts bytes target     prot opt in     out     source               destination         
1     1431 83364 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
Chain fail2ban-apache-auth (1 references)
num   pkts bytes target     prot opt in     out     source               destination         
1    44574 3511K RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
Chain fail2ban-recidive (1 references)
num   pkts bytes target     prot opt in     out     source               destination         
1    88852   11M RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0           
[root@localhost ~]#