Hello fellow FusionPBX and FreeSwitch users. I'm looking for some advice about how to build my application.
I have an Icecast stream that will be broadcasting only at certain times. I have a phone number that people can dial in to hear this stream.
If the stream is not live, I'd like to play a recording saying the stream isn't live and then hang up.
How can FusionPBX test if the Icecast stream is live?
Is Lua the only way to go? If so, how would Lua interact with the dialplan for my conditional logic?
BTW the Icecast server has a status webpage that I could scan for a text match to determine if the stream is available.)
Thanks for your thoughts!
I have an Icecast stream that will be broadcasting only at certain times. I have a phone number that people can dial in to hear this stream.
If the stream is not live, I'd like to play a recording saying the stream isn't live and then hang up.
How can FusionPBX test if the Icecast stream is live?
Is Lua the only way to go? If so, how would Lua interact with the dialplan for my conditional logic?
BTW the Icecast server has a status webpage that I could scan for a text match to determine if the stream is available.)
Thanks for your thoughts!