plays OK once after restart - then keys the station but no voice…and drops quickly - Did set fs to use entire disk (8GB sd). The file does have ext .gsm – /custom/NU5DLINK.gsm Error Codes below:
Connected to Asterisk GIT d1e9a8b currently running on repeater (pid = 1480)
repeaterCLI> rpt localplay 559821 /custom/NU5DLINK
[Aug 22 04:38:37] WARNING[2040]: file.c:602 ast_openstream_full: File /custom/NU5DLINK does not exist in any format
[Aug 22 04:38:37] WARNING[2040]: file.c:912 ast_streamfile: Unable to open /custom/NU5DLINK (format 0x44 (ulaw|slin)): No space left on device
[Aug 22 04:38:37] WARNING[2040]: app_rpt.c:9933 rpt_tele_thread: ast_streamfile failed on DAHDI/pseudo-1043566485
repeaterCLI>
Steve, it’s very hard to say exactly what is happening here.
I suguest a couple of tests to help narrow it down.
play some different files and/or filetypes. If other stuff plays, you may have a issue with the file or program you used to create/convert it.
clear buffer - you will have to look/set=up what is also known as a ‘birdbath’.
xxx=cop,23 ; Bird Bath - Clean Residual stream
Run your command for birdbath and try again.
(don’t forget to restart if you are adding the command to your rpt.conf)
After restart now - played once - then failed then birdbath and still fail…
Connected to Asterisk GIT d1e9a8b currently running on repeater (pid = 1480)
repeaterCLI> rpt playback 559821 /custom/NU5DLINK
[Aug 22 19:01:59] WARNING[25284]: file.c:602 ast_openstream_full: File /custom/NU5DLINK does not exist in any format
[Aug 22 19:01:59] WARNING[25284]: file.c:912 ast_streamfile: Unable to open /custom/NU5DLINK (format 0x44 (ulaw|slin)): No space left on device
[Aug 22 19:01:59] WARNING[25284]: app_rpt.c:9933 rpt_tele_thread: ast_streamfile failed on DAHDI/pseudo-1036236789
repeaterCLI> rpt fun 559821 923
repeaterCLI> rpt playback 559821 /custom/NU5DLINK
[Aug 22 19:02:17] WARNING[25317]: file.c:602 ast_openstream_full: File /custom/NU5DLINK does not exist in any format
[Aug 22 19:02:17] WARNING[25317]: file.c:912 ast_streamfile: Unable to open /custom/NU5DLINK (format 0x44 (ulaw|slin)): No space left on device
[Aug 22 19:02:17] WARNING[25317]: app_rpt.c:9933 rpt_tele_thread: ast_streamfile failed on DAHDI/pseudo-1103696420
repeater*CLI>
I am still much a newbie - hope rpt fun 559821 *923 does indeed invoke birdbath. The file will play once after restart now.
If you run ls /custom/NU5DLINK.gsm from the Linux command line, does it show that a file exists there, or does it return nothing?
The errors in the log are the ones I get if I incorrectly type the path to the file, so it might be worth the sanity check to make sure you have the path right. For instance, you mention you got the same result with the preinstalled files. I have a file on my system /var/lib/asterisk/sounds/hello-world.ulaw so if you have the same file you can play it using the following command on the asterisk CLI: rpt localplay 559821 /var/lib/asterisk/sounds/hello-world
It does (I also have WinScp looking at the tree - Just thought of a possibility - In the 2ND stanza - 559824 - I have nounkeyct = 1 ; Set to a 1 to eliminate courtesy tones and associated delays. In the first sanza 559821 - nounkeyct = 0 ; Set to a 1 to eliminate courtesy tones and associated delays.
You have 2 different file locations mentioned. I assume the file is in…
/var/lib/asterisk/sounds/custom
You said the id recording plays
idrecording = custom/NU5DLINK
and it is fine. That is because Asterisk looks in the default sound directory for a directory called custom for the file.
But you say you’re sending…
rpt localplay 559821 /custom/NU5DLINK
With the / before custom your tell Asterisk not to look in the default directory but to start in root and look for the custom directory which it can’t find so it fails.
--------‐----------------------
/custom/NU5DLINK looks in…
/custom/NU5DLINK
--------‐----------------------
custom/NU5DLINK looks in…
/var/lib/asterisk/sounds/custom/NU5DLINK
--------‐----------------------
custom/NU5DLINK
/custom/NU5DLINK
Are 2 different things.
I could be wrong but I think removing the leading / should fix your problem.