I am trying to setup tailmessages in Asterisk 20.9.1+asl3-3.0.4-1.deb12. idrecording is working fine. Took a while to figure out I need duplex=3 to get idrecordings to go out in radio. I’ve tried setting up a tailmessagelist with multiple recordings but they didn’t play. So I tried using absolute file paths, then just one recording with or without absolute path but no luck. I don’t think it has ever played a tailmessage. The files are in /var/lib/asterisk/sounds/ and they play fine with rpt commands, just not as tailmessages. Nothing in the logs. I tried putting a bad filename in and that did not make any difference. I’ve got this in rpt.conf which is the defaults plus my filename:
tailmessagelist=/var/lib/asterisk/sounds/plinuse
tailsquashedtime=900000 ; 15 minutes
tailmessagetime=21600000 ; 6 hours (200000000 ms, 55.5555 hours is the max value possible)
Yea this stuff can be strange sometimes.
Nothing wrong with the format that I notice.
I might wonder if it is some strange file owner/permission error.
Can you set the files to 775 and test
check owner
Test with some stock vocabulary as well.
You did create the file so it likely has a different owner.
Suggest
chown asterisk:asterisk
or whatever your vocabulary is set at.
It could be one is being called by the user asterisk and the other group asterisk in asl3 ?
I always specify the full path and spec of the files.
And I keep them in a separate directory.
But I’m not suggesting you follow that.
Interested in your results.
I don’t really use this anymore.
I use to have many. To turn off the ones I didn’t need, I would just rename the file by dtmf command so it would not be recognized and it was skipped to the next valid one.
Just one way of get’n r done.
I had made all the files asterisk:asterisk previously. I don’t know where the stock vocal files are, not in the en folder. Never was able to find them on ASL3. Probably going to resort to alternating the idrecording file with a cron job.
Are you saying that it will not play a sound that is ‘described in path’ anywhere else ?
Because he is using a full path as stated in the initial post.
Okay I realized something this morning. The idrecording is going out over people when they key down. But, allstar is on a half duplex link to the hub site so perhaps that is expected. But, does the half duplex link effect the tailmessage going out? Still haven’t ever heard a tailmessage come from allstar. Not sure why it isn’t waiting until the end of the first keydown in a while before it does the idrecording, and I don’t think it ever does the idtalkover. Do I need a full duplex link for tailmessage and idtalkover to work?
Anything higher than duplex=0 will work.
If you need a half duplex link but still want that kind of telemetry, set it to duplex=1 and disable all courtesy tones, set hangtime to 0.
No sleeptime found in any file in /etc/asterisk. I have set idtalkover to morse and politeid is the default 30000. I changed duplex from 3 to 1. Hang time down to just 1. With duplex=3, the idrecording goes out on asterisk restart, with duplex=1 it goes out a little later, perhaps the politeid time later. Still no tailmessages. Since I’ve never heard one, I still don’t really know when they should TX. I will keep playing with it.
I doubt anyone can tell you what duplex node is needed without knowing your exact setup.
They are not all the same. That is why we have settings for what is needed.
I have figured out that duplex=1 makes it not id over someone on first keyup in a while. So the side issue with id over someone is fixed by duplex=1. I always get scared with 1 because I fear that I didn’t turn off telemetry and it’s going to announce connects and disconnects. But yeah, duplex=3 would do that to if I mess it up. The original problem still exists, never once heard a tailmessage on this node. I’m going to rename files with cron to switch out the idrecording for now.
cop,34 ; Local Telemetry Output Disable
cop,33 ; Local Telemetry Output Enable
cop,35 ; Local Telemetry Output on demand
cop,37 ; Foreign Link Local Output Path Disable
cop,36 ; Foreign Link Local Output Path Enable
cop,38 ; Foreign Link Local follow local telem
cop,39 ; Foreign Link Local Output Path On-/-Timed
Again, there is no sleeptime= found in any file in the /etc/asterisk dir. The cop commands are default, all commented out. The documentation says to exclude the file extension, is that what you mean by filespec? Adding the file extension makes no difference. Set the tailsquashedtime to 30000 and same result. I’ve spend a huge amount of time trying to get a tailmessage to play and not once has it happened. I can’t spend anymore time on this unfortunately. I’m going to rename idrecording files with cron to get the same result. I commented out idtalkover as well as it seems to play at strange times, often same time as idrecording.
This morning my node was not playing the idrecording. I keyed down a few times and waited and nothing ever played. I tried asterisk -rx “rpt playback 49520 plinuse” and the tx went for about the length of the message, but no audio. I tried playing to other sound files the same way and same result, tx but no audio. So I restarted asterisk. 30 seconds later, as expected, the idrecording played. Then directly after, the tail message played. First time I’ve heard it play in ASL3. Interesting thing, when I try to rpt playback, the same thing is happening as above, tx no audio, but the tailmessage plays at the end every time. These files I’m trying to play are the idrecording and tailmessage files and they play with audio when played as the tailmessage or idrecording. No audio only when using rpt playback. There should not have been any changes made by me yesterday that I can think of. I had stepped away from this and was testing node connections yesterday. I will keep watching it. I had the tail timers at very low values the past few days and didn’t hear the message until this morning. I set those times back to default and have not heard the tail message again yet.
I see now in the allmon interface where it shows my node status. It’s always either doing something, or in idle status. I have never seen it say sleep there.
Saturday morning I noticed no idrecording was happening. I restarted allstar and we were working an event that day so repeater system was in use and idrecording seemed to work all day. Then Sunday morning I was about to check things and someone came on and then I heard the tailmessage! It seems to have played just that one time. And I haven’t heard the idrecording since then. I haven’t been able to monitor continuous but when I have been, it’s not playing even after I create traffic.
I’m curious if anyone else can report idrecording/tailmessage is working for them in latest ASL3?
Well I setup a new raspi appliance to try out the idrecording and tailmessage. Same problem, tailmessage never plays, except in extremely rare conditions after I do a ‘rpt playback 49520 soundfile’. And the idrecording seems to never play either. It does play once after asterisk restart but then never again. Definitely a problem getting idrecording and tailmessage to play. I think the cw id plays but hard to tell because all our 2m repeaters do a cw id as well. My plan to replace a 30 year old controller with allstar for messages is a failure.
;;;;;;;;;;;;;;;;;;; Your node settings here ;;;;;;;;;;;;;;;;;;;
;startup_macro = *8132000
hangtime = 10 ; squelch tail hang time (in ms) (optional, default 5 seconds, 5000 ms)
althangtime = 40 ; longer squelch tail
totime = 180000 ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)
idrecording = /etc/asterisk/rpt/k5fdrepeater-hector ; id recording or morse string
;idtalkover = ; Talkover ID (optional) default is none
idtime = 540000 ; id interval time (in ms) (optional) Default 5 minutes (300000 ms)
politeid = 30000 ; time in milliseconds before ID timer expires to try and ID in the tail. (optional, default 30000)
tailmessagelist=/etc/asterisk/rpt/plinuse
tailsquashedtime=900000 ; 15 minutes
tailmessagetime=21600000 ; 6 hours (200000000 ms, 55.5555 hours is the max value possible)
nodenames = /etc/asterisk/rpt ; Point to alternate nodename sound directory