Huge thanks to Joshua Colp for mirroring services

Wishlist for 1.8 - new media negotiation

Share on Twitter Digg this story Click to view a printable version Sun, 07 Feb 2010 22:27:42 -0400

thumnail

Olle has posted a note explaining his with for codec negotiation fixup:

Friends,

On my wishlist for 1.8 long-term-support release the #1 item is a new media negotiation platform for Asterisk.

If we had integrated John Martin's videocaps in time for release of 1.4 we now would have enjoyed four releases of an Asterisk with much better video support, instead of the broken support we have today. Integration of that code was denied because of plans of something greater and bigger, which we have discussed for years at many Astridevcons. Because of us denying this and other code, outside-of-tree code has been around that fixes a lot of issues and the original Asterisk still lacks proper video support.

There's also a few codec negotation patches that has been around and maintained for years, one of the major ones being Maxim Sobolev's patch.

There are a few main issues here:

  • Codecs should not be handled as a bit, being turned on and off. Both audio and video codecs have attributes that we need to take care of properly
  • When answering, the properties of the answer needs to be relayed to the calling channel, not just a control frame that says "somebody answered".
  • We should be prepared for multiple media streams, including multiple media streams of the same format

The new solution should be extensible, it should be easy to add both new codecs and properties.

The solution has to be configurable. The way you want Asterisk to set up a bridge between two channels varies much. Some people prefer Asterisk doing transcoding some people want Asterisk to stay out of as much trouble as possible and just set up whatever is most simple. Other users just want to standardize all call legs to one type of phone, but have a different policy for other connections. There's no one-solution-fits-all.

We did write up a few documents on this a year ago at Astridevcon in Phoenix. I would really like to see some work on this. My personal feeling is that this is very important for the continued success of Asterisk in the marketplace. The amount of long-lived patches in this area that has been maintained for years shows that we have to do something (and that we sadly have ignored customer demand). The arrival of new codecs and new solutions, like video conferences with multiple audio and video channels, with text channels and possibly other types of channels (lika a binary channel for MSRP and digital ISDN) - all this tells us that we have to get there.

I haven't seen Digium invest in this project during the years we have discussed this. The Digium team has fixed the codec list, it is no longer a limited bitmap. Building a new media negotiation framework not a simple project and it's not something any customer alone would fund, it would propably allocate too much resources from the team. (my personal guesses) I don't think the community as a whole can expect or demand that Digium funds every needed change themselves, especially not in these times of financial worry. Everyone in the eco system will have to contribute to make Asterisk a better product - and I'm not only talking money here.

Maybe we have to apply for funding somewhere else. It requires much more knowledge of Asterisk and experience than what I think we can get through Google summer-of-code, and it's more urgent. Let's discuss this and see how we can make this happen. Read the docs, start an open discussion and hopefully we can get not all of this, but at least the core of it, inside the next long term release of Asterisk, 1.8. It will require a lot of job from all of us in the dev team, as well as the community. Testing, feeding input, building a stabile architecture. I am sure we can get it done.

The Astridevcon documentation is at:
http://astridevcon.pbworks.com/Media+Negotiation

It includes a lot of thoughts going down to code structures.

My presentation that was a base for the discussion is at
http://svnview.digium.com/svn/asterisk/team/group/astridevcon2008/NewMediaArchitecture.pdf

The floor is open. What do you think?

/Olle


You haven't voted yet! Vote:
Current Rating: 9.44/10 (9 votes)

Comments (Click to post)

Comments
Name:
Subject:
Website:
Message: 

Similar Articles (Based on Title)

AstriDevCon Recap - Call Setup Negotiation - June 1, 2007
Russell Bryant has posted a recap on Call Setup Negotiation.

Video negotiation fix for version 1.4.13 - October 30, 2007
Emmanuel BUU has posted details of some patches he has completed which fix some problems in the video negotiation in the latest versions of Asterisk.

Astertest.com: Asterisk Makes a Great Media Server - November 20, 2004
The guys over at Astertest have managed ti get 790 simultaneous audio playbacks on a $350 PC.

Astricon Europe Media Post! - June 27, 2005
Kristian Kielhofner has posted info on the wiki page which contains links to the available media from Astricon.

VMWare image of mcuWeb and Media Mixer - October 12, 2009
Sergio Garcia Murillo has posted a link to a vmware image of his video mixing software for Asterisk.

State of FAX (primarily T.38) in Asterisk trunk (planning for 1.8 release) - December 4, 2009
Kevin Fleming has written up a description of where fax is at in Asterisk.

Release Schedules and plans for Asterisk 1.8 - January 5, 2010
Russell has posted an update to the 1.8 release schedule.

Next release of Asterisk will be 1.8 Long Term Support - January 5, 2010
Olle has been busy! Here is his post regarding the long term support in Asterisk 1.8.

Asterisk 1.8 Branch Creation - July 22, 2010
Russell Bryant has posted a note to inform us of the creation of the 1.8 branch of Asterisk.

Asterisk-Dev: RealTime - res_config_mysql - Ready for Testing - October 12, 2004
Matthew Boehm has released his MySQL driver for the new realtime config options in Asterisk

Asterisk-Users: New rh9/FC1 RPMS - v1.0.1 and CVS-10.11.04 - October 15, 2004
Linuxsys has supplied new Redhat 9 and Fedora Core 1 RPMS for CVS and 1.0.1

Asterisk-Users: SayDigits macro - human style. - October 17, 2004
Eric Wieling has posted a SayDigits macro with logical pauses like a human might say.


Original Content (C) 2004-2010 Matt Riddell
Back 5  Feed Add
to
Google Subscribe with Bloglines
Go to today

Icons by: FastIcon.com


Asterisk and Kamailio (openser) realtime integration
August 5, 2010 Average Vote: 10
Daniel-Constantin Mierla posted a writeup on combining Asterisk and Kamailio.

AstriDevCon: October 29th, Washington DC
August 23, 2010 Average Vote: 10
John Todd has posted a note about the AstriDevCon conference which occurs within the Astricon conference.

VoIP-Info: FFasterisk Video file converter
August 25, 2006 Average Vote: 10
The wiki has a link to a new piece of software for converting video to the format required for Asterisk.

Code Review: SRTP support for Asterisk
March 12, 2009 Average Vote: 10
Terry Wilson has moved his SRTP branch onto the Digium review board.

The Everything Asterisk Video Collection
August 5, 2010 Average Vote: 10
Steven Sokol has posted a blog entry on Asterisk Video Resources.

Voip-Forum: Lots of new articles
March 12, 2005 Average Vote: 10
Oej's Voip-Forum.com site has posted lots of new news articles while I've been away. Hopefully you found them via the asterisk-docs site. If not I've bookmarked them for you.

Interview with Mark Spencer
November 26, 2004 Average Vote: 9.9
We have managed to get an interview with Mark Spencer AKA Markster. Mark Spencer is the creator of Asterisk and by far the most active developer.

Asterisk and Kamailio realtime integration tutorial
May 24, 2010 Average Vote: 9.9
Daniel-Constantin Mierla has posted a link to a tutorial on integrating Asterisk and Kamailio using realtime.

Asterisk IPv6 update
February 1, 2010 Average Vote: 9.8
Olle has posted an update on IPV6 in Asterisk and a link to a blog post of his.

Proposal for T.38 transparent gateway design in Asterisk
April 29, 2010 Average Vote: 9.8
Kevin Fleming has posted a proposed design for a transparent T.38 gateway for Asterisk:

Back to life
July 21, 2010 Average Vote: 9.8
Hey all - I am back online after some pretty big projects which have taken all my time. Will be updating the Asterisk news over the next few days.

GUI changes from Trixbox, FreePBX, 2600hz, BlueBox
September 1, 2010 Average Vote: 9.8
Ok, bear with me on this one. If you understand all the ramifications, FreePBX has split to a new project called BlueBox contained within the 2600hz project. This obviously has implications for Trixbox that uses FreePBX to provide quite a bit of functionality.

Announcing Adhearsion 0.8.5
August 25, 2010 Average Vote: 9.8
Ben Klang has posted a note about the latest release of Adhearsion - a framework for developing Asterisk based solutions using Ruby.

app_swift v2.0 released
July 21, 2010 Average Vote: 9.8
Like a few of these news stories that I will be posting over the next couple of days this is a little old - hope it is not something you have already seen. This one is for a new version of the app_swift text-to-speech module for Asterisk 1.2, 1.4, and 1.6.

Monitoring Asterisk with Munin
January 7, 2010 Average Vote: 9.7
I had a few requests for these munin plugins after some discussion on one of the Asterisk lists and thought people might like them.


libpri 1.4.11.4 Now Available
September 3, 2010
The Asterisk Development Team has announced the release of libpri 1.4.11.4.

New CDR Stats Package
September 1, 2010
This one has been a long time coming. A new CDR stats package from Star2Billing to replace the 7 year old stalwart for viewing Asterisk call detail records.

GUI changes from Trixbox, FreePBX, 2600hz, BlueBox
September 1, 2010
Ok, bear with me on this one. If you understand all the ramifications, FreePBX has split to a new project called BlueBox contained within the 2600hz project. This obviously has implications for Trixbox that uses FreePBX to provide quite a bit of functionality.

RazorQuotePBP Asterisk Payment Module
August 31, 2010
RazorQuote has sent us a press release about the launch of RazorQuotePBP, a native Asterisk module that allows any Asterisk connected device to accept credit card payments.

CloudVox: Install an open source Asterisk phone app and get 250 dollars
August 30, 2010
CloudVox is running a competition for people to receive 250 dollars for writing up some documentation for Open Source applications on CloudVox - first in first served.

AstriCon approaches
August 25, 2010
John Todd has posted a note about the upcoming AstriCon conference in Washington, DC, and the innovation awards.

Announcing Adhearsion 0.8.5
August 25, 2010
Ben Klang has posted a note about the latest release of Adhearsion - a framework for developing Asterisk based solutions using Ruby.

Asterisk 1.8.0-beta4 Now Available
August 25, 2010
The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta4.

AstriDevCon: October 29th, Washington DC
August 23, 2010
John Todd has posted a note about the AstriDevCon conference which occurs within the Astricon conference.

The XV Commandments of IVR
August 17, 2010
An update on the 15 tips for creating effective IVR systems by Allison Smith - the Voice of Asterisk.