[asterisk-users] block one number in incoming calls
Salaheddine Elharit
salah.elharit200 at gmail.com
Mon Jan 14 10:51:11 CST 2013
hi Zohair Raza
thanks for your replay but this script will allow just this 0666XXxxxx to
call my number 520xxxxxx what i want is block this number to call 520xxxxxx
not allow it
thank you
exten => 520xxxxxx,1,NoOp(Caller-ID: ${CALLERID(all)})
exten => 520xxxxxx,2,GotoIf($["${CALLERID(num)}" = "0666XXxxxx" ]?3:4)
exten => 520xxxxxx,3,Dial(SIP/224, 30)
exten => 520xxxxxx,4,hangup
2013/1/14 Salaheddine Elharit <salah.elharit200 at gmail.com>
> thanks danny
>
>
>
> 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 .
>
>
>
> 2013/1/14 Danny Nicholas <danny at debsinc.com>
>
>> Exten => _0666XXXXXX,1,answer()****
>>
>> Exten => _0666XXXXXX,n,playback(tt-monkeys)****
>>
>> Exten => _0666XXXXXX,n,hangup()
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130114/470a3758/attachment-0001.htm>
More information about the asterisk-users
mailing list