Git Product home page Git Product logo

arduinovoip's Introduction

ArduinoVoip

Arduino voip phone library, Use sip protocol tcp connection.

Arduino voip电话,sip客户端,esp32 voip,使用tcp连接,已完成接听拨打电话,收发消息等功能

使用i2s连接麦克风和喇叭,目前实现了RTP G.711A(PCMA)音频协议,音频8k采样率,16bit

功能列表

  • 拨打电话
  • 接听电话
  • 发送短信
  • 接受短信

使用方法

  1. 需要一个i2s麦克风和一个i2s喇叭,不能使用pdm输出的

  2. 安装一个sip server,可以使用任意sip协议的服务器,我使用的是miniSIPServer

  3. 安装sip server后,添加几个分机,设置不同的号码

  4. 电脑或者手机安装sip客户端,我使用的是linphone

  5. 修改代码中的sip分机号码

String telNr = "10013";
String serverIp = "192.168.31.21";

String user = "10013";
String pwd  = "1234";

SipMachine sipMachine = SipMachine(user, pwd, telNr, serverIp, serverIp);
  1. 使用linphone拨打esp32 sip

未完成的

还没有实现stun/rtun功能,还不能远程通讯

感谢

https://github.com/RetepRelleum/SipMachine 库基于RetepRelleum SipMachine库修改

arduinovoip's People

Contributors

rousir avatar

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.