I’m having a little trouble setting up my queue to only play the join announcement if there is at least one member logged in. In my case all the members are dynamic.
Currently if no one is logged in the join announcement is played then the voice mail announcement immediately after which is a little strange.
eg:
“Please hold to speak to a member of staff” -> “no one is available at the moment, please leave a message.”
In the file “/etc/asterisk/extensions_additional.conf” I moved the line where the join announcement it played after the fail over destination.
I my case I changed:
exten => 1,n,ExecIf($["${QJOINMSG}"!=""]?Playback(${QJOINMSG}, ))
…
…
exten => 1,n(gotodest),GotoIf($["${QDEST}"=""]?app-announcement-6,s,1:${CUT(QDEST,^,1)},${CUT(QDEST,^,2)},${CUT(QDEST,^,3)})
Copy the entire context from extensions_additional.conf to extensions_freepbx_override.conf make your changes there then reload, now they will persist between reloads.