<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 http-equiv=Content-Type content="text/html; charset=iso-8859-1"><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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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";
        mso-fareast-language:EN-US;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
span.EstiloDeEmail17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
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;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:91172085;
        mso-list-type:hybrid;
        mso-list-template-ids:-1283712616 -2020067448 68550681 68550683 68550671 68550681 68550683 68550671 68550681 68550683;}
@list l0:level1
        {mso-level-text:%1-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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=PT-BR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>                Pessoal bom dia tudo bem?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>                Estou tentando realizar o bloqueio de chamadas a cobrar aqui no meu asterisk , bom  já fiz alguns testes e modificações porem sem sucesso, o meu asterisk e o de versão 1.6.0.26.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>                Bom o que eu já fiz de modificações...<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>1-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Adicionei ao chan dadhi.conf a linha abaixo conforme indicações do Sr. Alexandre aqui do Forum...<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>mfcr2_allow_collect_calls = no<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>                Reiniciei o asterisk,  e nada as ligações continuar a ser recebidas.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>2-<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Removi a linha anterior e adicionei a linha abaixo<o:p></o:p></p><p class=MsoNormal>                <o:p></o:p></p><p class=MsoNormal>mfcr2_double_answer = yes ;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>                Reiniciei o asterisk,  e nada as ligações continuar a ser recebidas.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>                Habilitei o debug para verificar se a string de &#8220;<span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#555555;background:white'>Reverse Charging Indication&#8221; </span><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>esta sendo apresentada quando uma ligação a cobrar e recebida, e não aparece essa string a no log. Como pode ser observado no trecho abaixo...<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>-- Starting simple switch on 'DAHDI/1-1'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:1] NoOp(&quot;DAHDI/1-1&quot;, &quot;Entering from-zaptel with DID == &quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:2] Ringing(&quot;DAHDI/1-1&quot;, &quot;&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:3] Set(&quot;DAHDI/1-1&quot;, &quot;DID=s&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:4] NoOp(&quot;DAHDI/1-1&quot;, &quot;DID is now s&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:5] GotoIf(&quot;DAHDI/1-1&quot;, &quot;1?zapok:notzap&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Goto (from-zaptel,s,8)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:8] NoOp(&quot;DAHDI/1-1&quot;, &quot;Is a Zaptel Channel&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:9] Set(&quot;DAHDI/1-1&quot;, &quot;CHAN=1-1&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:10] Set(&quot;DAHDI/1-1&quot;, &quot;CHAN=1&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:11] Macro(&quot;DAHDI/1-1&quot;, &quot;from-zaptel-1,s,1&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:12] NoOp(&quot;DAHDI/1-1&quot;, &quot;Returned from Macro from-zaptel-1&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-zaptel:13] Goto(&quot;DAHDI/1-1&quot;, &quot;from-pstn,s,1&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Goto (from-pstn,s,1)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-pstn:1] Set(&quot;DAHDI/1-1&quot;, &quot;__FROM_DID=s&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-pstn:2] Gosub(&quot;DAHDI/1-1&quot;, &quot;app-blacklist-check,s,1&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@app-blacklist-check:1] GotoIf(&quot;DAHDI/1-1&quot;, &quot;0?blacklisted&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@app-blacklist-check:2] Return(&quot;DAHDI/1-1&quot;, &quot;&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-pstn:3] ExecIf(&quot;DAHDI/1-1&quot;, &quot;1 ?Set(CALLERID(name)=)&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-pstn:4] Set(&quot;DAHDI/1-1&quot;, &quot;__CALLINGPRES_SV=allowed_not_screened&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-pstn:5] Set(&quot;DAHDI/1-1&quot;, &quot;CALLERPRES()=allowed_not_screened&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@from-pstn:6] Goto(&quot;DAHDI/1-1&quot;, &quot;ivr-2,s,1&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Goto (ivr-2,s,1)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:1] Set(&quot;DAHDI/1-1&quot;, &quot;MSG=custom/Rondaweb&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:2] Set(&quot;DAHDI/1-1&quot;, &quot;LOOPCOUNT=0&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:3] Set(&quot;DAHDI/1-1&quot;, &quot;__DIR-CONTEXT=default&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:4] Set(&quot;DAHDI/1-1&quot;, &quot;_IVR_CONTEXT_ivr-2=&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:5] Set(&quot;DAHDI/1-1&quot;, &quot;_IVR_CONTEXT=ivr-2&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:6] GotoIf(&quot;DAHDI/1-1&quot;, &quot;0?begin&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:7] Answer(&quot;DAHDI/1-1&quot;, &quot;&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:8] Wait(&quot;DAHDI/1-1&quot;, &quot;1&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:9] Set(&quot;DAHDI/1-1&quot;, &quot;TIMEOUT(digit)=3&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Digit timeout set to 3<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:10] Set(&quot;DAHDI/1-1&quot;, &quot;TIMEOUT(response)=5&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Response timeout set to 5<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:11] Set(&quot;DAHDI/1-1&quot;, &quot;__IVR_RETVM=&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- Executing [s@ivr-2:12] ExecIf(&quot;DAHDI/1-1&quot;, &quot;1?Background(custom/Rondaweb)&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>    -- &lt;DAHDI/1-1&gt; Playing 'custom/Rondaweb.slin' (language 'en')<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>                Com base nessas informações gostaria de saber se alguém aqui da comunidade já conseguiu bloquear as ligações a cobrar no asterisk 1.6. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'>Desde já muito obrigado pela atenção.</span><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#555555;background:white'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#555555;background:white'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>        <o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:PT-BR'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:PT-BR'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:PT-BR'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>