<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> </o:p></p><p class=MsoNormal> Pessoal bom dia tudo bem?<o:p></o:p></p><p class=MsoNormal><o:p> </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> </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> </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"'> </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> </o:p></p><p class=MsoNormal>mfcr2_allow_collect_calls = no<o:p></o:p></p><p class=MsoNormal><o:p> </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> </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"'> </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> </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> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> Habilitei o debug para verificar se a string de “<span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#555555;background:white'>Reverse Charging Indication” </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> </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("DAHDI/1-1", "Entering from-zaptel with DID == ") 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("DAHDI/1-1", "") 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("DAHDI/1-1", "DID=s") 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("DAHDI/1-1", "DID is now s") 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("DAHDI/1-1", "1?zapok:notzap") 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("DAHDI/1-1", "Is a Zaptel Channel") 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("DAHDI/1-1", "CHAN=1-1") 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("DAHDI/1-1", "CHAN=1") 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("DAHDI/1-1", "from-zaptel-1,s,1") 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("DAHDI/1-1", "Returned from Macro from-zaptel-1") 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("DAHDI/1-1", "from-pstn,s,1") 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("DAHDI/1-1", "__FROM_DID=s") 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("DAHDI/1-1", "app-blacklist-check,s,1") 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("DAHDI/1-1", "0?blacklisted") 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("DAHDI/1-1", "") 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("DAHDI/1-1", "1 ?Set(CALLERID(name)=)") 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("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") 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("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") 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("DAHDI/1-1", "ivr-2,s,1") 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("DAHDI/1-1", "MSG=custom/Rondaweb") 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("DAHDI/1-1", "LOOPCOUNT=0") 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("DAHDI/1-1", "__DIR-CONTEXT=default") 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("DAHDI/1-1", "_IVR_CONTEXT_ivr-2=") 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("DAHDI/1-1", "_IVR_CONTEXT=ivr-2") 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("DAHDI/1-1", "0?begin") 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("DAHDI/1-1", "") 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("DAHDI/1-1", "1") 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("DAHDI/1-1", "TIMEOUT(digit)=3") 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("DAHDI/1-1", "TIMEOUT(response)=5") 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("DAHDI/1-1", "__IVR_RETVM=") 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("DAHDI/1-1", "1?Background(custom/Rondaweb)") 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'> -- <DAHDI/1-1> 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> </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> </o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black;background:white'><o:p> </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> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:PT-BR'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:PT-BR'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:PT-BR'><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>