• <strike id="fdgpu"><input id="fdgpu"></input></strike>
    <label id="fdgpu"></label>
    <s id="fdgpu"><code id="fdgpu"></code></s>

  • <label id="fdgpu"></label>
  • <span id="fdgpu"><u id="fdgpu"></u></span>

    <s id="fdgpu"><sub id="fdgpu"></sub></s>
    您當前的位置是:  首頁(yè) > 資訊 > 文章精選 >
     首頁(yè) > 資訊 > 文章精選 >

    最新Kamailio版本開(kāi)始支持RTP Media Server

    2019-03-12 09:57:14   作者:   來(lái)源:CTI論壇   評論:0  點(diǎn)擊:


      Kamailio是非常有名的SIP開(kāi)源軟交換平臺。Kamailio在全世界有著(zhù)非常龐大的用戶(hù)群體,大部分的用戶(hù)通過(guò)Kamailio和其他媒體軟交換的集成來(lái)實(shí)現集群管理,均衡負載等功能。
      以前的Kamailio一直沒(méi)有支持RTP媒體服務(wù)器內置模塊,現在開(kāi)發(fā)人員通過(guò)和oRTP集成,實(shí)現了媒體服務(wù)器模塊的功能。它可以通過(guò)外部的媒體服務(wù)器支持包(MediaStreamer2 和 oRTP),通過(guò)API調用的方式實(shí)現媒體功能。
      oRTP支持的功能包括:
    • Written in C, works under Linux (and probably any Unix) and Windows
    • Implements the RFC 3550 (RTP) with an easy-to-use API with high- and low-level access
    • Features an adaptive jitter algorithm that enables a receiver to adapt to the clock rate of the sender and network jitter
    • Includes support for multiple profiles, (AV profile (RFC 3551) is the default)
    • Supports part of RFC 4733 for telephone events over RTP
    • Includes an API to parse and compose RTCP packets, including AVPF RTCP packets
    • Features a congestion detector based on an analysis of the packet's arrival time
    • Comprises a download capacity estimator that is usable for video streams
      媒體服務(wù)器模塊可以實(shí)現媒體文件播放,電話(huà)橋接,DTMF生成,編碼和重采樣等功能。具體的功能仍然在測試開(kāi)發(fā)階段,相信在不久的未來(lái)可以看到穩定版本面世。
      代碼示例:
      …
      event_route[rms:start] {
      xnotice("[rms:start] play …\n");
      rms_play("/tmp/reference_8000.wav", "rms:after_play");
      }; // 播放語(yǔ)音文件
      event_route[rms:after_play] {
      xnotice("[rms:after_play] play done…\n");
      rms_hangup();
      };
      route {
      if (t_precheck_trans()) {
      t_check_trans();
      exit;
      }
      t_check_trans();
      if (is_method("INVITE") && !has_totag()) {
      if (!rms_answer("rms:start")) {
      t_reply("503", "server error");
      }
      }
      rms_sip_request();
      …
      筆者認為,Kamailio集成媒體服務(wù)器的功能以后,可能會(huì )成為繼Asterisk,FreeSWITCH媒體服務(wù)器以后另外一個(gè)比較強大的媒體信令軟交換平臺,可能更加適合互聯(lián)網(wǎng)模式開(kāi)發(fā)環(huán)境和靈活的語(yǔ)音應用場(chǎng)景。
      關(guān)于媒體模塊的使用,讀者可以訪(fǎng)問(wèn):
      http://kamailio.org/docs/modules/devel/modules/rtp_media_server.html
     
     
      關(guān)注微信公眾號:asterisk-cn,獲得有價(jià)值的Asterisk行業(yè)分享
      Asterisk freepbx 中文官方論壇:http://bbs.freepbx.cn/forum.php
      Asterisk freepbx技術(shù)文檔: www.freepbx.org.cn
      融合通信商業(yè)解決方案,協(xié)同解決方案首選產(chǎn)品:www.hiastar.com
      Asterisk/FreePBX中國合作伙伴,官方qq技術(shù)分享群(3000千人):589995817

    【免責聲明】本文僅代表作者本人觀(guān)點(diǎn),與CTI論壇無(wú)關(guān)。CTI論壇對文中陳述、觀(guān)點(diǎn)判斷保持中立,不對所包含內容的準確性、可靠性或完整性提供任何明示或暗示的保證。請讀者僅作參考,并請自行承擔全部責任。

    相關(guān)閱讀:

    專(zhuān)題

    CTI論壇會(huì )員企業(yè)

    亚洲精品网站在线观看不卡无广告,国产a不卡片精品免费观看,欧美亚洲一区二区三区在线,国产一区二区三区日韩 诸暨市| 河东区| 慈利县| 辽阳市| 牙克石市| 红原县| 武夷山市| 竹北市| 扶风县| 余干县| 上饶县| 德化县| 南乐县| 息烽县| 钦州市| 三亚市| 两当县| 凭祥市| 涡阳县| 屏东市| 德庆县| 固始县| 通化县| 武安市| 都兰县| 乌兰浩特市| 常宁市| 五寨县| 河池市| 娄烦县| 鞍山市| 潜江市| 宕昌县| 乌拉特中旗| 文山县| 垣曲县| 安徽省| 徐闻县| 昆明市| 天柱县| 治县。| http://444 http://444 http://444 http://444 http://444 http://444