GithubHelp home page GithubHelp logo

check_voip_call's Introduction

check_voip_call

Purpose

Monitor VoIP call quality

Prerequisites

Here are some tools you need to install on your server before check_voip_call scripts will work for you.

  • SIPp
  • tshark
  • pcapsipdump
  • sox
  • Perl with CPAN

SIPp

sipp -sf uac.xml -inf user.csv -i 10.128.7.103 10.128.7.103 -r 40 -m 5000 -s 5000 -d 60000
sipp -sf uac.xml -inf user.csv 10.128.7.103 -r 1 -m 1 -s 15555555555 -d 60000
sipp -sf uac.xml -inf user.csv sip.sip-server.com -r 1 -mi 10.128.7.103 -m 3 -s 15555555555 -d 15000

tshark

tshark -n -r test.pcap -R rtp -R "rtp.ssrc == 0x855bd195" -T fields -e rtp.payload | tee payloads
tshark -n -r test.pcap -R rtp -T fields -e rtp.payload | tee payloads
tshark -n -r /var/spool/pcapsipdump/20130809/15/20130809-154947-74918-18582240094-1-6778\@127.0.1.1.pcap -q -z rtp,streams

pcapsipdump

sox

sox -t raw -r 8000 -c 1 -U sip_1call.raw  sip_call.wav

Installation

System Configuration

Alternative Audio Capturing Tools

Audio Conversion Tools

Caveat

Credit

http://mawhin.blogspot.com/2008/02/roll-your-own-voip-analysis-its-not.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.