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

Asterisk @ CMU

Embed Size (px)

DESCRIPTION

Asterisk @ CMU. Everything you needed to know to connect your dialog system to the world (but were afraid to ask). 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 - PowerPoint PPT Presentation

Citation preview

Page 1: Asterisk @ CMU

1/17

Asterisk @ CMU

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

Page 2: Asterisk @ CMU

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: Asterisk @ CMU

3/17

A Picture Paints A Thousand Words

Page 4: Asterisk @ CMU

4/17

Asterisk: The Optimal Solution

Internet

Olympus-running Dialog Systems

Page 5: Asterisk @ CMU

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: Asterisk @ CMU

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: Asterisk @ CMU

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: Asterisk @ CMU

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: Asterisk @ CMU

9/17

Asterisk Lingo

Page 10: Asterisk @ CMU

10/17

Asterisk Lingo

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

Page 11: Asterisk @ CMU

11/17

Asterisk Lingo

Page 12: Asterisk @ CMU

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: Asterisk @ CMU

13/17

Asterisk Lingo

Page 14: Asterisk @ CMU

14/17

Asterisk Lingo

Page 15: Asterisk @ CMU

15/17

Asterisk Lingo

Page 16: Asterisk @ CMU

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: Asterisk @ CMU

17/17

Asterisk

Questions?