i tried that but its still not working, thanks
ASL 3 extensions.conf does not show privatenodes, not like ASL 2. I added 2 privatenodes but its does not show in extensions.conf
Before its like this
[globals] HOMENPA = 999 ; change this to your Area Code
NODE = 533550 ; change this to your node number
NODE1 = 1965
NODE2 = 1969
NODE3 = 1968
[default]
exten => i,1,Hangup
[radio-secure]
exten => ${NODE},1,rpt,${NODE}
exten => ${NODE1},1,rpt,${NODE1}
exten => ${NODE2},1,rpt,${NODE2}
exten => ${NODE3},1,rpt,${NODE3}
They made changes on ASL 3, even if you set up a privatenodes it does not show on extensions.conf.
now its like this,
[globals]
HOMENPA = 999 ; change this to your Area Code
NODE = 533550 ; change this to your node number
[default]
exten => i,1,Hangup
[radio-secure]
;exten => ${NODE},1,rpt(${EXTEN})
exten => _XXXX!,1,NoOp(Connect from node: ${CALLERID(num)})
same => n,NoOp(Connect to: ${EXTEN})
;same => n,NoOp(The IAXPEER is ${IAXPEER(CURRENTCHANNEL)})
same => n,NoOp(The Channel IP is ${CHANNEL(peerip)})
;If channel IP eq localhost go to connect
same => n,GotoIf($[“${CHANNEL(peerip)}” = “127.0.0.1”]?connect)
;If allowlist/extension dosen’t exist check the denylist
same => n,GotoIf($[${DB_KEYCOUNT(allowlist/${EXTEN})} = 0]?denylist) ;goto denylist
;If allowlist/extension/callerid exists go to connect
same => n,GotoIf(${DB_EXISTS(allowlist/${EXTEN}/${CALLERID(num)})}?connect) ;goto connect
same => n,NoOp(${EXTEN} not in allowlist, Hangup)
same => n,Hangup
;If denylist/extension/callerID doesn’t exist goto connect
same => n(denylist),GotoIf(${DB_EXISTS(denylist/${EXTEN}/${CALLERID(num)})}?:connect) ;don’t goto connect
same => n,NoOp(${EXTEN} is in denylist, Hangup)
same => n,Hangup
same => n(connect),rpt(${EXTEN})
same => n,Hangup
[iaxrpt]
; Entered from iaxrpt in iax.conf
; Info: The X option passed to the Rpt application
; disables the normal security checks.
; Because incoming connections are validated in iax.conf,
; and we don’t know where the user will be coming from in advance,
; the X option is required.
exten => ${NODE},1,rpt(${EXTEN}|X) ; NODE is the Name field in iaxrpt
and yet my 2 privatenodes are working. Do I have to insert the stanzas that is needed in ASL 2 that is found in their WIKI page?
thanks