<div dir="ltr"><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial,sans-serif">thanks a lot danny it works perfectly :) thanks a lot all </span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial,sans-serif"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:Arial,sans-serif">have a nice day </span></p><br><div class="gmail_quote">2013/1/14 Danny Nicholas <span dir="ltr">&lt;<a href="mailto:danny@debsinc.com" target="_blank">danny@debsinc.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Reverse the 3:4 and you will have the desired effect.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Salaheddine Elharit<br>
<b>Sent:</b> Monday, January 14, 2013 10:51 AM</span></p><div class="im"><br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br></div><b>Subject:</b> Re: [asterisk-users] block one number in incoming calls<u></u><u></u><p>
</p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">hi <span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222;background:white">Zohair Raza</span><u></u><u></u></p>
<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">thanks for your replay but this script will allow just this </span><span style="font-size:13.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222;background:white">0666XXxxxx to call my number </span><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222;background:white">520xxxxxx what i want is block this number to call 520xxxxxx  not allow it </span><u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">thank you</span><u></u><u></u></p><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><div><p class="MsoNormal" style="background:white"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">exten =&gt;  520xxxxxx,1,</span><span style="font-size:13.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">NoOp(Caller-ID: ${CALLERID(all)})</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><u></u><u></u></span></p>
</div><div><p class="MsoNormal" style="background:white"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">exten =&gt;  520xxxxxx,2,GotoIf($[&quot;</span><span style="font-size:13.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">${CALLERID(num)}</span><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">&quot; = &quot;0666XXxxxx&quot; ]?3:4)</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><u></u><u></u></span></p>
</div><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222;background:white">exten =&gt;  520xxxxxx,3,Dial(SIP/224, 30)</span><u></u><u></u></p><div><p class="MsoNormal" style="background:white">
<span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">exten =&gt;  520xxxxxx,4,hangup</span><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><u></u><u></u></span></p>
</div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">2013/1/14 Salaheddine Elharit &lt;<a href="mailto:salah.elharit200@gmail.com" target="_blank">salah.elharit200@gmail.com</a>&gt;<u></u><u></u></p><div>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">thanks danny </span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">i think i didn’t explain correctly may question</span><u></u><u></u></p><p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">i revive a lot of calls from this number _0666XXXXXX and i wants to block it to call my number 520xxxxxx .</span><u></u><u></u></p><div>
<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">2013/1/14 Danny Nicholas &lt;<a href="mailto:danny@debsinc.com" target="_blank">danny@debsinc.com</a>&gt;<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Exten =&gt; _0666XXXXXX,1,answer()</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Exten =&gt; _0666XXXXXX,n,playback(tt-monkeys)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Exten =&gt; _0666XXXXXX,n,hangup()</span><u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">
<u></u> <u></u></p></div></div></div></div></div><p class="MsoNormal"><u></u> <u></u></p></div></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>