Asterisk 12 Update

Preview:

DESCRIPTION

This presentation shows the major changes implemented in Asterisk 12, and what they may mean for the Elastix Community in the future. Speaker: David Duffett

Citation preview

ElastixWorld 2013:Asterisk 12 Update

What’s new, and what itmight mean for Elastix

developers and users?

David DuffettWorking with the Worldwide Asterisk Community

2Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Our agenda for today

Asterisk – development overview

Asterisk 12 Update – overview

New SIP channel

New interface for building applications

WebRTC capabilities in Asterisk 12

How can you support the projects?

Recap of the key points

3Creative Innovation – Customer Satisfaction – Continual Quality Improvement

But first…

Let’s find out about each other!

Please clasp your hands together

Notice which thumb is on top

Those with the left thumb on top…– …are the SEXY PEOPLE!

Those with the right thumb on top…– …THINK THEY’RE THE SEXY PEOPLE!

4Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk – development overview

Releases alternate between LTS (long term support) and standard

LTS – gives 4 years of support, plus another year of security support. No new features

Standard release – shorter support, but new features can be added in each ‘dot’ release

Build your products on LTS releases of Asterisk

‘Play’ with standard releases to learn about all the new stuff

5Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk – development overview

The direction of Asterisk as a project is discussed and agreed at AstriDevCon – usually the Monday before AstriCon (developers only)

6Creative Innovation – Customer Satisfaction – Continual Quality Improvement

The BIG lies

General:

1. I will love you as much tomorrow morning as I do tonight

2. The check is in the mail

3. I am from HR, and here to help you

About Asterisk:

Asterisk is just an Open Source PBX

7Creative Innovation – Customer Satisfaction – Continual Quality Improvement

About Asterisk

Originally a software PBX, but now….

The most popular and established Open Source Communications EngineIN THE WORLD!

Native support for IP telephony, and almost any legacy connection using adaptors (like Digium cards)– PRI– BRI– FXO– FXS

A successful Open Source Project by virtually any measure

8Creative Innovation – Customer Satisfaction – Continual Quality Improvement

What Does Asterisk Do?

Plumbing:

Protocol Implementations

Media I/O

Media Management

Applications

Call Routing (“Dialplan”)

Voicemail

Conference Bridge

Queues

Automated Attendant

Directory

Call Parking

Session Management

Intermediary Services

9Creative Innovation – Customer Satisfaction – Continual Quality Improvement

About the Asterisk Community

Mark made Asterisk an Open Source project

This means anyone can contribute to the progress of the project– Writing code– Fixing bugs– Test functionality– Writing documentation– Helping others– Buying Digium products, as this funds Asterisk

It also means that Asterisk has been strengthened in many directions by those that had the interest and motivation to do it

10Creative Innovation – Customer Satisfaction – Continual Quality Improvement

About the Asterisk Community

Elastix is a large part of the Asterisk Community

We are pleased to support this event!

11Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk is the Telephony engine inElastix

Allows Elastix users to create:

Hand-Crafted “One-Off” Implementations

Dialplan Script Programming + Configuration Files

PBX, IVR, ACD are ready in Elastix.

Beyond the standard Elastix facilities:

Use External Interfaces: AGI, AMI

Build Custom Applications & Solutions

Create Communications Products

12Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Phones For Elastix

Digium D40, D50, D70 – Built For Asterisk Systems

Super Simple Provisioning

Discovery via mDNS / Bonjour

Uses SIP channel

Integrated Applications:

Visual Voicemail

Visual Call Parking

Queue Management

Presence / Status

Call Deflection / Direct VM

13Creative Innovation – Customer Satisfaction – Continual Quality Improvement

New In Asterisk 11, improved in 12!!

WebSockets Support For SIP

SIP uses multiple transports: UDP, TCP, TLS now WS, WSS

New protocol used by web applications for bi-directional, asynchronous communications

Integrated into onboard HTTP server in Asterisk

Now, in Asterisk 12 pass-through support for:

Opus audio codec

VP8 video codec

In addition to G.711a/u and H.263

14Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Your recipe for a FREE WebRTC demo

Get a Linux box

Add ‘libsrtp’

Add Asterisk 11.X.X or even Asterisk 12 beta

Follow the instructions to enable WebRTC support at:

wiki.asterisk.org

Enable WS,WSS transport

Enable ICE support

Some SIP settings

Add a basic dialplan

IT’S ALMOST TOO EASY!

15Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Now for a WebRTC demo on thethe Raspberry Pi !!

What is the Raspberry Pi?

A small but fully functional ARM based computer that runs Linux

Originally developed to allow young people to start programming at a very low cost ($40 US)

uElastix is available for the Pi

16Creative Innovation – Customer Satisfaction – Continual Quality Improvement

More about the Raspberry Pi

17Creative Innovation – Customer Satisfaction – Continual Quality Improvement

This is my Pi

Rasberry Pi – Model B512 Mb RAM

Asterisk 11.4.0DPMA(Digium Phone Module for Asterisk)DHCP serverWiFi Access Point

It’s on the Digium table

18Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Asterisk is running an HTTP server,Serving a JsSIP soft phone

Connect to WiFi network ‘Asterisk_Pi’, password is webrtcdemo

Use Chrome of Firefox to browse to http://192.168.42.1:8088

Enter credentials into the ‘User’ field:

702, 703, 704

19Creative Innovation – Customer Satisfaction – Continual Quality Improvement

This is what you will see next

20Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Remember to click ‘Allow’

21Creative Innovation – Customer Satisfaction – Continual Quality Improvement

If everything works…

After a short pause, you should hear a special message

From the lovely Allison – THE Voice of Asterisk

22Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Big Thanks to the authors of JsSIP

http://jssip.net

23Creative Innovation – Customer Satisfaction – Continual Quality Improvement

New in Asterisk 12

Brand new SIP channel

It is PJ SIP

Uses a very modular architecture, different to chan_sip

The introduction of a REST API for Asterisk

Not a direct replacement for AMI or AGI, but something NEW!

Makes writing applications on top of Asterisk much easier for general app developers – no need to be a telephony guru any more

24Creative Innovation – Customer Satisfaction – Continual Quality Improvement

So, what do these changes mean forElastix users?

Brand new SIP channel will allow future Elastix version to:

Multiple device registrations to a single channel!!!

SIP/david-03…etc.

25Creative Innovation – Customer Satisfaction – Continual Quality Improvement

So, what do these changes mean forElastix users?

Brand new SIP channel will allow future Elastix versions to:

Add specific SIP features and functionality

…without the need for it to be added into Asterisk

…this is due to the modular way PJ SIP is implemented!

A lot of Elatix users and developers are web-friendly

The new ARI (Asterisk RESTful Interface) will facilitate more interfacing and application creation than ever before

WebRTC continued/enhanced support in Asterisk 12

Allows Elastix to become the basis of WebRTC appliances and/or gateways

26Creative Innovation – Customer Satisfaction – Continual Quality Improvement

So, what do these changes mean forElastix DEVELOPERS?

The new Asterisk REST interface:

A BRAND NEW ERA in application development

E.g. Instead of creating add-ons around app_queue…

…You can actually create a brand new app_queue

The possibilities have no limit

The Elastix user base is waiting for you to adopt Asterisk 12 and show them what you can do !!!!

27Creative Innovation – Customer Satisfaction – Continual Quality Improvement

How can you help the projects?

Asterisk and Elastix are a great combination

Digium and Palo Santo are pleased to work together

Both Open Source projects need to be funded:

Where possible, buy from Palo Santo to support Elastix

Appliances, support, etc.

Where possible, buy from Digium to support Asterisk

Phones, telephony boards, gateways, fail-over appliance, etc.

Help secure and create the future!

28Creative Innovation – Customer Satisfaction – Continual Quality Improvement

What questions do you have?

?

29Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Summary

Asterisk – development cycle overview

Asterisk 12 Update – overview

New SIP channel

New interface for building applications

WebRTC capabilities in Asterisk 12

A new era for Asterisk and Elastix

Support the projects with purchases when possible!

30Creative Innovation – Customer Satisfaction – Continual Quality Improvement

Visit: wiki.asterisk.org for more detail

Thanks!

dduffett@digium.com@dduffett - Twitter

Recommended