zoukankan      html  css  js  c++  java
  • 小巧开源的 baresip VOIP 项目

    Baresip is a modular SIP User-Agent with audio and video support
    https://github.com/alfredh/baresip

    PJSIP 代码太大,修改不易。需要一些时间才能。

    Baresip 非常小巧的一个 SIP UA 的实现。

    编译需要装2个小库 re rem RTP 和 解码的库,同时也需要 openssl ffmpeg SDL 。需要先提前装好。autoconf 这种更是不会说了,也是需要的。

    还是用 win 上面的 SIP 服务软件。

    用法:

    baresip  运行以后打出来所有的控制命令。

    --- Help ---
    ESC Hangup call
    /about About box
    /accept a Accept incoming call
    /auloop .. Start audio-loop <srate ch>
    /auloop_stop Stop audio-loop
    /auplay .. Switch audio player
    /ausrc .. Switch audio source
    /callstat c Call status
    /chatpeer .. = .. Select chat peer
    /conf_reload Reload config file
    /config Print configuration
    /contacts C List contacts
    /dial .. d .. Dial
    /dialcontact .. | .. Dial from contacts
    /hangup b Hangup call
    /help h Help menu
    /insmod .. Load module
    /listcalls l List active calls
    /main Main loop debug
    /memstat y Memory status
    /message .. - .. Send MESSAGE to peer
    /modules Module debug
    /netstat n Network debug
    /options .. o .. Options
    /play .. Play audio file
    /quit q Quit
    /reginfo r Registration info
    /rmmod .. Unload module
    /sipstat i SIP debug
    /sysinfo s System info
    /timers Timer debug
    /uanew .. Create User-Agent
    /uanext T Toggle UAs
    /uastat u UA debug
    /vidloop .. Start video-loop <codec>
    /vidloop_stop Stop video-loop
    /vidsrc .. Switch video source

    /uanew  新建一个用户  SIP 服务器是 192.168.1.121 用户名是 101 密码是 101 。
    <sip:101@192.168.1.121>;auth_pass=101

    注册成功了。

    用 win 的 SIP 客户端打一个电话过来

    音质也非常好,比 PJSIP 好很多。

  • 相关阅读:
    体温上报APP2.2(第二阶段总结)
    体温上报APP2.1
    体温上报APP2.0
    体温上报APP1.2
    体温上报APP1.1
    个人作业——体温上报APP
    安卓学习14(ViewPager)
    安卓学习13(RecyclerView)
    安卓学习12(ListView)
    javascript获得给定日期的前一天的日期
  • 原文地址:https://www.cnblogs.com/ningci/p/9963007.html
Copyright © 2011-2022 走看看