[asterisk-users] block one number in incoming calls

Carlos Alvarez carlos at televolve.com
Mon Jan 14 11:05:52 CST 2013


So I'm not the only one who uses the monkeys as our place to send bad calls to.


-- 
Sent from my iPhone

On Jan 14, 2013, at 10:02 AM, A J Stiles <asterisk_list at earthshod.co.uk> wrote:

> 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.
>
> --
> _____________________________________________________________________
> -- 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



More information about the asterisk-users mailing list