[arm-allstar] Allstar Black List
Patrick Perdue
borrisinabox at gmail.com
Wed Nov 18 20:50:53 EST 2020
IIRC, the blacklist in extensions.conf will have no effect on echolink
connections, because that context isn't involved.
Echolink has it's own allow/deny list in echolink.conf.
On 11/18/2020 7:37 PM, "David H. via ARM-allstar" wrote:
> 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.
>
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
More information about the ARM-allstar
mailing list