I am new to FreePBX and searched for a solution but everything I tried has failed.
I have 2 sets of extensions 2001-2002 and 3001-3012 as well as 100-110
I am trying to prevent the 300* from calling the 200* and vice versa.
in both /etc/asterisk/extensions_custom.conf and /etc/asterisk/extensions_override_freepbx.conf I have:
[from-group-a]
exten => _3XXX,1,Goto(app-blackhole,congestion,1)
exten => _[*0-9]!,1,Goto(from-internal,${EXTEN},1)
exten => h,1,Hangup()
[from-group-b]
exten => _2XXX,1,Goto(app-blackhole,congestion,1)
exten => _[*0-9]!,1,Goto(from-internal,${EXTEN},1)
exten => h,1,Hangup()
The reason I have it in both is I think the extensions_custom is commented out