[arm-allstar] Allstar Black List
David H.
dwh0305 at aol.com
Wed Nov 18 19:37:41 EST 2020
I’m trying to test the black list function by connecting to my node via Echolink (I don’t have another Allstar node to test with). I blocked my Echolink node number but it still allows the connection anyway.
Here is my IAX.CONF File:
[radio]
type=user
disallow=all
allow=g726aal2
allow=ilbc
allow=ulaw
allow=gsm
;allow=g729
;allow=adpcm
;allow=g722
;allow=codec2
codecpriority=host
;context = radio-secure
;context = whitelist
context = blacklist
transfer=no
And my EXTENSIONS.CONF File:
[radio-secure]
exten => 51644,1,rpt,51644
exten => 1999,1,rpt,1999
[blacklist]
exten => _XXXX!,1,NoOp(${CALLERID(num)})
exten => _XXXX!,n,GotoIf($[${DB_EXISTS(blacklist/${CALLERID(num)})}]?blocked)
exten => _XXXX!,n,Goto(radio-secure,${EXTEN},1)
exten => _XXXX!,n(blocked),Hangup
[whitelist]
exten => _XXXX!,1,NoOp(${CALLERID(num)})
exten => _XXXX!,n,NoOp(${IAXPEER(CURRENTCHANNEL)})
exten => _XXXX!,n,GotoIf($["${IAXPEER(CURRENTCHANNEL)}" = "127.0.0.1"]?radio-secure,${EXTEN},1) ;permit local IPs
exten => _XXXX!,n,GotoIf($[${DB_EXISTS(whitelist/${CALLERID(num)})}]?radio-secure,${EXTEN},1)
exten => _XXXX!,n,Hangup
It looks like I have everything set up correctly according the tutorial. Can anyone see something I maybe missed?
---
Sent From Mail For Windows 10 On My HP Envy x360 Ultrabook.
More information about the ARM-allstar
mailing list