Generally speaking, no custom…
Set ‘context’ to radio-contol in your sip extensions.
Now, everything you want to connect to should be inside that context in extensions.conf.
To connect to one of your nodes, create a stanza inside that ext context…
[radio-control]
exten => 29285,1,Rpt,29285|P ; is all it takes, but you might want to get fancier…
exten => 29285,1,Answer
exten => 29285,n,Wait(2)
exten => 29285,n,Playback(rpt/node)
exten => 29285,n,Playback(/var/lib/asterisk/sounds/rpt/nodenames/29285) ; plays rec file nodename
;exten => 29285,n,Playback(/etc/asterisk/msg/idmsg)
;exten => 29285,n,SayAlpha(fm)
;exten => 29285,n,Playback(remote-base)
exten => 29285,n,Rpt,29285|P ; the pipe P "|P’ says to handle this radio extension with ‘phone rules’
For internal extension patch, in rpt.conf
assuming you do not have any outbound routes and only your sip phones…
set the context the same as your sips
6=autopatchup,context=radio-control,noct=0,farenddisconnect=1,dialtime=90000,quiet=0
as long as your sips have correct routing in context [radio-control] all is fine
…and provided I did not forget anything… LOL and I did…
edit
I was assuming you made dialplan for your extensions.
roughly it needs something similar to this with your ext #'s
exten => _50X,n,Dial(sip/${EXTEN},20) ;dial ext on this box, dial 20 sec then next voicemail
exten => _50X,n,VoiceMail(5000) ; common vm
exten => _50X,n,Hangup
should be in the same context listed with your sips