VoIP, Asterisk, and Java Michael P. Plezbert Agilis Systems, Inc St. Louis Java Users Group April 13, 2006.

Slides:



Advertisements
Similar presentations
1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 1 Introduction to Perl and CGI.
Advertisements

Technology Made Easy!! Telnet and Voice over internet Protocol(VOIP) By: Nicolette Johnson Peta-Lee Richards.
Presented By:- Yash Jariwala Paras Patel Deep Amrutiya.
Tom Behrens Adam Muniz. Overview What is VoIP SIP Sessions H.323 Examples Problems.
Voice over IP Solutions by KV IT-Solutions. What Is VoIP ? Voice over Internet Protocol, also called VoIP, IP Telephony, Internet telephony, Broadband.
Real-Time Authentication Using Digital Signature Schema Marissa Hollingsworth BOISECRYPT ‘09.
Presented by Kathleen Ritchie COMP 1631 – Winter 2011 Mount Allison University.
1 CS 502: Computing Methods for Digital Libraries Lecture 22 Web browsers.
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
Building Applications Using SIP Scott Hoffpauir Vice President, Engineering Fall 1999 VON, Atlanta.
Intro Alexei Miagkov: researching GUI networking sound aspects of Java Walter Kammerer: researching networking concepts documenting real-time media concepts.
IRT Lab IP Telephony Columbia 1 Henning Schulzrinne Wenyu Jiang Sankaran Narayanan Xiaotao Wu Columbia University Department of Computer Science.
VoIP Michael Laport Robin Heath “I truly believe that VoIP is the telecommunications wave of the future,” said Travis Mack, a VoIP customer of only a year.
Pollit and Verboice Tools to conduct mobile surveys April 2015.
Copyright © 2002 ACNielsen a VNU company Key Features and Benefits of the 3CX PBX for Windows Server.
Asterisk based web real time communication Advisor : Lian-Jou Tsai Student : Jhe-Yu Wu.
Telnet/SSH: Connecting to Hosts Internet Technology1.
VoIP - Abridged - Stephen R. Nelson November 11,
Saumil Shah IEOR 190G 3/19/08.  Vonage is a VoIP(voice over IP) company that provides telephone service via a broadband connection.  In order to use.
Chapter 2, slide: 1 CS 372 – introduction to computer networks* Monday June 28 Announcements: r Lab 1 is due today r Lab 2 is posted today and is due next.
Business Computing 550 Lesson 4. Fundamentals of Information Systems, Fifth Edition Chapter 4 Telecommunications, the Internet, Intranets, and Extranets.
Lightning Talk Fred Rodriguez Aakash Juneja CPSC 473 March 16, 2012.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 15 How VoIP and Skype Work.
Asterisk The Open Source PBX. What we will discuss... ● Functionality of a PBX... ● What is Asterisk... ● Setting up your own PBX...  Hardware needed.
Agenda  Terminal Handling in Unix File Descriptors Opening/Assigning & Closing Sockets Types of Sockets – Internal(Local) vs. Network(Internet) Programming.
Asterisk & ENUM Extending the Open Source PBX Michael Haberler, IPA Otmar Lendl, nic.at.
AGI + PHP “Making phones jump through fiery hoops of death.” Rob Peck dealnews.com PHP Appalachia 2008.
A gentle introduction to Asterisk Anthony Critelli.
Appendix A Implementing Unified Messaging. Appendix Overview Overview of Telephony Introducing Unified Messaging Configuring Unified Messaging.
VoIP Citizen Decreasing Cost For Communication Voice over Internet Protocol Implement VoIP on your office Bona Simanjuntak, Mei 2004
Using Skype. Overview What is it? –Skype is a software based VOIP application and network. What is VOIP? –VOIP = Voice Over Internet Protocol.
Copyrights © All rights Reserved. Asterisk and VoIP issues Chetan Vaity March 2007.
VoIP Voice over Internet Protocol H.323 SIP RTP SDP IAX SRTP Skype And a lot more…
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Identifying Application Impacts on Network Design Designing and Supporting Computer.
DUE Voice over IP (VoIP) Linksys Ernie Friend- FSCJ.
Networking and Internet Computing Laboratory (NICLAB) Computer Science Department UBC Commonwealth of Learning (COL) 1 Learning Through Mobile Technologies.
Applied Communications Technology Voice Over IP (VOIP) nas1, April 2012 How does VOIP work? Why are we interested? What components does it have? What standards.
Emerging Technologies. Emerging Technology Overview  Emerging technologies are those which are just beginning to be adopted or are at the initial acceptance.
Outline Overview Video Format Conversion Connection with An authentication Streaming media Transferring media.
Asterisk based web real time communication Advisor : Lian-Jou Tsai Student : Jhe-Yu Wu.
Computer and Information Science Ch1.3 Computer Networking Ch1.3 Computer Networking Chapter 1.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Identifying Application Impacts on Network Design Designing and Supporting.
 TCP (Transport Control Protocol) is a connection-oriented protocol that provides a reliable flow of data between two computers.  TCP/IP Stack Application.
Appendix A UM in Microsoft® Exchange Server 2010.
Computer Emergency Notification System (CENS)
Real-time multimedia and communication in packet networks Asterisk AGI and Manager Interface.
VoIP Applications for the Small Business
Voice over IP by Rahul varikuti course instructor: Vicky Hsu.
Mario D’Silva National Technology Specialists Unified Communications UNC307.
Appendix A Implementing Unified Messaging. Appendix Overview Overview of Telephony Introducing Unified Messaging Configuring Unified Messaging.
SKYPIAX, how to add Skype capabilities to FreeSWITCH (and Asterisk) CHICAGO, USA, September 2009.
Voice Over IP (VoIP): Internet Telephony Dr. Najla Al-nabhan 1.
Smart Call By S. Alex Raj S.Mahesh.
ECE477 Project Minotaur Software Narrative Jon Roose.
Copyright © 2002 Pearson Education, Inc. Slide 3-1 Internet II A consortium of more than 180 universities, government agencies, and private businesses.
Voice over Internet Protocol Presenter: Devesh Patidar Arunjay Singh August 2, 2009.
Communication Methods
“End to End VoIP“ The Challenges of VoIP Access to the Enterprise Charles Rutledge VP Marketing Quintum Technologies
Saving Money Through IT 2012 ACAA Conference. What is Information Technology (IT)  The field of engineering involving computer- based hardware and software.
IPCentrex solution from COLLAB. ONECONTACT PBX THE GAME IS ON Global Surplus capacity Pressure on tariffs Hosted Services (In the Cloud/ telco) Broadband.
HOW TO GUIDE: INEXPENSIVE INTERNET PROTOCOL TELEPHONY SOLUTION Created by: Cameron Adkisson Eastern Kentucky University
COMPUTER NETWORKS Quizzes 5% First practical exam 5% Final practical exam 10% LANGUAGE.
Network Programming. These days almost all devices.
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
By Asma Hamad Alharbi.
SIX MONTHS INDUSTRIAL TRAINING REPORT
How Can Hosted PBX Help You Gain The Communication Balance
Lecture 5: Voice Over IP (VoIP): Internet Telephony
Network customization
Presentation transcript:

VoIP, Asterisk, and Java Michael P. Plezbert Agilis Systems, Inc St. Louis Java Users Group April 13, 2006

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 Overview VoIP Basics Asterisk PBX Asterisk Gateway Interface Manager Interface Asterisk-Java Library Example Security Resources About Us

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 VoIP Two-way (pseudo-) real-time audio communication over IP network Allows “free” computer-to- computer calls (disregarding broadband connection fees), e.g. Skype Calls to “regular” phone network requires specialized hardware or service provider, e.g. Vonage

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 VoIP Pros  Allows use of single network for voice and data  Cost savings over traditional PBX  Can leverage IT support staff  Easier interaction with computer/data systems Cons  Reliability of data network becomes paramount  Latency and jitter are problems, requiring overallocation of bandwidth and/or QoS  Requires VoIP phones or other specialized hardware to emulate traditional phone experience

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 Asterisk PBX Open source software PBX system Runs on commodity computer hardware (x86) and software (linux/BSD) Supports standard VoIP protocols Hardware available for connection to POTS network Many features built in, e.g. voic , call queues, conference calls

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 Asterisk Interaction Asterisk can communicate with external programs in several ways  Call a local script More suitable for scripting languages than Java  Connect via socket to an “AGI server” Simple text messages back and forth Server can be written in any language that supports socket comm Cannot be used to originate calls  Accept socket (telnet) connections to a manager interface Can be used to originate calls and receive other events  Read local “call files” Simple way to originate calls

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 Asterisk Gateway Interface 1: a call comes into the asterisk server 2: the asterisk server makes a socket connection to an AGI server 3: the AGI server sends commands and receives results over the socket, controlling the flow of the call Note that the AGI server cannot originate a call using this interface

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 AGI Commands The AGI contains many commands for controlling a call, including  answer  hangup  stream file Limited to streaming local sound files on the asterisk server, NOT over the socket interface  wait for digit  record file Records to local file on the asterisk server

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 Manager Interface 1: client connects via socket to the asterisk manager interface and initiates a call 2: asterisk server places the call 3: when call connects, asterisk server connects via socket to the AGI server 4: the AGI server can send commands and receive results and events over both the AGI socket connection and the manager interface connection

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 The Asterisk-Java Library Implements both the AGI server interface and the manager client interface Contains classes and methods for sending commands and receiving events Eliminates the need to manually build or parse command strings

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 An Example Simple example will Originate a call Play a sound file Wait up to 5 seconds for a response If 1, 2, or 3 is pressed then Play sound files indicating digit pressed Else Play sound file indicating invalid choice Hangup

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 Security VPN or ssl-tunnel suggested  Socket comm is plain text (including authentication to manager interface)  AGI connection is not authenticated Asterisk configuration  Limit accessibility of external calls

VoIP, Asterisk, and Java St. Louis JUGApril 13, 2006 Resources Asterisk:   Asterisk-Java Library:  