[arm-allstar] Whitelist
Mike Besemer
mwbesemer at cox.net
Thu Oct 25 19:05:36 EDT 2018
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
More information about the ARM-allstar
mailing list