exten =    520xxxxxx,1,NoOp(Caller-ID: ${CALLERID(all)})
exten =    520xxxxxx,2,GotoIf($["${CALLERID(num)}" = "0666XX" ]?3:4)
exten => 520xxxxxx,3,Dial(SIP/224, 30)
exten => 520xxxxxx,4,hangup


Regards,
Zohair Raza


On Mon, Jan 14, 2013 at 7:43 PM, Michelle Dupuis <mdup...@ocg.ca> wrote:

>  Check out smartCID on www.generationd.com
>
> 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.
>
> It also does reverse look of CID based on number using a variety of free
> web sites (but that's intended for experimentation only)
>
>  ------------------------------
> *From:* asterisk-users-boun...@lists.digium.com [
> asterisk-users-boun...@lists.digium.com] On Behalf Of Salaheddine Elharit
> [salah.elharit...@gmail.com]
> *Sent:* Monday, January 14, 2013 10:33 AM
> *To:* Asterisk Users List
>
> *Subject:* [asterisk-users] block one number in incoming calls
>
>   Hello list
>
>
>
> could you please help me about one question.
>
>
>
> i have asterisk 1.4  installed, i configure the inbound call in my
> asterisk  like below.
>
>
>
> exten => 520xxxxxx,1,Dial(SIP/224, 30).
>
>
>
> when the customer call my number (520xxxxxx) the sip phone 224 works
> without issue
>
>
>
> my problem i have a lot of calls coming  from this number (0666xxxxxx) and
> i want to block it.
>
>
>
> if you can give me an example please .
>
>
>
> thanks and regards
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to