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