<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">faz assim cria um contexto, com as ligações de saida e depois adiciona no include do contexto suas regras exemplo:<br />
<br />
include => from-pstn-acobrar<br />
<span style="color: #1f497d; font-family: calibri, sans-serif; font-size: 15px;">exten => 2XXXXXXX,1,Dial(DAHDI/g1/${EXTEN},400,TtWw)<br />
</span>exten => <span style="color: #1f497d; font-family: calibri, sans-serif; font-size: 15px;">2XXXXXXX,n,Hangup</span><br />
include => from-internal<br />
<br />
testa e ve se te ajuda<br />
<br />
vlw<br />
<div id="divSignature"></div>
<br />
<br />
<span style="font-family: tahoma, arial, sans-serif; font-size: 10pt;"><hr size="2" width="100%" align="center" />
<strong>De</strong>: "Marco Antonio (TRG Tecnologia)" <marco@trg.com.br><br />
<strong>Enviado</strong>: segunda-feira, 16 de janeiro de 2012 11:06<br />
<strong>Para</strong>: asteriskbrasil@listas.asteriskbrasil.org<br />
<strong>Assunto</strong>: [AsteriskBrasil] Ligaçao a Cobrar</span><br />
<br />
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de balão Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextodebaloChar
        {mso-style-name:"Texto de balão Char";
        mso-style-priority:99;
        mso-style-link:"Texto de balão";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal"><span style="color: #1f497d;">Bom dia Lista.</span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Uso Elastix e inserir as linhas abaixo no extension_custon.conf para bloqueio de ligação a cobrar:</span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><br />
[from-pstn-acobrar]</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color: #1f497d;">include => from-zaptel</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color: #1f497d;">include => from-pstn</span></p>
<p class="MsoNormal"><span style="color: #1f497d;">exten => s,1,Answer()</span></p>
<p class="MsoNormal"><span style="color: #1f497d;">exten => s,n,NoOp(Ligacao vinda da PSTN - Callerid: ${CALLERID(num)}) ;:-10})</span></p>
<p class="MsoNormal"><span style="color: #1f497d;">exten => s,n,Wait(1)</span></p>
<p class="MsoNormal"><span style="color: #1f497d;">exten => s,n,Flash()</span></p>
<p class="MsoNormal"><span style="color: #1f497d;"> </span></p>
<p class="MsoNormal"><span style="color: #1f497d;">no dahdi-channels.conf alterei o contexto para from-pstn-acobrar.</span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Está bloqueando as ligações a cobrar, porem não consigo efetuar ligações, diz que o nr discado está incorreto, para tentar novamente.</span></p>
<p class="MsoNormal"><span style="color: #1f497d;"> </span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Será que tenho que alterar o contexto par os usuários?</span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Se sim, onde altero, pois só achei no general, mas está como from-internal.</span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Obrigado</span></p>
<p class="MsoNormal"><span style="color: #1f497d;"> </span></p>
<p class="MsoNormal"><span style="color: #1f497d;">Marco Antonio</span></p>
<p class="MsoNormal"><span style="color: #1f497d;"> </span></p>
<p class="MsoNormal"><span style="color: #1f497d;"> </span></p>
<p class="MsoNormal"> </p>
</div></span>