<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Arial" size="3" style="font-size:12pt;">Faz teu dialplan assim :</font><div><font face="Arial" size="3" style="font-size:12pt;"><br></font></div><div><font face="Arial"><div><br></div><div>context ddi{</div><div> _00X.=> {&discaddi(${EXTEN},${EXTEN});}</div><div> includes {dddcelular;}}</div><div><br></div><div>context dddcelular{</div><div> _0XX[789]X.=> {&discamovel(${EXTEN},${EXTEN:1});}</div><div> includes {dddfixo;}}</div><div><br></div><div>context dddfixo{</div><div> _0XX[2345]XXXXXXX=> {&discafixo(${EXTEN},${EXTEN:1});}</div><div> includes {celularlocal;}}</div><div><br></div><div>context celularlocal{</div><div> _[789]XXXXXXX => {&discamovel(${EXTEN},48${EXTEN});}</div><div> includes {fixolocal;}}</div><div><br></div><div>context fixolocal{</div><div> _[2345]XXXXXXX => {&discafixo(${EXTEN},48${EXTEN});}</div><div> includes {ramais;}}</div><div><br></div><div>context ramais{</div><div> _5XXXX => {dial(sip/199${EXTEN:1},120,T);</div><div> hangup;}</div><div> includes{gratis;}}</div><div style="font-size: 12pt;"><br></div></font><br><br><pre style="line-height:17px;white-space:normal;color:rgb(42, 42, 42);background-color:rgb(255, 255, 255)">Hudson <br>(048) 8413-7000<br>Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova precisa. </pre><br><br><div><hr id="stopSpelling">From: ivamgodoy@movegps.com.br<br>To: asteriskbrasil@listas.asteriskbrasil.org<br>Date: Wed, 24 Jul 2013 16:45:09 -0300<br>Subject: [AsteriskBrasil] RES: bloquear celular<br><br>
<style><!--
--></style>
<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxMsoHyperlinkFollowed {
color:blue;
text-decoration:underline;
}
.ExternalClass p {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass p.ecxmsonormal, .ExternalClass li.ecxmsonormal, .ExternalClass div.ecxmsonormal {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass p.ecxmsonormal1, .ExternalClass li.ecxmsonormal1, .ExternalClass div.ecxmsonormal1 {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass p.ecxmsonormal2, .ExternalClass li.ecxmsonormal2, .ExternalClass div.ecxmsonormal2 {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass p.ecxmsonormal3, .ExternalClass li.ecxmsonormal3, .ExternalClass div.ecxmsonormal3 {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass p.ecxmsonormal4, .ExternalClass li.ecxmsonormal4, .ExternalClass div.ecxmsonormal4 {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass p.ecxmsonormal5, .ExternalClass li.ecxmsonormal5, .ExternalClass div.ecxmsonormal5 {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass p.ecxmsonormal6, .ExternalClass li.ecxmsonormal6, .ExternalClass div.ecxmsonormal6 {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass p.ecxmsonormal7, .ExternalClass li.ecxmsonormal7, .ExternalClass div.ecxmsonormal7 {
font-size:12.0pt;
font-family:"Times New Roman";
}
.ExternalClass span.ecxmsohyperlink1 {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxmsohyperlink2 {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxmsohyperlinkfollowed1 {
color:purple;
text-decoration:underline;
}
.ExternalClass span.ecxmsohyperlink3 {
color:blue;
text-decoration:underline;
}
.ExternalClass span.ecxmsohyperlinkfollowed2 {
color:purple;
text-decoration:underline;
}
.ExternalClass span.ecxestilodeemail171 {
font-family:Arial;
color:windowtext;
}
.ExternalClass span.ecxEstiloDeEmail32 {
font-family:Arial;
color:navy;
}
.ExternalClass span.ecxEstiloDeEmail33 {
font-family:Arial;
color:navy;
}
.ExternalClass div.ecxSection1 {
}
--></style>
<div class="ecxSection1">
<p class="ecxMsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy;">Alguem pode me ajudar ???</span></font></p>
<div>
<div>
<div>
<div>
<p class="ecxMsoNormal"><font size="3" color="navy" face="Times New Roman"><span style="font-size:12.0pt;color:navy;"> </span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;">Boa Tarde a todos,</span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;"> </span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;">Estou com dificuldades para fazer bloqueio de um determinado
ramal para ligações celular:</span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;"> </span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;">Coloquei o seguinte código no </span></font><b><font size="1" color="red" face="Tahoma"><span style="font-size:9.0pt;font-family:Tahoma;color:red;background:white;font-weight:bold;">extensions_custom.conf</span></font></b><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;"> </span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;">Criei um contexto para incluir apenas as rotas de DDD e
Local</span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;"> </span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="1" color="navy" face="Tahoma"><span style="font-size:9.0pt;font-family:Tahoma;color:navy;background:white;">[from-bloqueados]</span></font><font size="1" color="navy" face="Tahoma"><span style="font-size:9.0pt;font-family:Tahoma;color:navy;"><br style="word-spacing:0px;">
<span style="background:white;"><span style="word-spacing:0px;">include =>
outrt-001-FIXO_LOCAL</span></span><br style="word-spacing:0px;">
<span style="background:white;"><span style="word-spacing:0px;">include =>
outrt-002-FIXO_DDD</span></span></span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="1" color="#666666" face="Tahoma"><span style="font-size:9.0pt;font-family:Tahoma;color:#666666;background:white;"> </span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><b><font size="1" face="Tahoma"><span style="font-size:9.0pt;font-family:Tahoma;background:white;font-weight:bold;">Criei um tronco
Personalizado chamado ListaNegra:</span></font></b><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="1" color="#666666" face="Tahoma"><span style="font-size:9.0pt;font-family:Tahoma;color:#666666;background:white;"> </span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="1" face="Tahoma"><span style="font-size:9.0pt;font-family:Tahoma;background:white;">
E coloquei a dial string como <font color="red"><span style="color:red;">“BARRED”</span></font></span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="1" color="#666666" face="Tahoma"><span style="font-size:9.0pt;font-family:Tahoma;color:#666666;background:white;"> </span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;">Criei uma rota de saída chamada Blacklist e coloquei no topo
de todas as rotas:</span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;"> </span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;">Acrescentei 9. em dial patterns</span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;"> </span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;">No ramal que desejo fazer o bloqueio mudei o contexto para
from-bloqueados</span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;"> </span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
<p class="ecxMsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial;">Ocorreu o seguinte, o ramal que adicionei o contexto
from-bloqueados quando aperto o zero ele esta totalmente bloqueado, alguém
saberia me dizer o que fiz de errado???</span></font><font face="Calibri"><span style="font-family:Calibri;"></span></font></p>
</div>
<p class="ecxMsoNormal"><font size="3" face="Calibri"><span style="font-size:12.0pt;font-family:Calibri;"><br>
_______________________________________________ KHOMP: completa linha de placas
externas FXO, FXS, GSM e E1; Media Gateways de 1 a 64 E1s para SIP com R2,
ISDN e SS7; Intercomunicadores para acesso remoto via rede IP. Conhe</span></font><font face="Tahoma"><span style="font-family:Tahoma;">�</span></font><font face="Calibri"><span style="font-family:Calibri;">a em www.Khomp.com. _______________________________________________
ALIGERA </span></font><font face="Tahoma"><span style="font-family:Tahoma;">�</span></font><font face="Calibri"><span style="font-family:Calibri;"> Fabricante nacional de Gateways
SIP-E1 para R2, ISDN e SS7. Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI
Express. Channel Bank </span></font><font face="Tahoma"><span style="font-family:Tahoma;">�</span></font><font face="Calibri"><span style="font-family:Calibri;">
Appliance Asterisk - Acesse www.aligera.com.br.
_______________________________________________ Para remover seu email desta
lista, basta enviar um email em branco para
asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</span></font></p>
</div>
</div>
</div>
</div>
<br>_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;
Intercomunicadores para acesso remoto via rede IP. Conhe�a em www.Khomp.com.
_______________________________________________
ALIGERA � Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Channel Bank � Appliance Asterisk - Acesse www.aligera.com.br.
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</div></div>                                            </div></body>
</html>