Top Banner
Real-time multimedia and communication in packet networks iLanga
15

Real-time multimedia and communication in packet networks iLanga.

Jan 04, 2016

Download

Documents

Elmer Spencer
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: Real-time multimedia and communication in packet networks iLanga.

Real-time multimedia and communication in

packet networks

iLanga

Page 2: Real-time multimedia and communication in packet networks iLanga.

The Big Idea

1) The flexibility of Asterisk

what we have learnt

2) Working in the software domain

bridge between software and hardware closing

open environment; more flexible to change

3) Allows us to create something very functional yet simple - iLanga

Page 3: Real-time multimedia and communication in packet networks iLanga.
Page 4: Real-time multimedia and communication in packet networks iLanga.

SIP Express Router Focuses only on SIP messaging

Performs forking properly

Is able to handle high volumes of SIP traffic

Has forked into two separate open source projects:

OpenSER

Kamailio

Page 5: Real-time multimedia and communication in packet networks iLanga.

Registration with SER

REGISTER

200 OK

REGISTER (with MD5Hash(user+nonce+pwd))

401 UNAUTHORISED (nonce,realm)

Page 6: Real-time multimedia and communication in packet networks iLanga.

User Devices

Page 7: Real-time multimedia and communication in packet networks iLanga.

Example Call Set-up

3001

3000

INVITE:[email protected] INVITE:[email protected]

INVITE:[email protected]

INVITE:[email protected]

INVITE:[email protected]

3021 0786346926

Hangup

HangupOK

Asterisk

Page 8: Real-time multimedia and communication in packet networks iLanga.

Asterisk The core of iLanga

Speaks

RTP

IAX2

Zap (1 QUADBRI)

4 channels to markreader premium line 2 to Telkom and 2 to Rhodes PBX

Page 9: Real-time multimedia and communication in packet networks iLanga.

Asterisk Uses AGI

Prepaid application

Mark reader application

Extensive use of the Dialplan

Routing to Telkom and Rhodes

Routing to applications

Conferencing Directory Voicemail etc;

Page 10: Real-time multimedia and communication in packet networks iLanga.

MySQL Database We have been configuring asterisk via files in /etc/asterisk

You can also provide configuration via a Database using /etc/asterisk/extconfig.conf

IAX registrations

SIP registrations (SER talks to the database)

Voicemail

Extensions still configured in extensions.conf!

We added “usercontext.conf”

Page 11: Real-time multimedia and communication in packet networks iLanga.

Web Frontend Provides a second way of accessing iLanga

Accessing your PBX from anything other than a telephone is a new concept – Made easy by soft switches.

Update your details

Edit ring-able devices

Listen to and control voice mail

Add prepaid credit

View call log

View the directory – click to dial

Everything you can do on the site – you should be able to do on a phone

Page 12: Real-time multimedia and communication in packet networks iLanga.

Web Frontend Hosted by an Apache web server

Written in Flash

Also allows us to make the web site dynamic!

Talks to

Perl (CGI)

PHP

Java Proxy (used to be Python)

Page 13: Real-time multimedia and communication in packet networks iLanga.

iLanga Proxy Many entities talking to the manager interface caused problems

A Proxy was built

First in Python, now in Java

Passes messages from the web interface to Asterisk

Passes messages from Asterisk to the MySQL DB

Some actions

Icon information

Extension state information

Dynamic content on the front end

Page 14: Real-time multimedia and communication in packet networks iLanga.
Page 15: Real-time multimedia and communication in packet networks iLanga.

Short tutorial on Services

Develop (in your head / on paper) a brief action plan for how you would develop one of the following services:

SPIT (Spam over Internet Telephony) generator

Application to curb SPIT in telephony applications

Asterisk-based markreader that integrates with ROSS to deliver marks to calling students over a phone

Audio database for storing and replaying all the telephone conversations that you make

Meeting scheduler for setting up meetings with other iLanga users

A ‘Hangman’ game that is played over the phone between two players

Present your ideas to the rest of the class