Wireshark and asterisk

  • 189 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
189
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
8
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. WIRESHARK AND ASTERISK THE FUTURE OF TELECOMMUNICATION NETWORKS PRESENTED BY: USMAN AHMAD I100390 SHAHBAZ ALI I100565 IMRAN AHMAD I100374
  • 2. INTRODUCTION TO WIRESHARK AND ASTERISK • Asterisk is a software which allows us to create a PBX, and IVR, a conference bridge or any other virtual communication app one could imagine. • It provides the functionalities of a PBX and it allows us to connect to other IP networks as well. • Wireshark is a network packet analyzer software. • A network packet analyzer captures the network packets and displays the information these packets carry. • Previously the packet analyzing was very difficult and it required expensive hardware. • Wireshark is one of the best open source packet analyzer available.
  • 3. ASTERISK - CALL FLOW (CONT’D.) • Different messages which are exchanged during a call setup are: • [from-my-pri] • exten => 14109850123,1,Answer • exten => 14109850123,2,Wait(2) • exten => 14109850123,3,Playback(monkeys) • exten => 14109850123,4,Goto(more-monkeys,123,1) • [more-monkeys] • exten => _12X,1,Playback(sorry-no-more-monkeys) • exten => _12X,2,Hangup
  • 4. ASTERISK - REFERENCES • http://www.asterisk.org/ - Latest Source Code • http://www.digium.com/ - Asterisk TDM hardware • http://www.voip-info.org/ - General VoIP How-To Info • http://www.xten.com/ - Softphone • http://www.asterisk-vonage.com/ - Asterisk to Vonage connectivity • http://www.binary-systems.com/ - Asterisk Consulting & Training Services
  • 5. CONFIGURATIONS OF ASTERISK AND ZOIPER
  • 6. VMWARE, UBUNTU 12.04, ASTERISK & ZOIPER o Installation of VMware Work Station o Installation of Ubuntu 12.04 Desktop 32 bit o Update Ubuntu server apt-get update && apt-get upgrade -y && reboot o Dependencies (In order to compile and install Asterisk, you'll need to install a C compiler and a number of system libraries on your system) apt-get install build-essential wget libssl-dev libncurses5-dev libnewt-dev libxml2-dev linux-headers-$(uname -r) libsqlite3-dev uuid-ev o DAHDI (Digium Asterisk Hardware Device Interface), libpri and Asterisk Installation cd /usr/src/ wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz o Extraction of tarballs tar zxvf dahdi-linux-complete* tar zxvf libpri* tar zxvf asterisk*
  • 7. VMWARE, UBUNTU 12.04, ASTERISK & ZOIPER o Installation of DAHDI cd /usr/src/dahdi-linux-complete* make && make install && make config o Installation of libpri cd /usr/src/libpri* make && make install o Asterisk Installation cd /usr/src/asterisk* ./configure && make menuselect && make && make install && make config && make samples o Starting DAHDI /etc/init.d/dahdi start o Starting Asterisk and CLI /etc/init.d/asterisk start asterisk -rvvv
  • 8. CONTINUED.. o modules.conf Codecs, protocols, pads o extensions.conf exten users o sip.conf User registration o Zoiper entry of users & Configurations
  • 9. VoIP Protocol: SIP Codecs: A-Law & μ-Law (G.711) G.711 is a high quality coded for speech. It is a 64 kB bitrate codec based on 8 kS/S sampling of speech with 8 bits resolution. G.711 uses logarithmic PCM (pulse code modulation) μ-Law: This codec encodes 14-bit linear PCM audio samples into 8-bit logarithmic samples (American) A-Law: 13 bit linear PCM into 8-bit logarithmic samples (European) Call features: app_hangup.so app_dial.so app_transfer.so app_hold.so