Following last week’s announcement of feature freeze [1], the Asterisk Development team is now pleased to present the first beta of Asterisk 14. In the weeks leading up to this year’s AstriCon, we’ll have a series of blog posts talking about some of the exciting things in Asterisk 14. Let’s briefly talk about one of those exciting things now available in Asterisk 14: URI Media Playback.
Today, when a call comes in to Asterisk and media needs to be played back to the caller, that media must come from a file that’s locally accessible to the OS. For single deployments, that’s usually okay. For larger deployments, this gets tougher. If you’ve got 10 Asterisk installations, you might need 10 copies of the same media, accessible to each of the Asterisk systems. If you need to update the media, you’ve got to update it in 10 places (Giant time sink). You can work around this, to a degree, by remotely mapping file systems. But, for anyone who’s ever worked with SMB or NFS, you know they’re a little too fragile for critical infrastructure.
When Asterisk plays media from the Dialplan, it looks like:
exten > 100,1,NoOp() same > n,Answer() same > n,Playback(demo-congrats) same > n,Hangup()
Wouldn’t it be great to be able to do something like this, instead:
exten >; 100,1,NoOp() same > n,Answer() same > n,Playback(https://server.example.com/media/demo-congrats.wav) same > n,Hangup()
With Asterisk 14, you can! Asterisk now includes the ability to cache and then play media from remote HTTP and HTTPs URIs. This feature isn’t just for Dialplan, but can also be done via AGI or ARI. And, just like with normal playback of traditional, local sounds, URI Playback of multiple sounds can be accomplished with the & character:
exten > 100,1,NoOp() same > n,Answer() same > n,Playback(https://server.example.com/media/hello.wav&https://server.example.com/media/and.wav&https://server.example.com/media/goodbye.wav same > n,Hangup()
Anyone building any Asterisk system that involves a lot of media playback can take advantage of this. We’ve got a great wiki page [2] outlining the development of this feature that everyone should go read.
Now, as we move towards release, let’s talk about the anticipated schedule.
We project that Asterisk 14.0 will be released in time for AstriCon, on or about September 27th. At that point, we’ll have the website updated, the press release, and all of the other festivities that go on at AstriCon to celebrate its launch. Two weeks prior to that, on or about September 13th, we plan for the release candidate phase to begin. And, two weeks prior to the release candidate phase, on or about August 27th, we plan a second beta. Which brings us back to today, and the first beta.
The Development team needs your help to make this beta and release candidate phase successful. With your efforts to test your unique usage of Asterisk and your myriad connected devices, we can uncover new bugs, squash them, and make Asterisk 14 a huge success. So, please download the beta today[3], give it a spin, and let us know how it goes with your posts to the mailing list [4], the community forums [5]; or, if you find a bug, the issue tracker [6].
Thank you for using Asterisk, and we’ll see you again in a few weeks with an Asterisk 14 update.
— Matt
[1] – http://lists.digium.com/pipermail/asterisk-dev/2016-July/075704.html
[2] – https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Project+-+URI+Media+Playback
[3] – http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-14.0.0-beta1.tar.gz
[4] – http://lists.digium.com/mailman/listinfo/asterisk-users
[5] – https://community.asterisk.org
[6] – https://issues.asterisk.org/jira/secure/Dashboard.jspa
2 Responses
Very useful feature.. Awesome