<html><body><div style="font-family: Arial; font-size: 12pt; color: #000000"><div aria-label="Compose body">To play the files on the air from the cli :<br></div><div aria-label="Compose body">rpt localplay <NODE> <optional path><filename> ; On a duplex node plays the file only on the local node. </div><div aria-label="Compose body"> ;This will NOT play on a simplex base (duplex=0 or duplex=1)<br></div><div aria-label="Compose body">rpt playback <NODE> <optional path><filename> ; On a full duplex node (repeater) plays locally and across the network. </div><div aria-label="Compose body"> ;On a Simplex node only the local transmitter. (I don't care what the docs say, that's how it works)<br></div><div aria-label="Compose body">example : rpt localplay 27784 foobar will play /var/lib/asterisk/sounds/foobar.ulaw<br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body">This assumes the file is located in /var/lib/asterisk/sounds. If it's elsewhere put the full path in <optional path> </div><div aria-label="Compose body">(e.g.: /etc/W3SBA/announce/ID_CARTS/)</div><div aria-label="Compose body"><br></div><div aria-label="Compose body">As to tail messages. I have three that are periodically generated by weather scripts. They're put into /var/lib/asterisk/sounds. <br></div><div aria-label="Compose body">Filenames are tailmsg01.ulaw, tailmsg02.ulaw, tailmsg03.ulaw<br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body">For stuff that I generate manually using Audacity just to keep myself straight, and add portability of the files to other platforms, I build them as .wav files.<br></div><div aria-label="Compose body">Then run them through this :<br></div><div aria-label="Compose body">#!/bin/bash <br> s=`echo $1| sed -e's/\.wav//'|xargs -i{} echo {}.ul` <br> sox -t wav $1 -r 8000 -c1 -t ul $s resample -ql <br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body">Oh.... and I've not had luck using the ".ul" suffix for tail messages. Make it ".ulaw".<br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body">Just my way of doing things.......<br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body">tail message Config Here :<br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body">rpt.conf:<br></div><div aria-label="Compose body"><br></div><div aria-label="Compose body">tailmessagelist=tailmsg01,tailmsg02,tailmsg03<br>tailmessagetime=900000 ; 15 minutes between tail messages </div><div aria-label="Compose body">tailsquashedtime=300000 ; 5 minutes retry if tail message is squashed</div><div aria-label="Compose body"><br></div></div></body></html>