<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.Pr-formataoHTMLChar
        {mso-style-name:"Pré-formatação HTML Char";
        mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML";
        font-family:Consolas;}
span.EstiloDeEmail19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=PT-BR style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Eu estou usando assim e esta funcionando!<o:p></o:p></span></p><p class=MsoNormal><span lang=PT-BR style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>[a2billing]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>;exten =&gt; _0X.,1,NoOp(A2Billing Start)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>exten =&gt; _X.,1,NoOp(A2Billing Start)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>exten =&gt; _X.,n,Agi(a2billing.php,2)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>exten =&gt; _X.,2,Hangup<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>exten =&gt; _2XXX,4,Dial(SIP/${EXTEN});<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=PT-BR style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>nesse caso eu uso o accountcode=XXXXX na configuração SIP do meu ramal.<o:p></o:p></span></p><p class=MsoNormal><span lang=PT-BR style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span lang=PT-BR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span lang=PT-BR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> asteriskbrasil-bounces@listas.asteriskbrasil.org [mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org] <b>Em nome de </b>Alclicio Vieira<br><b>Enviada em:</b> sexta-feira, 2 de dezembro de 2011 00:56<br><b>Para:</b> asteriskbrasil@listas.asteriskbrasil.org<br><b>Assunto:</b> Re: [AsteriskBrasil] Chamadas entre ramais a2billing por troncos/retacard<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Nenhuma ideia pessoal?<o:p></o:p></p><div><p class=MsoNormal>Em 1 de dezembro de 2011 23:02, Alclicio Vieira &lt;<a href="mailto:alclicio@gmail.com">alclicio@gmail.com</a>&gt; escreveu:<o:p></o:p></p><p class=MsoNormal>Pessoal,<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Preciso colocar o a2billing para fazer chamadas entre os ramais/contas por meio de troncos/retacard.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Segue a dica 2 porém sem sucesso, alguém tem alguma dica?<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><pre style='background:white'><i>o A2billing trabalha em cima de tabela, ou seja, o numero que voce digitar<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> ele tem que ter um destino ( rate ) associada a uma ratecard que estara<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> relacionada a um determinado tronco.<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> Para fazer chamadas entre ramais do a2billing voce pode fazer de duas<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> formas:<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> 1° maneira<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> voce cria um contexto com um prefixo de discagem padrão para suas chamadas<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> ip sem elas passarem pelo a2billing. Uma dica, para os ramais não ficarem<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> muito grande coloque o tamanho do len dos cardnumber no a2billing.conf &nbsp;com<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> 4 posições, e cria um prefixo com 4 posições<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> [a2billing] ; Esse contexto irá fazer as chamadas tanto externas quanto para<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> ramais ip do a2billing<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> exten =&gt; 1500XXXX,1,Dial(SIP/${EXTEN:4},60,Ttr)<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> exten =&gt; 1500XXXX,n,Hangup()<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> exten =&gt; _0ZZ[2-9]XXXXXX,1,Answer<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> exten =&gt; _0ZZ[2-9]XXXXXX,n,Wait(1)<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> exten =&gt; _0ZZ[2-9]XXXXXX,n,DeadAGI(a2billing.php|1)<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> exten =&gt; _0ZZ[2-9]XXXXXX,n,Hangup<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> 2° maneira<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> * Crie um tronco para fazer as chamadas ip. Coloque o nome dele de ramais,<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> em adcionar prefixo deixe em branco, em remover prefixo coloque para remover<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> os 4 digitos do prefixo ( nesse nosso exemplo 1500 ), tecnologia do provedor<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> coloque SIP e o grande pulo do gato....ip do provedor coloque<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> %dialingnumber%. e salve<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> * Voce cria uma ratecard para tarifar ou não as chamadas entre os ramais com<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> o prefixo que voce criou para o seus ramais ip. No nosso caso exemplo o<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> prefixo é 1500<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> * depois de feito isso voce associa esse ratecard a um plano de ligação<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> Pronto os ramais do seu a2billing estão preparados para serem tarifadas ou<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> não<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> o contexto pode ficar como no padrão para esse segundo metodo<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> [a2billing]<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> exten =&gt; _X.,1,Answer<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> exten =&gt; _X.,n,Wait(1)<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> exten =&gt; _X.,n,DeadAGI(a2billing.php|1)<o:p></o:p></i></pre><pre style='background:white'>&gt;<i> exten =&gt; _X.,n,Hangup<o:p></o:p></i></pre><pre style='background:white'>&gt;<i><o:p>&nbsp;</o:p></i></pre><pre style='background:white'>&gt;<i> Boa sorte</i><o:p></o:p></pre><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal><span style='color:#888888'>-- <br>ALCLICIO VIEIRA,<br><br>Contato: <a href="tel:61%208454-3665" target="_blank">61 8454-3665</a><o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#888888'>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="tel:61%208166-6410" target="_blank">61 8166-6410</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="tel:61%204063-7110" target="_blank">61 4063-7110</a>- ramal 4404<o:p></o:p></span></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='color:#888888'><o:p>&nbsp;</o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>-- <br>ALCLICIO VIEIRA,<br>ITIL® V3 Certification,<br>Crea-DF 10476/TD telecom<br>Contato: 61 8454-3665<o:p></o:p></p><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;61 8166-6410<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 61 4063-7110- ramal 4404<o:p></o:p></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>