[arm-allstar] Allstar Black List

Bryan St Clair bryan at k6cbr.us
Wed Nov 18 19:53:45 EST 2020


I believe this is for Allstar only (blacklist)

You need to modify your echolink.conf file to blacklist a echolink user.

/etc/asterisk/echolink.conf  (if I remember correctly.)

Bryan

On Wed, Nov 18, 2020 at 4:49 PM "David H. via ARM-allstar" <
arm-allstar at hamvoip.org> 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



-- 
Bryan
K6CBR
bryan at k6cbr.us
43918,439910


More information about the ARM-allstar mailing list