Top Banner
1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)
17

1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

1/17

Asterisk @ CMU

Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

Page 2: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

2/17

Dialog Systems

You’ve got it up and running – it works great! On your PC

Now you decide to let anyone call it up Current approach: Gentner boxes

Dialog server connected directly to phone line Old technology, many issues with audio quality Huge inertia in setting up new systems Many, many experience people will tell you:

THIS IS A BAD SOLUTION!

Page 3: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

3/17

A Picture Paints A Thousand Words

Page 4: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

4/17

Asterisk: The Optimal Solution

Internet

Olympus-running Dialog Systems

Page 5: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

5/17

Asterisk

Fully open source Fully compliant with open standards

H.263 / RFCxyz / ulaw / … [Ignore most of this] SIP

Allows a variety of setups

Page 6: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

6/17

Asterisk Setup

It’s been done Asterisk@Home

Self-contained Linux + Asterisk installation FX100P phone interface with Zaptel drivers

Aka Voicemodem Pretty sucky quality Luckily, Asterisk does some echo cancellation

Virtual digital assistant “Press 1 for email, 2 for schedule, 3 for …”

Page 7: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

7/17

Asterisk with Olympus

What you need to do Read up on SIP

Tell me about it Implement a SIP-compliant interface for Olympus Manages session stuff

New call Hang up Transfer call?

Manages Audio I/O

Page 8: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

8/17

Asterisk Lingo

Extensions For us, these are all SIP These are equivalent to phone lines in the real

world One SIP extension per dialog system

200 – Roomline 300 – Let’s Go! 400 – Sublime …

Page 9: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

9/17

Asterisk Lingo

Page 10: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

10/17

Asterisk Lingo

Trunks Regular phone lines Right now we only have one Zaptel drivers make it work

Page 11: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

11/17

Asterisk Lingo

Page 12: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

12/17

Asterisk Lingo

Wiring it all together Asterisk knows about

SIP extensions (Sublime, RoomLine, etc.) Physical phone lines (1 so far)

We need to tell it how to connect these up Fixed rules

Time dependent Digital receptionist

User choice dependent Could make an Olympus-based Digital receptionist

You’d need to implement SIP Transfer

Page 13: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

13/17

Asterisk Lingo

Page 14: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

14/17

Asterisk Lingo

Page 15: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

15/17

Asterisk Lingo

Page 16: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

16/17

Asterisk

Things you should know Asterisk server is speeg2.speech.cs.cmu.edu SIP works only on UDP, port 5060 Ask me (jsherwan at andrew) to create extensions

for your dialog systems Things we need to figure out

Voice codecs (preferably use raw audio) 16-bit linear codec (128kbps)

Echo cancellation Alex / Alan, 24-port T1 Digium board, perhaps?

Page 17: 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)

17/17

Asterisk

Questions?