Olá Colegas!<br /><br />Uso o FreePBX com o Trixbox e adicionei o aplicativo CUSTOM CONTEXT para poder criar uma séries de regras de discagem com o intuito de permitir ou não determinados tipos de ligações, como DDD, DDI, Celular e etc.<br /><br />A ferramenta é muito interessante e prática e realmente funciona, mas está ocorrendo um problema que não consigo identificar, que é a impossibilidade de originar ligações de ramal pra ramal, ou seja, externo funciona tudo bem, mas os ramais não se falam.<br /><br />Fui no extension_additional.conf, onde foi gerado o código do da ferramenta Custom Context, segue:<br /><br /><strong><em><br /></em></strong>
<ul>
<li><strong>REGRAS DE DISCAGEM</strong></li>
</ul>
<strong><em><br />[102]<br />include => 102-custom<br />include => 102_bad-number<br />include => bad-number<br />exten => _[2-6]X.,1,Goto(102_rulematch,${EXTEN},1)<br />exten => _[7-9]X.,1,Goto(102_rulematch,${EXTEN},1)<br />exten => _0800X.,1,Goto(102_rulematch,${EXTEN},1)<br />exten => _0XXXXXXXXXXXX,1,Goto(102_rulematch,${EXTEN},1)<br />exten => _XXX,1,Goto(102_rulematch,${EXTEN},1)<br />exten => s,1,Macro(hangupcall,)<br />exten => h,1,Macro(hangupcall,)<br /><br />; end of [102]</em></strong><br /><br /><br />
<ul>
<li><strong>INCLUSÃO DOS AMBIENTES ONDE AS REGRAS FUNCIONARÃO</strong></li>
</ul>
<strong><em>[102_rulematch]<br />include => 102_rulematch-custom<br />include => vmblast-grp<br />include => ext-findmefollow<br />include => ext-fax<br />include => ext-dnd-hints<br />include => app-zapbarge<br />include => app-vmmain<br />include => app-userlogonoff<br />include => app-speeddial<br />include => app-speakingclock<br />include => app-speakextennum<br />include => app-recordings<br />include => ext-group<br />include => ext-injections<br />include => ext-local<br />include => parkedcalls<br />include => outbound-allroutes<br />include => grps<br />include => from-internal-custom<br />include => from-internal-additional<br />include => fmgrps<br />include => ext-test<br />include => ext-queues<br />include => ext-paging<br />include => ext-meetme<br />include => app-queueprio<br />include => app-pickup<br />include => app-cf-unavailable-off<br />include => app-cf-on<br />incl
ude => app-cf-off-any<br />include => app-cf-off<br />include => app-cf-busy-on<br />include => app-cf-busy-off-any<br />include => app-cf-busy-off<br />include => app-callwaiting-cwon<br />include => app-callwaiting-cwoff<br />include => app-calltrace<br />include => app-cf-unavailable-on<br />include => app-chanspy<br />include => app-dialvm<br />include => app-pbdirectory<br />include => app-languages<br />include => app-fmf-toggle<br />include => app-echo-test<br />include => app-dnd-toggle<br />include => app-dnd-on<br />include => app-dnd-off<br />include => app-directory<br />include => app-dictate-send<br />include => app-dictate-record<br />include => app-blacklist<br />include => outrt-001-AlgarSaida<br />include => outrt-002-9_outside<br />include => 102_bad-number<br />include => bad-number<br />exten => s,1,Macro(hangupcall,)<br />exten => h,1,Macro(hangupcall,)<br /><br />; end
of [102_rulematch]</em></strong><br /><br /><br />
<ul>
<li><strong>O DESTINO DA LIGAÇÃO CASO ESTA NÃO SATISFAÇA AS REGRAS DE DISCAGEM</strong></li>
</ul>
<br /><strong><em>[102_bad-number]<br />include => 102_bad-number-custom<br />exten => _X.,1,Goto(app-blackhole,busy,1)<br />exten => _*.,1,Goto(app-blackhole,busy,1)<br /><br />; end of [102_bad-number]</em></strong><br /><br /><br />Com base nessas informações alguém consegue visualizar o motivo das ligações internas não estarem mais funcionando?<br /><br />Obrigado!!<br /><br />Flávio