GithubHelp home page GithubHelp logo

tustshen / sip_phone_example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from olimex/sip_phone_example

0.0 0.0 0.0 1.14 MB

SIP Phone based on Olimex ESP32-ADF, MOD-LCD2.8RTP boards.

C++ 0.15% C 99.81% Makefile 0.04% CMake 0.01%

sip_phone_example's Introduction

SIP Phone Example

This example allows users to make calls over the internet. The project is basic, but you are free to evolute.

Compatibility

ESP32-ADF https://www.olimex.com/Products/IoT/ESP32/ESP32-ADF/open-source-hardware

ESP32-ADF

Get ESP-ADF

Install requared packages:

sudo apt-get install git wget flex bison gperf python python-pip python-setuptools python-serial python-click python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache libffi-dev libssl-dev

Download and install esp-adf:

cd ~/
git clone --recursive https://github.com/espressif/esp-adf.git
cd esp-adf
git submodule update --init
export ADF_PATH=$PWD
cd esp-idf
./install.sh
. ./export.sh

Usage

Prepare the audio board:

  • Connect speakers or headphones to the board.

Load the example:

cd ~/
mkdir ~/espwork
cd ~/espwork
git clone --recursive https://github.com/OLIMEX/sip_phone_example.git
cd  sip_phone_example
git submodule update --init
cp lvgl_component.mk components/lvgl/component.mk
make menuconfig

Configure the example:

  • Select compatible audio board in menuconfig > Audio board select.
  • Set up Wi-Fi connection by running menuconfig > VOIP App Configuration and filling in WiFi SSID and WiFi Password.
  • Select compatible audio codec in menuconfig > VOIP App Configuration > SIP Codec.
  • Create the SIP extension, ex: 100 (see below)
  • Set up SIP URI in menuconfig > VOIP App Configuration > SIP_URI.

Upload the example:

make flash monitor

Configure external application:

Setup the PBX Server like Yet Another Telephony Engine (FreePBX/FreeSwitch or any other PBXs) http://docs.yate.ro/wiki/Beginners_in_Yate

Features

  • Lightweight
  • Support multiple transports for SIP (UDP, TCP, TLS)
  • Support G711A/8000 & G711U/8000 Audio Codec
  • Easy setting up by using URI

Reference

http://www.yate.ro/ https://www.tutorialspoint.com/session_initiation_protocol/index.htm https://tools.ietf.org/html/rfc3261

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.