Another possible approach to blacklist two (or more) specific callers
(098765432 and 012345678 as example)


In extension.conf

#include "blaklist.conf"

exten => _+x.,1,Gosub(blacklist,s,1)
exten => _+x.,n,....

exten => black,1,playback(tt-monkeys)


In blacklist.conf

exten => s/098765432,1,Goto(black,1)
exten => s/012345678,1,Goto(black,1)
exten => s,1,Return()


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

Reply via email to