[asterisk-users] Call blocking issue
Joseph
syscon780 at gmail.com
Fri Mar 15 11:46:52 CDT 2013
On 03/15/13 13:56, Jewel Nuruddin wrote:
> sorry if this is already asked?
> May get any help about call blocking issue
> Asterisk Version : Asterisk 1.6.2.7
> FreePBX Version : 2.7.0.10
> OS: CentOS
> My asterisk is running basic incomming and outgoin call is working but
> I can not configure call blocking and IVR.
> any one can give me some hitns?
> Thanks
> Jewel
See:
http://www.voip-info.org/wiki/view/Asterisk+func+BLACKLIST
The solution worked for me:
exten => s,1,Wait(1)
exten => s,n,GotoIf(${BLACKLIST()}?blacklisted,s,1)
...
[blacklisted]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Playback(privacy-you-are-blacklisted)
exten => s,n,Hangup
--
Joseph
More information about the asterisk-users
mailing list