<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 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* 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:"Arial","sans-serif";
        color:windowtext;
        font-weight:bold;}
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 Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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=Section1>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'>Olá lista.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'>Será que
alguém pode me dar uma luz....<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'><o:p> </o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'>Tenho dois problemas
e tenho que resolver até esse fim de semana<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'>tenho que
bloquear ligações para certos números de telefones, uma blacklist.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'>Essa
blacklist tem mais de 2000 telefones.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'>Fiz um script
em PHP que da o insert no banco de dados (PostgreSQL), e ta funcionando blz.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'>Agora tenho
que fazer o dialplan, ou seja toda vez que o asterisk for discar, consultar esse
banco de dados, e dependendo da condição efetuar ou não a ligação.<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'><o:p> </o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'>Agora o que
eu acho pior é que o cliente quer que, a cada 5 vezes que um numero for discado
ele entre automaticamente na blacklist....<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'>To no sal??<o:p></o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'><o:p> </o:p></span></p>
<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:.9pt;margin-bottom:
0cm;margin-left:17.6pt;margin-bottom:.0001pt;text-indent:-9.0pt;text-autospace:
none'><span style='font-family:"Segoe UI","sans-serif";color:black'>Uso
asterisk 1.4.11 e PostgreSQL.<o:p></o:p></span></p>
<p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></b></p>
<p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></b></p>
<table class=MsoNormalTable border=0 cellpadding=0>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'></td>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='margin-left:1.2pt;line-height:115%'><b><span
style='font-size:12.0pt;line-height:115%;font-family:"Arial","sans-serif";
color:#777777'><o:p> </o:p></span></b></p>
<p class=MsoNormal style='margin-left:1.2pt;line-height:115%'><b><span
style='font-family:"Arial","sans-serif";color:#777777'>Pereira, Sidnei</span></b><b><span
style='font-size:10.0pt;line-height:115%;font-family:"Arial","sans-serif";
color:#777777'><o:p></o:p></span></b></p>
<p class=MsoNormal style='margin-left:1.2pt;line-height:115%'><b><span
style='font-size:10.0pt;line-height:115%;font-family:"Arial","sans-serif";
color:#777777'>Telecomunicações<br>
</span></b><b><span style='font-size:13.5pt;line-height:115%;font-family:
Wingdings;color:#777777'>:</span></b><b><span style='font-size:10.0pt;
line-height:115%;font-family:"Arial","sans-serif";color:#777777'> Tecnologia
com Comprometimento <br>
</span></b><b><span style='font-family:Webdings;color:#777777'>O</span></b><b><span
style='font-size:10.0pt;line-height:115%;font-family:"Arial","sans-serif";
color:#777777'>(17) 8124 3954 - </span></b><b><span style='font-family:Wingdings;
color:#777777'>*</span></b><b><span style='font-size:10.0pt;line-height:115%;
font-family:"Arial","sans-serif";color:#777777'> <a
href="mailto:sidnei@znt.com.br"><span style='line-height:115%'>sidnei_rp@ig.com.br</span></a>
</span></b><b><span style='font-size:12.0pt;line-height:115%;font-family:
"Arial","sans-serif";color:gray'><o:p></o:p></span></b></p>
<div>
<div class=MsoNormal style='line-height:115%'><b><span style='font-family:
"Arial","sans-serif";color:gray'>
<hr size=3 width=529 style='width:14.0cm' align=left>
</span></b></div>
</div>
<p class=MsoNormal style='line-height:115%'><b><span style='font-size:12.0pt;
line-height:115%;font-family:"Arial","sans-serif";color:gray'><o:p> </o:p></span></b></p>
</td>
</tr>
</table>
<p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:#777777;display:none'><o:p> </o:p></span></b></p>
<table class=MsoNormalTable border=0 cellpadding=0>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='line-height:115%'><b><span style='font-family:"Arial","sans-serif";
color:gray'><img border=0 width=66 height=66 id="Imagem_x0020_2"
src="cid:image001.jpg@01CA145F.60CB5F30"
alt="cid:020801c9eebe$3ad738b0$0b01a8c0@zntnoteribeir"></span></b><b><span
style='font-size:12.0pt;line-height:115%;font-family:"Arial","sans-serif";
color:gray'><o:p></o:p></span></b></p>
</td>
<td valign=bottom style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;
line-height:115%;font-family:"Arial Narrow","sans-serif";color:#00A000'>Antes
de imprimir esse e-mail, pense em seu compromisso com o MEIO AMBIENTE.<br>
Desculpe-nos algum inconveniente pelo fundo deste e-mail ser escuro, porém
esta é uma forma de economia de energia.</span></b><b><span style='font-size:
12.0pt;line-height:115%;font-family:"Arial","sans-serif";color:gray'><o:p></o:p></span></b></p>
</td>
</tr>
</table>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>