[asterisk-users] Including doesn't have any effect

Frank Vanoni mailinglist at linuxista.com
Sat Jun 4 16:14:40 CDT 2016

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()

More information about the asterisk-users mailing list