<div dir="ltr"><div><span style="color:rgb(34,34,34);font-family:Arial,sans-serif;font-size:16px;background-color:rgb(255,255,255)">exten = </span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:Arial,sans-serif;font-size:16px">520xxxxxx,1,</span><span style="color:rgb(34,34,34);font-family:Arial,sans-serif;font-size:medium">NoOp(Caller-ID: ${CALLERID(all)})</span></div>
<div><span style="color:rgb(34,34,34);font-family:Arial,sans-serif;font-size:16px;background-color:rgb(255,255,255)">exten = </span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:Arial,sans-serif;font-size:16px">520xxxxxx,2,</span><font color="#222222" face="Arial, sans-serif" size="3">GotoIf($["</font><span style="color:rgb(34,34,34);font-family:Arial,sans-serif;font-size:medium">${CALLERID(num)}</span><font color="#222222" face="Arial, sans-serif" size="3">" = "0666XX" ]?3:4)</font></div>
<span style="color:rgb(34,34,34);font-family:Arial,sans-serif;font-size:16px;background-color:rgb(255,255,255)">exten => 520xxxxxx,3,Dial(SIP/224, 30)</span><div><span style="color:rgb(34,34,34);font-family:Arial,sans-serif;font-size:16px;background-color:rgb(255,255,255)">exten => 520xxxxxx,4,hangup</span><font color="#222222" face="Arial, sans-serif" size="3"><br>
</font><div><font color="#222222" face="Arial, sans-serif" size="3"><br></font></div><div><font color="#222222" face="Arial, sans-serif" size="3"><br clear="all"></font><div><div dir="ltr">Regards,<br>Zohair Raza<div><br>
</div></div></div><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 7:43 PM, Michelle Dupuis <span dir="ltr"><<a href="mailto:mdupuis@ocg.ca" target="_blank">mdupuis@ocg.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div dir="ltr"><font color="#000000" face="Tahoma">Check out smartCID on
<a href="http://www.generationd.com" target="_blank">www.generationd.com</a></font></div>
<div dir="ltr"><font face="tahoma"></font> </div>
<div dir="ltr"><font face="tahoma">This script allows lookup of incomming calls based on number and either Block (no ring), endless ring (ignore), or pass through to asterisk. It allows allows rewriting of CID name based on number. All numbers stored
in a mysql table. A free script.</font></div>
<div dir="ltr"><font face="tahoma"></font> </div>
<div dir="ltr"><font face="tahoma">It also does reverse look of CID based on number using a variety of free web sites (but that's intended for experimentation only)</font></div>
<div dir="ltr"><font face="tahoma"></font> </div>
<div style="DIRECTION:ltr">
<hr>
<font face="Tahoma"><b>From:</b> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Salaheddine Elharit [<a href="mailto:salah.elharit200@gmail.com" target="_blank">salah.elharit200@gmail.com</a>]<br>
<b>Sent:</b> Monday, January 14, 2013 10:33 AM<br>
<b>To:</b> Asterisk Users List<div class="im"><br>
<b>Subject:</b> [asterisk-users] block one number in incoming calls<br>
</div></font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">
<div><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt">Hello list</span></div>
<div>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US"></span> </p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US">could you please help me about one question.</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US"></span> </p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US">i have asterisk 1.4 installed, i configure the inbound call in my asterisk like below.</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US"></span> </p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US">exten => 520xxxxxx,1,Dial(SIP/224, 30).</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US"></span> </p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US">when the customer call my number (520xxxxxx) the sip phone 224 works without issue</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US"></span> </p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US">my problem i have a lot of calls coming from this number (0666xxxxxx) and i want to block it.</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US"></span> </p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US">if you can give me an example please .</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt" lang="EN-US"></span> </p>
<p class="MsoNormal"><span style="FONT-FAMILY:Arial,sans-serif;FONT-SIZE:12pt">thanks and regards</span></p>
</div>
</div>
</div>
</div></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div></div></div>