Hamshack hotline RFlink configuration on Allstarlink 3.0

I have just updated my server with Allstarlink 3.0. my problem is Hamshack hotline rflink is not working. It does say its connecting to my Node, then disconnects

I found this on the log
[2024-10-02 21:41:52.147] WARNING[6850][C-00000021] func_channel.c: Unknown or unavailable item requested: ‘peerip’
[2024-10-02 21:41:52.147] WARNING[6850][C-00000021] func_channel.c: Unknown or unavailable item requested: ‘peerip’
[2024-10-02 21:42:22.958] WARNING[6863][C-00000026] pbx.c: No application ‘Rpt,1968|P’ for extension (hhphone, 1968, 10)

I followed the instructions on the Hamshack hotline wiki page but I think its for ASL 1 and ASL 2.

Does anyone installed the HH rflink on ASL 3 and working?

I did insert the needed script on extension.conf , iax.conf and rpt.conf. butits not working.
Please help
KC1JFN

I suspect this may be a formatting issue with the extension. The latest asterisk has a few format changes in the extension file:

***Old format ***
exten => ${NODE},1,rpt,${NODE}

New Format
exten => ${NODE},1,rpt(${NODE})

1 Like

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

exten => ${NODE},1,rpt(${NODE})
exten => ${NODE1},1,rpt(${NODE1})
exten => ${NODE2},1,rpt(${NODE2})
exten => ${NODE3},1,rpt(${NODE3})

You can skip using the global var and just state node in fact
Might save you some confusion and type error.

exten => 533550,1,rpt(533550)

Not sure which stanzas you are referring

But since you are relying in ip match for routing to a new stanza, you should be looking at that for this strange behavior.

And that is the start of your error
This variable is undefined

${CHANNEL(peerip)}

I think now with asterisk 20/21
it may be

${CHANNEL(uri)} 

But I don’t know that and have not tested it.

You might want to check with folks that wrote this and see if they have an update for asl3 which uses asterisk 20

Please post a good result if you manage one. I eventually have to convert my stuff if I am to migrate as I use a lot of this in security.

Hi Mike, good day, I reached out to the HH helpdesk and they told me to get in touch with N8PC, Brad.

I called up Brad on the phone and he told me the ones in HH wiki will only work on ASL 2.0 but not on ASL 3.0.

He is looking for the solution and will get back to me soon

KC1JFN

Hi Mike, good day, HH updated their wiki regarding ASL 3.0 RFlink

https://wiki.hamshackhotline.com/doku.php?id=kb:sms.asl.v3.0

I just updated a VPS to ASL 3 with a DMR Bridge, M17, Echolink and HH rfink

So far so good

73

KC1JFN

Basically the same thing for Hoip and AW as well.

Brad helped me get it working yesterday on my node.

DMR bridge to M17? Do you by chance have examples of the file/s?

73

Rob - K6IRK

Hi Rob, its ASL <=> DMR
|
| <=> M17

I used this guide

KC1JFN

Thank you so much.

Did you have to do the entire part, or just the ASL Part where it says Start ASL?

Thank you again

Rob

Hi Rob, when you open the link it should start on the screenshot I attached.

KC1JFN

That is because I updated them. your welcome Brad N8PC

1 Like

you do not need AW as you can reach it from HOIP with a code. same thing AW will reach HOIP with a code. this is all public knowledge on there wiki page.