[arm-allstar] Whitelist

Doug Crompton wa3dsp at gmail.com
Thu Oct 25 19:47:55 EDT 2018


Mike.

The white/blacklist instructions are in the howto at hamvoip.org. Once you
put the two code snippets in the proper place the actual node selection and
black or whitelist is done either in Supermon, restrict tab, or the script
node-ban-allow.sh


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Thu, Oct 25, 2018 at 7:08 PM "Mike Besemer via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:

> Good evening,
>
> When Whitelisting nodes, does the XXXX (or _XXXX) in the following example
> get replaced with the Whitelisted node number?  (e.g. exten =>
> _48166!,1,NoOp(${CALLERID(num)}) or exten =>
> 48166!,1,NoOp(${CALLERID(num)}))
>
> Mike
> WM4B
>
> [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,${E
> XTEN},1)
> exten => _XXXX!,n,Hangup
>
>
> _______________________________________________
>
> 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 web page - http://hamvoip.org
>


More information about the ARM-allstar mailing list