[arm-allstar] hidden courtesy tone?

David McGough kb4fxc at inttek.net
Fri Dec 25 20:25:01 EST 2015


Hi Steve,

The AllStar defaults include having all tones defined as something other 
than silence. Here is a snippet of source code from app_rpt.c showing the 
current defaults:

static struct telem_defaults tele_defs[] = {
        {"ct1","|t(350,0,100,3072)(500,0,100,3072)(660,0,100,3072)"},
        {"ct2","|t(660,880,150,3072)"},
        {"ct3","|t(440,0,150,3072)"},
        {"ct4","|t(550,0,150,3072)"},
        {"ct5","|t(660,0,150,3072)"},
        {"ct6","|t(880,0,150,3072)"},
        {"ct7","|t(660,440,150,3072)"},
        {"ct8","|t(700,1100,150,3072)"},
        {"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(1600,0,75,2048)"},
        {"remotetx","|t(2000,0,75,2048)(0,0,75,0)(1600,0,75,2048)"},
        {"cmdmode","|t(900,904,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)"}
} ;


So, if you comment out the definitions as listed in rpt.conf, you'll get 
the defaults as seen above. If you want all tones to default to silence, 
consider definitions like:

ct1=|t(0,0,10,0)
ct2=|t(0,0,10,0)
ct3=|t(0,0,10,0)
ct4=|t(0,0,10,0)
ct5=|t(0,0,10,0)
ct6=|t(0,0,10,0)
ct7=|t(0,0,10,0)
ct8=|t(0,0,10,0)

ranger=|t(0,0,10,0)
remotemon=|t(0,0,10,0)
remotetx=|t(0,0,10,0)
cmdmode=|t(0,0,10,0)
functioncomplete=|t(0,0,10,0)
remotecomplete=|t(0,0,10,0)
pfxtone=|t(0,0,10,0)


Each of the above definitions make the various courtesy tones 10
milliseconds of silence and nothing else. See more details about this at 
this URL:  http://ohnosec.org/drupal/node/96




Merry Christmas!



73, David KB4FXC






On Thu, 24 Dec 2015, Steve Liggett wrote:

> 
> I have been adjusting courtesy tones, and found out something puzzling on my Pi 2. I commented-out the definitions of all tones (CT1 through CT8). I assumed that there would be no tones. But there is one. Where is that defined?
> 
> If one wanted no tones of any kind under any circumstances, what is the preferred method?
> 
> steve
> W3RX
> _______________________________________________
> 
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> 
> Visit the BBB and RPi2 web page - http://hamvoip.org
> 



More information about the arm-allstar mailing list