# Asterisk Crashes with "rpt\_master: Continual RPT thread restarts, killing Asterisk"

**URL:** <https://community.allstarlink.org/t/asterisk-crashes-with-rpt-master-continual-rpt-thread-restarts-killing-asterisk/22964>\
**Category:** AllStarLink\
**Created:** [February 27, 2025, 12:13pm UTC](https://community.allstarlink.org/t/asterisk-crashes-with-rpt-master-continual-rpt-thread-restarts-killing-asterisk/22964 "2025-02-27T12:13:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PriyeshGupta](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@PriyeshGupta](https://community.allstarlink.org/u/PriyeshGupta)\
**Post date:** [February 27, 2025, 12:13pm UTC](https://community.allstarlink.org/t/asterisk-crashes-with-rpt-master-continual-rpt-thread-restarts-killing-asterisk/22964/1 "2025-02-27T12:13:32Z")

</div>

Hi all, Hope everyone is doing well!

I’m currently working with DAHDI and Asterisk, and I’ve encountered some issues as below.  
I would greatly appreciate your help in resolving these problems.

* * *

Asterisk CLI errors:

[Feb 27 17:41:15] WARNING[9096]: channel.c:6244 request\_channel: No channel type registered for 'Radio'  
rpt:Sorry unable to obtain Rx channel  
[Feb 27 17:41:15] WARNING[9097]: channel.c:6244 request\_channel: No channel type registered for 'Radio'  
rpt:Sorry unable to obtain Rx channel  
[Feb 27 17:41:17] NOTICE[9074]: app\_rpt.c:13556 rpt\_master: RPT thread restarted on 611  
[Feb 27 17:41:17] WARNING[9074]: app\_rpt.c:13568 rpt\_master: rpt\_thread restarted on node 611  
[Feb 27 17:41:17] NOTICE[9074]: app\_rpt.c:13556 rpt\_master: RPT thread restarted on 610  
[Feb 27 17:41:17] WARNING[9074]: app\_rpt.c:13568 rpt\_master: rpt\_thread restarted on node 610  
-- -- Re-Loading config for repeater 611  
-- -- Re-Loading config for repeater 610  
rpt:Sorry unable to obtain Rx channel  
[Feb 27 17:41:17] WARNING[9099]: channel.c:6244 request\_channel: No channel type registered for 'Radio'  
rpt:Sorry unable to obtain Rx channel  
[Feb 27 17:41:17] WARNING[9098]: channel.c:6244 request\_channel: No channel type registered for 'Radio'

\*CLI\>  
\*CLI\> [Feb 27 17:41:19] NOTICE[9074]: app\_rpt.c:13556 rpt\_master: RPT thread restarted on 611  
[Feb 27 17:41:19] WARNING[9074]: app\_rpt.c:13568 rpt\_master: rpt\_thread restarted on node 611  
[Feb 27 17:41:19] NOTICE[9074]: app\_rpt.c:13556 rpt\_master: RPT thread restarted on 610  
[Feb 27 17:41:19] WARNING[9074]: app\_rpt.c:13568 rpt\_master: rpt\_thread restarted on node 610  
-- -- Re-Loading config for repeater 611  
-- -- Re-Loading config for repeater 610  
rpt:Sorry unable to obtain Rx channel  
[Feb 27 17:41:19] WARNING[9100]: channel.c:6244 request\_channel: No channel type registered for 'Radio'  
[Feb 27 17:41:19] WARNING[9101]: channel.c:6244 request\_channel: No channel type registered for 'Radio'  
rpt:Sorry unable to obtain Rx channel  
[Feb 27 17:41:21] ERROR[9074]: app\_rpt.c:13551 rpt\_master: Continual RPT thread restarts, killing Asterisk  
[VCSS@localhost ~]$

* * *

I thought maybe this is because my DAHDI won’t start, as i am getting following errors when starting DAHDI:

[VCSS@localhost ~]$ service dahdi start  
Loading DAHDI hardware modules:

## using ‘/etc/dahdi/assigned-spans.conf’

Running dahdi\_cfg: DAHDI\_CHANCONFIG failed on channel 1: Invalid argument (22)  
Selected signaling not supported  
Possible causes:  
FXO signaling is being used on a FXO interface (use a FXS signaling variant)  
RBS signaling is being used on a E1 CCS span  
Signaling is being assigned to channel 16 of an E1 CAS span  
[FAILED]  
[VCSS@localhost ~]$

Here is the content from the `system.conf` file:  
[VCSS@localhost ~]$ cat /etc/dahdi/system.conf  
#autogenerated by /usr/sbin/wancfg\_dahdi do not hand edit  
#autogenrated on 2021-12-22  
#dahdi::category Channels Configurations  
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak  
loadzone=us  
defaultzone=us

#Sangoma AFT-400 [slot:4 bus:2 span:1]  
fxoks=1  
echocanceller=mg2,1  
fxoks=2  
echocanceller=mg2,2  
fxoks=3  
echocanceller=mg2,3  
fxoks=4  
echocanceller=mg2,4  
fxsks=5  
echocanceller=mg2,5  
fxsks=6  
echocanceller=mg2,6  
fxsks=7  
echocanceller=mg2,7  
fxsks=8  
echocanceller=mg2,8  
[VCSS@localhost ~]$

Any guidance on how to solve these issues would be greatly appreciated.

Hopefully I have supplied all necessary info, Looking forward to your support!

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/5406_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [February 27, 2025, 1:19pm UTC](https://community.allstarlink.org/t/asterisk-crashes-with-rpt-master-continual-rpt-thread-restarts-killing-asterisk/22964/2 "2025-02-27T13:19:33Z")

</div>

> [@PriyeshGupta](#):
>
> pt:Sorry unable to obtain Rx channel  
> [Feb 27 17:41:17] WARNING[9099]: channel.c:6244 request\_channel: No channel type registered for ‘Radio’  
> rpt:Sorry unable to obtain Rx channel  
> [Feb 27 17:41:17] WARNING[9098]: channel.c:6244 request\_channel: No channel type registered for ‘Radio’

Paste in your node-specific stanza here. Sounds like you have a typo on the channel type.

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [February 27, 2025, 2:38pm UTC](https://community.allstarlink.org/t/asterisk-crashes-with-rpt-master-continual-rpt-thread-restarts-killing-asterisk/22964/3 "2025-02-27T14:38:03Z")

</div>

It kinda looks like you are using freepbx ?

What version of software are you using ?

---

<div class="post-metadata">

**Author:** ![PriyeshGupta](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@PriyeshGupta](https://community.allstarlink.org/u/PriyeshGupta)\
**Post date:** [February 28, 2025, 8:05am UTC](https://community.allstarlink.org/t/asterisk-crashes-with-rpt-master-continual-rpt-thread-restarts-killing-asterisk/22964/4 "2025-02-28T08:05:44Z")

</div>

hi @Mike & @N8EI , thanks for your response,

I am using Asterisk 16, and dahdi 3.1.0

and

## the following is my rpt.conf ; i have my rxchannel mentioned in [610], please suggest changes if are required.

[610]  
rxchannel = Radio/usb\_610  
context = Radio\_1  
callerid = "610"  
duplex = 1  
linktolink = no  
linkmongain = 0  
erxgain = -3  
etxgain = 3  
scheduler = schedule  
functions = functions  
phone\_functions = functions  
link\_functions = functions  
callonvox = 0  
ivoxcontext = Radio\_1  
ivoxexten = s  
telemetry = telemetry  
morse = morse  
wait\_times = wait-times  
accountcode = RADIO  
hangtime = 5000  
althangtime = 4000  
totime = 180000  
idrecording = |iWA4XYZ  
idtalkover = |iWA4XYZ  
idtime = 540000  
politeid = 30000  
unlinkedct = ct2  
remotect = ct3  
linkunkeyct = ct8  
holdofftelem = 0  
telemdefault = 1  
telemdynamic = 1

[functions]

1 = ilink,1 ; Disconnect specified link  
2 = ilink,2 ; Connect specified link -- monitor only  
3 = ilink,3 ; Connect specified link -- tranceive  
4 = ilink,4 ; Enter command mode on specified link  
70 = ilink,5 ; System status  
99 = cop,6 ; PTT (phone mode only)  
­­  
; Macro Commands  
5 = macro

; Autopatch Commands  
61 = autopatchup,noct = 1,farenddisconnect = 1,dialtime = 20000,context=Radio\_1,quiet = 1 ; Autopatch up  
62 = autopatchdn ; Autopatch down

; Status Commands  
721 = status,1 ; Force ID (global)  
722 = status,2 ; Give Time of Day (global)  
723 = status,3 ; Give software Version (global)  
724 = status,4 ; Give GPS location info  
725 = status,5 ; Last (dtmf) user  
711 = status,11 ; Force ID (local only)  
712 = status,12 ; Give Time of Day (local only)

; Link Commands  
806 = ilink,6 ; Disconnect all links  
807 = ilink,7 ; Last Node to Key Up  
808 = ilink,8 ; Connect specified link -- local monitor only  
809 = ilink,9,1999,"Testing" ; would send a text message to node 1999 replace 1999 with 0 for all connected nodes  
810 = ilink,10 ; Disconnect all RANGER links (except permalinks)  
811 = ilink,11 ; Disconnect a previously permanently connected link  
812 = ilink,12 ; Permanently connect specified link -- monitor only  
813 = ilink,13 ; Permanently connect specified link -- tranceive  
815 = ilink,15 ; Full system status (all nodes)  
816 = ilink,16 ; Reconnect links disconnected with "disconnect all links"  
817 = ilink,17 ; MDC test (for diag purposes)  
818 = ilink 18 ; Permanently Connect specified link -- local monitor only

; Control operator (cop) functions. Change these to something other than these codes listed below!

901 = cop,1 ; System warm boot  
902 = cop,2 ; System enable  
903 = cop,3 ; System disable

904 = cop,4 ; Test tone on/off (toggle)  
905 = cop,5 ; Dump system variables on console (debug use only)

907 = cop,7 ; Time out timer enable  
908 = cop,8 ; Time out timer disable

909 = cop,9 ; Autopatch enable  
910 = cop,10 ; Autopatch disable

911 = cop,11 ; User linking functions enable  
912 = cop,12 ; User linking functions disable

913 = cop,13 ; Query system control state  
914 = cop,14 ; Set system control state

915 = cop,15 ; Scheduler enable  
916 = cop,16 ; Scheduler disable

917 = cop,17 ; User functions enable (time, id, etc)  
918 = cop,18 ; User functions disable

919 = cop,19 ; Select alternate hang time (althangtime)  
920 = cop,20 ; Select standard hangtime (hangtime)

921 = cop,21 ; Enable Parrot Mode  
922 = cop,22 ; Disable Parrot Mode  
923 = cop,23 ; Birdbath (Current Parrot Cleanup/Flush)

924 = cop,24 ; Flush all telemetry  
925 = cop,25 ; Query last node un-keyed  
926 = cop,26 ; Query all nodes keyed/unkeyed  
927 = cop,27 ; Reset DAQ minimum on a pin  
928 = cop,28 ; Reset DAQ maximum on a pin

930 = cop,30 ; Recall Memory Setting in Attached Xcvr

931 = cop,31 ; Channel Selector for Parallel Programmed Xcvr

932 = cop,32 ; Touchtone pad test: command + Digit string + # to playback all digits pressed

933 = cop,33 ; Local Telemetry Output Enable  
934 = cop,34 ; Local Telemetry Output Disable  
935 = cop,35 ; Local Telemetry Output on Demand

936 = cop,36 ; Foreign Link Local Output Path Enable  
937 = cop,37 ; Foreign Link Local Output Path Disable  
938 = cop,38 ; Foreign Link Local Output Path Follows Local Telemetry  
939 = cop,39 ; Foreign Link Local Output Path on Demand

942 = cop,42 ; Echolink announce node # only  
943 = cop,43 ; Echolink announce node Callsign only  
944 = cop,44 ; Echolink announce node # & Callsign

945 = cop,45 ; Link Activity timer enable  
945 = cop,46 ; Link Activity timer disable  
947 = cop,47 ; Reset "Link Config Changed" Flag

948 = cop,48 ; Send Page Tone (Tone specs separated by parenthesis)

949 = cop,49 ; Disable incoming connections (control state noice)  
950 = cop,50 ; Enable incoming connections (control state noicd)

951 = cop,51 ; Enable sleep mode  
952 = cop,52 ; Disable sleep mode  
953 = cop,53 ; Wake up from sleep  
954 = cop,54 ; Go to sleep  
955 = cop,55 ; Parrot Once if parrot mode is disabled

956 = cop,56 ; Rx CTCSS Enable  
957 = cop,57 ; Rx CTCSS Disable

958 = cop.58 ; Tx CTCSS On Input only Enable  
959 = cop,59 ; Tx CTCSS On Input only Disable

960 = cop,60 ; Send MDC-1200 Burst (cop,60,type,UnitID[,DestID,SubCode])  
; Type is 'I' for PttID, 'E' for Emergency, and 'C' for Call  
; (SelCall or Alert), or 'SX' for STS (ststus), where X is 0-F.  
; DestID and subcode are only specified for the 'C' type message.  
; UnitID is the local systems UnitID. DestID is the MDC1200 ID of  
; the radio being called, and the subcodes are as follows:  
; Subcode '8205' is Voice Selective Call for Spectra ('Call')  
; Subcode '8015' is Voice Selective Call for Maxtrac ('SC') or  
; Astro-Saber('Call')  
; Subcode '810D' is Call Alert (like Maxtrac 'CA')

961 = cop,61 ; Send Message to USB to control GPIO pins (cop,61,GPIO1=0[,GPIO4=1].....)  
962 = cop,62 ; Send Message to USB to control GPIO pins, quietly (cop,62,GPIO1=0[,GPIO4=1].....)

963 = cop,63 ; Send pre-configred APRSTT notification (cop,63,CALL[,OVERLAYCHR])  
964 = cop,64 ; Send pre-configred APRSTT notification, quietly (cop,64,CALL[,OVERLAYCHR])  
965 = cop,65 ; Send POCSAG page (equipped channel types only)

[functions-remote]

0 = remote,1 ; Retrieve Memory  
1 = remote,2 ; Set freq.  
2 = remote,3 ; Set tx PL tone  
3 = remote,4 ; Set rx PL tone  
40 = remote,100 ; Rx PL off  
41 = remote,101 ; Rx PL on  
42 = remote,102 ; Tx PL off  
43 = remote,103 ; Tx PL on  
44 = remote,104 ; Low Power  
45 = remote,105 ; Medium Power  
46 = remote,106 ; High Power  
711 = remote,107 ; Bump -20  
714 = remote,108 ; Bump -100  
717 = remote,109 ; Bump -500  
713 = remote,110 ; Bump +20  
716 = remote,111 ; Bump +100  
719 = remote,112 ; Bump +500  
721 = remote,113 ; Scan - slow  
724 = remote,114 ; Scan - quick  
727 = remote,115 ; Scan - fast  
723 = remote,116 ; Scan + slow  
726 = remote,117 ; Scan + quick  
729 = remote,118 ; Scan + fast  
79 = remote,119 ; Tune  
51 = remote,5 ; Long status query  
52 = remote,140 ; Short status query  
67 = remote,210 ; Send a \*  
69 = remote,211 ; Send a #  
85 = cop,6 ; Remote base telephone key

[telemetry]  
ct1 = |t(350,0,100,2048)(500,0,100,2048)(660,0,100,2048)  
ct2 = |t(660,880,150,2048)  
ct3 = |t(440,0,150,4096)  
ct4 = |t(550,0,150,2048)  
ct5 = |t(660,0,150,2048)  
ct6 = |t(880,0,150,2048)  
ct7 = |t(660,440,150,2048)  
ct8 = |t(700,1100,150,2048)  
ranger = |t(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,50,0)(1800,0,60,3072)(0,0,150,0)  
remotemon = |t(1209,0,50,2048) ; local courtesy tone when receive only  
remotetx = |t(1633,0,50,3000)(0,0,80,0)(1209,0,50,3000) ; local courtesy tone when linked Trancieve mode  
cmdmode = |t(900,903,200,2048)  
functcomplete = |t(1000,0,100,2048)(0,0,100,0)(1000,0,100,2048)  
remcomplete = |t(650,0,100,2048)(0,0,100,0)(650,0,100,2048)(0,0,100,0)(650,0,100,2048)  
pfxtone = |t(350,440,30000,3072)  
patchup = rpt/callproceeding  
patchdown = rpt/callterminated

[morse]  
speed = 20 ; Approximate speed in WPM  
frequency = 800 ; Morse Telemetry Frequency  
amplitude = 4096 ; Morse Telemetry Amplitude  
idfrequency = 1065 ; Morse ID Frequency  
idamplitude = 1024 ; Morse ID Amplitude

[wait-times]  
telemwait = 2000 ; Time to wait before sending most telemetry  
idwait = 500 ; Time to wait before starting ID  
unkeywait = 2000 ; Time to wait after unkey before sending CT's and link telemetry  
calltermwait = 2000 ; Time to wait before announcing "call terminated"

[nodes]

510 = radio@127.0.0.1:4569/510,NONE

[memory]

[macro]

[schedule]

---

<div class="post-metadata">

**Author:** ![N8EI](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n8ei/32/5406_2.png) [@N8EI](https://community.allstarlink.org/u/N8EI)\
**Post date:** [February 28, 2025, 2:25pm UTC](https://community.allstarlink.org/t/asterisk-crashes-with-rpt-master-continual-rpt-thread-restarts-killing-asterisk/22964/5 "2025-02-28T14:25:45Z")

</div>

> [@PriyeshGupta](#):
>
> Asterisk 16, and dahdi 3.1.0

Neither of those are supported with with app\_rpt. Current app\_rpt requires Asterisk 20+ and DAHDI 3.2.0 for proper function. It is strongly suggested to use the Debian packages. You can also install from source if desired:

> **[ASL3 User Guide - AllStarLink Manual](https://allstarlink.github.io/user-guide/)**
>
> AllStarLink Manual

> **[Source-Based Installation - AllStarLink Manual](https://allstarlink.github.io/developers/source-install/)**
>
> AllStarLink Manual
