briankelly63
Guru
- Joined
- Nov 14, 2008
- Messages
- 1,398
- Reaction score
- 320
Many VOIP phones can now utilize RTP Multicast for Paging across an organization. It takes SIP out of the equation, has low overhead, is fast and can be a great solution when you need to send a Page or emergency information to a multitude of phones at the same time.
Later versions of Asterisk allow you to send a Multicast Page by way of a Dial command but if you'd like to do some testing, send music or link up to some other audio source you may need to create your own stream outside of Asterisk.
There are a few different ways to do that including writing your own code but if you'd like a starting point check out the following:
http://www.codeproject.com/Articles/394890/Play-or-Capture-Audio-Sound-Send-and-Receive-as-Mu
Within the zip file you'll find a free Windows app called MulticastStreamer that you can take out for a spin. Set a Multicast IP address ( 224.0.0.0 to 224.0.0.255) and port, Samples per Second to 8000, Bits per sample to 16. Other settings are your own choice. Then configure Multicast on the phones using the same Multicast IP and port. These apps also supply source code (Visual Studio project) so you can make modifications and roll your own. The same author has a streaming app for TCP.
If all goes as planned your phones speaker will become active and start playing whatever you are sending!
There are other options:
VLC (VideoLan) http://www.videolan.org/index.html
MAST http://www.aelius.com/njh/mast/
Acrovista (payed) http://www.acrovista.com/music-service/
Can also do this kind of thing and across different OS's...
Another interesting element of this is utilizing Shairport which is a utility that allows you to stream audio from an IOS (Apple) product to your device as if it were an Airplay receiver (like the Airport Express). There is even a Shairport version that runs on the Raspberry PI.
Shairport for Windows is the quickest way to illustrate the concept:
http://sourceforge.net/projects/shairport4w/
Shairport can also be run on Linux so if you take this a few steps forward you'd be able to marry the Shairport code with the Multicast RTP code and create an Airplay "device" in software that when selected on an IOS device would play through the speakers on your phones.
Until someone puts that together you can run Shairport for Windows and MulticastStreamer on the same Windows desktop, link the audio together and get the same outcome.
It's something new to experiment with and may be helpful for your next installation!
Brian
Later versions of Asterisk allow you to send a Multicast Page by way of a Dial command but if you'd like to do some testing, send music or link up to some other audio source you may need to create your own stream outside of Asterisk.
There are a few different ways to do that including writing your own code but if you'd like a starting point check out the following:
http://www.codeproject.com/Articles/394890/Play-or-Capture-Audio-Sound-Send-and-Receive-as-Mu
Within the zip file you'll find a free Windows app called MulticastStreamer that you can take out for a spin. Set a Multicast IP address ( 224.0.0.0 to 224.0.0.255) and port, Samples per Second to 8000, Bits per sample to 16. Other settings are your own choice. Then configure Multicast on the phones using the same Multicast IP and port. These apps also supply source code (Visual Studio project) so you can make modifications and roll your own. The same author has a streaming app for TCP.
If all goes as planned your phones speaker will become active and start playing whatever you are sending!
There are other options:
VLC (VideoLan) http://www.videolan.org/index.html
MAST http://www.aelius.com/njh/mast/
Acrovista (payed) http://www.acrovista.com/music-service/
Can also do this kind of thing and across different OS's...
Another interesting element of this is utilizing Shairport which is a utility that allows you to stream audio from an IOS (Apple) product to your device as if it were an Airplay receiver (like the Airport Express). There is even a Shairport version that runs on the Raspberry PI.
Shairport for Windows is the quickest way to illustrate the concept:
http://sourceforge.net/projects/shairport4w/
Shairport can also be run on Linux so if you take this a few steps forward you'd be able to marry the Shairport code with the Multicast RTP code and create an Airplay "device" in software that when selected on an IOS device would play through the speakers on your phones.
Until someone puts that together you can run Shairport for Windows and MulticastStreamer on the same Windows desktop, link the audio together and get the same outcome.
It's something new to experiment with and may be helpful for your next installation!
Brian