[asterisk-users] block one number in incoming calls

Danny Nicholas danny at debsinc.com
Mon Jan 14 09:39:02 CST 2013


I would suggest this

Exten => _0666XXXXXX,1,answer()

Exten => _0666XXXXXX,n,playback(tt-monkeys)

Exten => _0666XXXXXX,n,hangup()

 

You could just hangup on them, but playing the screeching monkeys will get
the message to them to leave you alone.

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Salaheddine
Elharit
Sent: Monday, January 14, 2013 9:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130114/b5270b16/attachment.htm>


More information about the asterisk-users mailing list