[asterisk-users] block one number in incoming calls

A J Stiles asterisk_list at earthshod.co.uk
Mon Jan 14 11:01:47 CST 2013


On Monday 14 January 2013, Salaheddine Elharit wrote:
> i think i didn’t explain correctly may question
> 
> i revive a lot of calls from this number _0666XXXXXX and i wants to block
> it to call my number 520xxxxxx .

Use something like
Exten => _520X./0666XXXXXX,1,Answer()
Exten => _520X./0666XXXXXX,n,PlayBack(tt-monkeys)
Exten => _520X./0666XXXXXX,n,HangUp()

Now when a call comes in from 0666XXXXXX to _520X. they will get monkey 
noises.


-- 
AJS

Answers come *after* questions.



More information about the asterisk-users mailing list