Giter Club home page Giter Club logo

docker-opensips2.4's Introduction

Docker-Opensips2.4

使用说明 这是基于官方opensips 2.4镜像添加了mysql模块以及rest_client模块制作的镜像,用此镜像可以连接mysql控制opensip注册用户、查看通话记录以及通话时对INVITE(邀请)、ACK(接通)、BYE(挂断)、CANCEL(取消)事件进行监听调用http接口访问外部业务 配置文件opensips.cfg 内容如下,请保存到ubuntu位置/docker/opensips/opensips.cfg,搜索标签CUSTOMIZE ME定位到需要配置的地方,根据实际情况修改

数据库文件 其中表acc为通话成功记录表,记录成功的INVITE和BYE。 missed_calls记录失败的INVITE记录,可以是拨打方Cancel的和忙线(具体看sip_reason)。

subscriber表记录用户名和密码,在这可以手动新增客户 数据库文件下载:opensips2.4_db

获取镜像

docker pull 459741134/opensips2.4_with_mysql_rest

运行镜像

docker run -d -it --name sip -p 5060:5060/udp -v /docker/opensips/opensips.cfg:/etc/opensips/opensips.cfg opensips/opensips

docker-opensips2.4's People

Contributors

usdt2150 avatar

Watchers

 avatar

docker-opensips2.4's Issues

Docker安装Opensips2.4实现内网sip电话通讯

使用说明

这是基于官方opensips 2.4镜像添加了mysql模块以及rest_client模块制作的镜像,用此镜像可以连接mysql控制opensip注册用户、查看通话记录以及通话时对INVITE(邀请)、ACK(接通)、BYE(挂断)、CANCEL(取消)事件进行监听调用http接口访问外部业务

配置文件opensips.cfg 内容如下,请保存到ubuntu位置

/docker/opensips/opensips.cfg

,搜索标签CUSTOMIZE ME定位到需要配置的地方,根据实际情况修改

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.