40
Russell Bryant Kevin P. Fleming Digium, Inc. | Asterisk.org Asterisk Project Update AstriCon 2009

Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

  • Upload
    others

  • View
    19

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

Russell BryantKevin P. Fleming

Digium, Inc. | Asterisk.org

Asterisk Project UpdateAstriCon 2009

Page 2: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

2Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Overview

Project Statistics

Release History and Updates

Recent and Upcoming Improvements

Q&A Session (Hold your questions)

Page 3: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

3Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Project Statistics

Before we begin ...

Page 4: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

4Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Project Statistics

NUMBERSARE

AWESOME!

Page 5: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

5Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk Trunk

Center of Asterisk Development

In the last year:–2320 Commits–825 Files Changed–322148 Lines Added–53251 Lines Removed

Page 6: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

6Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk Trunk

Page 7: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

7Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk Trunk

Lines of Code per committer

Page 8: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

8Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Contributor License Agreements

Page 9: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

9Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk Releases

Policy changes over time to address changing needs of the project.

Page 10: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

10Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk pre­1.0

0.1 – December 1999

0.2 – September 2002

0.3 – February 2003

0.4 – April 2003

0.5 – September 2003

0.7 – January 2004

0.9 – April 2004

Page 11: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

11Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk 1.0

Released in the Fall of 2004–At the first Astricon!

1.0.X updates with bug fixes only

Page 12: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

12Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk 1.2

Released November of 2005

Release management similar to 1.0

Still updated for security issues

Page 13: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

13Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk 1.4

Released December of 2006

Release management same as 1.0 and 1.2

Still fully maintained

Page 14: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

14Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Problems so Far

Page 15: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

15Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Problems so Far

1.4 release off to a rough start–Took too long to stabilize

Time to market on features was long

Upgrades sometimes painful

Page 16: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

16Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Time for Adjustments

Release quality– Improve release candidate process–Shorten release cycle to have smaller 

targets for testing– Implement more strict code reviews–Educate development team on best 

practices and common problems

Page 17: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

17Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Time for Adjustments

Long time to market for new features–Shorten release cycle to deliver new 

features quicker and in smaller increments

Page 18: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

18Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Time for Adjustments

Painful Upgrades–Embrace more aggressive maintenance 

of older methods to maintain backwards compatibility

– (Continue to) document all changes that affect configuration and behaviors

Page 19: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

19Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk 1.6.X Goals

Release every 3 months or so

Deliver small feature increments that maintain backwards compatibility

Maintain each increment for at least a year

Page 20: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

20Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk 1.6.X Reality

Asterisk 1.6.0 – October 2008

Asterisk 1.6.1 – April 2009

Asterisk 1.6.2 – Q4 2009

Closer to every 6 months

Increments contain much more significant changes than planned

Page 21: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

21Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Continuing to Improve

Page 22: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

22Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Continuing to Improve

Introduce Release Type–Standard and LTS

Standard–1 year bug fixes + 1 year security

LTS–4 years bug fixes + 1 year security

Page 23: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

23Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Release Numbering

1.6.X Release Numbering Confusing–Does not accurately reflect the 

magnitude of change between releases–Too different from other projects (and 

our previous release numbering)

Go back to previous numbering scheme–1.6.3   1.8→

Page 24: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

24Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Release Numbering

<Concept>.<Feature>.<Minor>[.Patch]–Concept – Something close to a complete 

rewrite would be required to change this–Feature – An update to this number indicates 

a change to the feature set–Minor – This number reflects an update with 

bug fixes only–Patch – Trivial Changes (usually for a security 

release)

Page 25: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

25Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Release Schedule

Release Series

Release Type

Release Date

Security Fixes Only

End of Life

1.2.X 2005­11­21 2007­08­07 2010­11­21

1.4.X LTS 2006­12­23 2010­12­23 2011­12­23

1.6.0.X Standard 2008­10­01 2010­04­01 ***

2010­10­01 ***

1.6.1.X Standard 2010­04­27 2010­04­27 2011­04­27

1.6.2.X Standard TBD (Q4 2009)

TBD + 1 year

TBD + 2 years

1.8.X LTS TBD TBD + 4 years

TBD + 5 years

Page 26: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

26Creative Innovation – Customer Satisfaction – Continual Quality Improvement

New Features

The fun stuff!

Page 27: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

27Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Fax Support Improvements

Completely rewritten T.38 negotiation

Full support for T.38 send/receive; gateway support in the works

Configuration options for interoperability requirements

chan_dahdi improvements to improve stability of FAX over PSTN connections

Hundreds of hours of rigorous testing

Page 28: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

28Creative Innovation – Customer Satisfaction – Continual Quality Improvement

XMPP/Jabber Integration

JABBER_RECEIVE–Receive jabber messages in the 

dialplan–1.8+

Distributed events–MWI and Device State–Still in testing

Page 29: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

29Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Connected Party ID

Full control over connected party ID updates

Redirecting Party ID supported, too

1.8+

Page 30: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

30Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Call Completion Services

“Camp on extensions”

CCNR and CCBS

Support across SIP and ISDN

Currently in Development

Page 31: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

31Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Calendar Integration

iCal, CalDAV, Exchange 2003

Device State Provider

Access calendar state in dialplan

Originate calls based on calendar events

1.8+

Page 32: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

32Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Security Events Framework

Infrastructure for Components to report potential attacks

Includes a module that writes security events to a log file

1.8+

Page 33: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

33Creative Innovation – Customer Satisfaction – Continual Quality Improvement

SIP TCP/TLS Improvements

Lots of additional testing

Improved configuration options

Successful integration with Microsoft OCS

Continued work on robustness

1.6.0+

Page 34: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

34Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Updated PSTN Support

Many improvements to BRI support via mISDN (All versions)

Native BRI support in libpri / chan_dahdi (1.6)

R2 support in chan_dahdi with libopenr2 (1.6.2+)

SS7 support continuing to mature (1.6)

Page 35: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

35Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Core Bridging API

Makes it very easy to write new C modules that need to bridge channels

New conference bridge application–Conferencing without DAHDI

1.6.2+

Page 36: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

36Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Core Timing API

Timing abstraction instead of relying on DAHDI timers directly

res_timing_dahdi

res_timing_timerfd–Newer versions of Linux

res_timing_pthread–Works on all supported platforms

1.6.1+

Page 37: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

37Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Core Channel API Update

Rewritten management of core channel objects

Use of astobj2 object model

Less channel locking required

Code that does channel lookups or iterations much more efficient

Page 38: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

38Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Core Scheduler API Update

Data structures updated for higher performance under load

ast_sched_add() + del()

Events Seconds 1.6.1

Seconds 1.6.2

Percentage of Original

1000000 686.1 3.3 0.4%

100000 53.8 .338 0.6%

10000 .153 .034 22.3%

5000 .049 .017 35.2%

1000 .018 .003 78.0%

500 .003 .002 95.5%

Page 39: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

39Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Summary

Development community continuing to grow at a healthy rate

Release processes modified to meet the needs of users

Rapid development on new functionality to push Asterisk into more interesting places

Page 40: Asterisk Project Update AstriCon 2009 - TMCnet · Asterisk Project Update AstriCon 2009. Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2 ... SIP

Questions?Russell Bryant <[email protected]>

Kevin P. Fleming <[email protected]>