Closed jxmx closed 5 months ago
If avahi is installed we could also "speak" the local hostname.
The user should have a way to turn this off if desired, perhaps with a asl3-menu selection.
We can implement it with a systemd timer that fires N seconds after asterisk starts. Trivially disable-able with a systemd service masking.
If avahi is installed we could also "speak" the local hostname.
That'd be difficult because many words in the sound index probably wouldn't map to hostnames.
If avahi is installed we could also "speak" the local hostname.
That'd be difficult because many words in the sound index probably wouldn't map to hostnames.
We have options if the hostname is not a known word :
node 1 9 9 9 dot local
w b 6 n i l dot local
But, as Tim suggests, we can look at ways to control the behavior. We can also start off simple (and familiar) for now and look at other possibilities later.
Thinking about this a bit more, with Avahi installed it is much less important/useful to know the local hostname (we have "discovery" applications that can do that for us). So, maybe, "speaking" the name is not so important.
But, for the record, I have no issues with a device speaking (or flashing) it's IP on boot. To me, that's a quick way to know that the device has [re-]booted, that Asterisk/ASL is running, and that it's connected to the local network.
FYI, I'd give a few bonus points if we added a "connected to AllStarLink" announcement after the first registration :-)
I've added asl-say
to the bin target.
ASL3 should provide a script to speak the IP address on startup which is most useful for a Pi hotpost