“SIP trunk 配置示例文档”的版本间的差异

来自最权威最新完整开源SIP,语音通信,融合通信中文技术文档资料,提供详细的Asterisk Freepbx, FreeSBC, 免费会话边界控制器,网关,语音板卡,IPPBX,SBC配置资料-asterisk,freepbx,freesbc 用户手册 界面配置,呼叫路由,IVR, 网关对接,拨号规则,SIP 分机呼叫,pjsip, IVR, 录音, CDR, 队列呼叫,振铃组,CLI 命令中文资料手册
跳转至: 导航搜索
(创建页面,内容为“<!DOCTYPE html> <html lang="en" dir="ltr" class="client-nojs"> <head> <title>FreeSBC:SIP Trunking - TBwiki</title> <meta charset="UTF-8" /> <meta name="generator" co...”)
 
 
(未显示同一用户的26个中间版本)
第1行: 第1行:
<!DOCTYPE html>
+
本章节介绍如何实现通过SIP trunk/SBC和PBX的对接部署。此文档的内容可能滞后,如果用户想了解最新的更新内容:
<html lang="en" dir="ltr" class="client-nojs">
+
<head>
+
<title>FreeSBC:SIP Trunking - TBwiki</title>
+
<meta charset="UTF-8" />
+
<meta name="generator" content="MediaWiki 1.18.1" />
+
<link rel="shortcut icon" href="/favicon.ico" />
+
<link rel="search" type="application/opensearchdescription+xml" href="/mediawiki/opensearch_desc.php" title="TBwiki (en)" />
+
<link rel="EditURI" type="application/rsd+xml" href="https://docs.telcobridges.com/mediawiki/api.php?action=rsd" />
+
<link rel="alternate" type="application/atom+xml" title="TBwiki Atom feed" href="/mediawiki/index.php?title=Special:RecentChanges&amp;feed=atom" />
+
<link rel="stylesheet" href="/mediawiki/load.php?debug=false&amp;lang=en&amp;modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.monobook&amp;only=styles&amp;skin=monobook&amp;*" />
+
<!--[if lt IE 5.5000]><link rel="stylesheet" href="/mediawiki/skins/monobook/IE50Fixes.css?303" media="screen" /><![endif]-->
+
<!--[if IE 5.5000]><link rel="stylesheet" href="/mediawiki/skins/monobook/IE55Fixes.css?303" media="screen" /><![endif]-->
+
<!--[if IE 6]><link rel="stylesheet" href="/mediawiki/skins/monobook/IE60Fixes.css?303" media="screen" /><![endif]-->
+
<!--[if IE 7]><link rel="stylesheet" href="/mediawiki/skins/monobook/IE70Fixes.css?303" media="screen" /><![endif]--><meta name="ResourceLoaderDynamicStyles" content="" />
+
<link rel="stylesheet" href="/mediawiki/load.php?debug=false&amp;lang=en&amp;modules=site&amp;only=styles&amp;skin=monobook&amp;*" />
+
<style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}a.new,#quickbar a.new{color:#ba0000}
+
  
/* cache key: wikidb:resourceloader:filter:minify-css:4:c88e2bcd56513749bec09a7e29cb3ffa */
+
1)建议读者可查阅官方最新英文文档:
</style>
+
https://docs.telcobridges.com/tbwiki/FreeSBC:SIP_Trunking:Configuration_A
<script src="/mediawiki/load.php?debug=false&amp;lang=en&amp;modules=startup&amp;only=scripts&amp;skin=monobook&amp;*"></script>
+
<script>if(window.mw){
+
mw.config.set({"wgCanonicalNamespace": "", "wgCanonicalSpecialPageName": false, "wgNamespaceNumber": 0, "wgPageName": "FreeSBC:SIP_Trunking", "wgTitle": "FreeSBC:SIP Trunking", "wgCurRevisionId": 26355, "wgArticleId": 6880, "wgIsArticle": true, "wgAction": "view", "wgUserName": null, "wgUserGroups": ["*"], "wgCategories": [], "wgBreakFrames": false, "wgRestrictionEdit": [], "wgRestrictionMove": [], "wgWikiEditorEnabledModules": {"toolbar": true, "dialogs": true, "hidesig": true, "templateEditor": false, "templates": false, "preview": true, "previewDialog": false, "publish": false, "toc": false}});
+
}
+
</script><script>if(window.mw){
+
mw.loader.load(["mediawiki.page.startup"]);
+
}
+
</script>
+
</head>
+
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-FreeSBC_SIP_Trunking action-view skin-monobook">
+
<div id="globalWrapper">
+
<div id="column-content"><div id="content">
+
<a id="top"></a>
+
+
<h1 id="firstHeading" class="firstHeading">FreeSBC:SIP Trunking</h1>
+
<div id="bodyContent">
+
<div id="siteSub">From TBwiki</div>
+
<div id="contentSub"></div>
+
<div id="jump-to-nav">Jump to: <a href="#column-one">navigation</a>, <a href="#searchInput">search</a></div>
+
<!-- start content -->
+
<div lang="en" dir="ltr" class="mw-content-ltr"><table id="toc" class="toc"><tr><td><div id="toctitle"><h2>Contents</h2></div>
+
<ul>
+
<li class="toclevel-1 tocsection-1"><a href="#SIP_Trunking"><span class="tocnumber">1</span> <span class="toctext">SIP Trunking</span></a></li>
+
<li class="toclevel-1 tocsection-2"><a href="#Benefits_of_SIP_Trunking"><span class="tocnumber">2</span> <span class="toctext">Benefits of SIP Trunking</span></a></li>
+
<li class="toclevel-1 tocsection-3"><a href="#Typical_SIP_Trunking_Sample"><span class="tocnumber">3</span> <span class="toctext">Typical SIP Trunking Sample</span></a></li>
+
<li class="toclevel-1 tocsection-4"><a href="#Features_of_the_FreeSBC"><span class="tocnumber">4</span> <span class="toctext">Features of the FreeSBC</span></a></li>
+
<li class="toclevel-1 tocsection-5"><a href="#Configuration"><span class="tocnumber">5</span> <span class="toctext">Configuration</span></a></li>
+
<li class="toclevel-1 tocsection-6"><a href="#References"><span class="tocnumber">6</span> <span class="toctext">References</span></a></li>
+
</ul>
+
</td></tr></table>
+
<h2> <span class="mw-headline" id="SIP_Trunking"> SIP Trunking </span></h2>
+
<p>A SIP Trunk provides the same service you get from a traditional phone lines. The difference is, instead of being a physical wire, a SIP Trunk is a “virtual” line which is provided by a SIP trunk provider delivered over IP using the SIP protocol.  
+
</p>
+
<h2> <span class="mw-headline" id="Benefits_of_SIP_Trunking"> Benefits of SIP Trunking </span></h2>
+
<ul><li> Lower circuit costs
+
</li><li> Lower PSTN origination/termination fees
+
</li><li> Better customer service
+
</li><li> Move offices and keep the same number
+
</li><li> Flexibility
+
</li><li> Scalability
+
</li><li> Reliability
+
</li></ul>
+
<p><br />
+
</p>
+
<h2> <span class="mw-headline" id="Typical_SIP_Trunking_Sample"> Typical SIP Trunking Sample </span></h2>
+
<p><a href="/tbwiki/File:FreeSBC_Sip_Trunking.jpg" class="image"><img alt="FreeSBC Sip Trunking.jpg" src="/mediawiki/images/thumb/5/56/FreeSBC_Sip_Trunking.jpg/800px-FreeSBC_Sip_Trunking.jpg" width="800" height="212" /></a>
+
</p>
+
<h2> <span class="mw-headline" id="Features_of_the_FreeSBC">  Features of the FreeSBC  </span></h2>
+
<ul><li>Back-to-back user agent (B2BUA)
+
</li><li>DOS/DDOS protection, dynamic blacklisting and call access control
+
</li><li>Easy to deploy, operate and manage through various interfaces including a RESTful API
+
</li><li>Integrated network troubleshooting tools (traces, media/signaling recording, test call generation, etc)
+
</li><li>Up to 60,000 simultaneous signaling and media sessions
+
</li><li>Media transcoding
+
</li><li>Flexible and extensive routing with SIP headers modification capabilities
+
</li><li>Fit to install on virtual machines, clouds, baremetal servers or TelcoBriges' hardware.
+
</li></ul>
+
<h2> <span class="mw-headline" id="Configuration"> Configuration </span></h2>
+
<ul><li><a href="/tbwiki/FreeSBC:SIP_Trunking:Configuration_A" title="FreeSBC:SIP Trunking:Configuration A">SIP Trunking Configuration Instruction</a>
+
</li><li><a href="/tbwiki/FreeSBC_Configuration_Files:SIP_Trunking" title="FreeSBC Configuration Files:SIP Trunking">SIP Trunking Sample Configuration File</a>
+
</li></ul>
+
<h2> <span class="mw-headline" id="References"> References  </span></h2>
+
<ul><li><a rel="nofollow" class="external text" href="https://sbc.telcobridges.com/#PDF">FreeSBC Datasheet</a>
+
</li><li><a rel="nofollow" class="external text" href="https://en.wikipedia.org/wiki/SIP_trunking">Wikipedia SIP Trunking</a>
+
</li></ul>
+
  
<!--
+
2)中文完整SIP trunk 配置示例:
NewPP limit report
+
http://freepbx.org.cn/wiki/index.php?title=SIP_trunk%E9%85%8D%E7%BD%AE%E7%A4%BA%E4%BE%8B
Preprocessor node count: 22/1000000
+
Post-expand include size: 0/2097152 bytes
+
Template argument size: 0/2097152 bytes
+
Expensive parser function count: 0/100
+
-->
+
  
<!-- Saved in parser cache with key wikidb:pcache:idhash:6880-0!*!0!!en!2!* and timestamp 20200219004138 -->
+
3) 关于FreeSBC/ProSBC的详细介绍和商业咨询,读者可以访问中文FreeSBC网站获得详情介绍:http://freesbc.cn 或者发邮件联系:james.zhu@hiastar.com。
</div><div class="printfooter">
+
Retrieved from "<a href="https://docs.telcobridges.com/mediawiki/index.php?title=FreeSBC:SIP_Trunking&amp;oldid=26355">https://docs.telcobridges.com/mediawiki/index.php?title=FreeSBC:SIP_Trunking&amp;oldid=26355</a>"</div>
+
<div id='catlinks' class='catlinks catlinks-allhidden'></div> <!-- end content -->
+
<div class="visualClear"></div>
+
</div>
+
</div></div>
+
<div id="column-one">
+
<div id="p-cactions" class="portlet">
+
<h5>Views</h5>
+
<div class="pBody">
+
<ul>
+
<li id="ca-nstab-main" class="selected"><a href="/tbwiki/FreeSBC:SIP_Trunking" title="View the content page [c]" accesskey="c">Page</a></li>
+
<li id="ca-talk" class="new"><a href="/mediawiki/index.php?title=Talk:FreeSBC:SIP_Trunking&amp;action=edit&amp;redlink=1" title="Discussion about the content page [t]" accesskey="t">Discussion</a></li>
+
</ul>
+
</div>
+
</div>
+
<div class="portlet" id="p-personal">
+
<h5>Personal tools</h5>
+
<div class="pBody">
+
<ul>
+
<li id="pt-login"><a href="/mediawiki/index.php?title=Special:UserLogin&amp;returnto=FreeSBC%3ASIP+Trunking" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in / create account</a></li>
+
</ul>
+
</div>
+
</div>
+
<div class="portlet" id="p-logo">
+
<a title="Visit the main page" style="background-image: url(/mediawiki/images/TB_Wiki_logo.png);" href="/tbwiki/Main_Page"></a>
+
</div>
+
<script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
+
<div class="generated-sidebar portlet" id="p-navigation">
+
<h5>Navigation</h5>
+
<div class='pBody'>
+
<ul>
+
<li id="n-mainpage"><a href="/tbwiki/Main_Page" title="Visit the main page [z]" accesskey="z">Main Page</a></li>
+
<li id="n-Glossary"><a href="/tbwiki/Category:Glossary">Glossary</a></li>
+
<li id="n-Frequently-Asked-Questions"><a href="/tbwiki/Category:FAQ">Frequently Asked Questions</a></li>
+
<li id="n-recentchanges"><a href="/tbwiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li>
+
<li id="n-randompage"><a href="/tbwiki/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li>
+
<li id="n-help"><a href="/tbwiki/Help:Contents" title="The place to find out">Help</a></li>
+
</ul>
+
</div>
+
</div>
+
<div id="p-search" class="portlet">
+
<h5><label for="searchInput">Search</label></h5>
+
<div id="searchBody" class="pBody">
+
<form action="/mediawiki/index.php" id="searchform">
+
<input type='hidden' name="title" value="Special:Search"/>
+
<input type="search" name="search" title="Search TBwiki [f]" accesskey="f" id="searchInput" />
+
<input type="submit" name="go" value="Go" title="Go to a page with this exact name if exists" id="searchGoButton" class="searchButton" />&#160;
+
<input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton" />
+
</form>
+
</div>
+
</div>
+
<div class="portlet" id="p-tb">
+
<h5>Toolbox</h5>
+
<div class="pBody">
+
<ul>
+
<li id="t-whatlinkshere"><a href="/tbwiki/Special:WhatLinksHere/FreeSBC:SIP_Trunking" title="A list of all wiki pages that link here [j]" accesskey="j">What links here</a></li>
+
<li id="t-recentchangeslinked"><a href="/tbwiki/Special:RecentChangesLinked/FreeSBC:SIP_Trunking" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li>
+
<li id="t-specialpages"><a href="/tbwiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q">Special pages</a></li>
+
<li><a href="/mediawiki/index.php?title=FreeSBC:SIP_Trunking&amp;printable=yes" rel="alternate">Printable version</a></li>
+
<li id="t-permalink"><a href="/mediawiki/index.php?title=FreeSBC:SIP_Trunking&amp;oldid=26355" title="Permanent link to this revision of the page">Permanent link</a></li>
+
</ul>
+
</div>
+
</div>
+
</div><!-- end of the left (by default at least) column -->
+
<div class="visualClear"></div>
+
<div id="footer">
+
<div id="f-poweredbyico">
+
<a href="http://www.mediawiki.org/"><img src="/mediawiki/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" width="88" height="31" /></a>
+
<a href="http://www.mediawiki.org/wiki/Extension:SphinxSearch"><img src="/mediawiki/extensions/SphinxSearch/skins/images/Powered_by_sphinx.png" alt="Search Powered by Sphinx" width="88" height="31" /></a>
+
</div>
+
<ul id="f-list">
+
<li id="lastmod"> This page was last modified on 8 January 2019, at 06:41.</li>
+
<li id="viewcount">This page has been accessed 1,843 times.</li>
+
<li id="privacy"><a href="/tbwiki/TBwiki:Privacy_policy" title="TBwiki:Privacy policy">Privacy policy</a></li>
+
<li id="about"><a href="/tbwiki/TBwiki:About" title="TBwiki:About">About TBwiki</a></li>
+
<li id="disclaimer"><a href="/tbwiki/TBwiki:General_disclaimer" title="TBwiki:General disclaimer">Disclaimers</a></li>
+
</ul>
+
</div>
+
</div>
+
<script>if(window.mw){
+
mw.loader.load(["mediawiki.user", "mediawiki.util", "mediawiki.page.ready", "mediawiki.legacy.wikibits", "mediawiki.legacy.ajax"]);
+
}
+
</script>
+
<script src="/mediawiki/load.php?debug=false&amp;lang=en&amp;modules=site&amp;only=scripts&amp;skin=monobook&amp;*"></script>
+
<script>if(window.mw){
+
mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":1,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"highlightbroken":1,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":1,"showtoolbar":1,"skin":"monobook","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,"watchlistdays":3,"watchlisthideanons":0,
+
"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"usebetatoolbar":1,"usebetatoolbar-cgd":1,"wikieditor-preview":1,"variant":"en","language":"en","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false});;mw.user.tokens.set({"editToken":"+\\","watchToken":false});;mw.loader.state({"user.options":"ready","user.tokens":"ready"});
+
+
/* cache key: wikidb:resourceloader:filter:minify-js:4:09b7dfd84794a32aeb223d7bd130f156 */
+
}
+
</script><script type="text/javascript">
+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+
</script>
+
<script type="text/javascript">
+
var pageTracker = _gat._getTracker("UA-10384107-1");
+
pageTracker._trackPageview();
+
</script>
+
  
<!--Pardot SNIPPET//-->
+
==配置介绍==
<script type="text/javascript">
+
本文档主要介绍如何通过运营商的SIP中继来对接FreeSBC或者ProSBC,然后进入到IPPBX的生产环境中。用户需要首先完成正常的软件安装流程,可以通过界面访问到FreeSBC/ProPBX系统界面。
  
piAId = '46842';
+
==配置前准备==
piCId = '1158';
+
用户在配置SBC前,首先需要安装SBC。无论是用户通过虚拟机安装,实体机安装或者基于云服务的安装方式,确认其安装步骤成功完成,并且激活了许可证(有免费许可证或者Pro商业版本许可证)。然后用户获悉其访问端口和ip地址,通过浏览器访问此地址。用户配置SBC前,必须注意以下几个方面的参数内容:
 +
[[文件:800px-FreeSBC_Sip_Trunking.jpg]]
 +
*SIP trunk的参数:IP地址,端口,是否支持用户密码。
 +
*SBC的端口和IP地址,需要确认WAN IP地址,LAN IP地址和管理端口等相关细节。
 +
*IPPBX侧的IP地址,端口,认证参数。
  
(function() {
+
以下示例简单说明了一个关于SBC支持SIP trunk注册的拓扑图示例,这些IP地址都对应相应的连接设备或者软件平台,参数命名也最好根据示例所配置的来命名,这样可以方便技术支持人员排查问题:
  function async_load(){
+
[[文件:Sip_trunking_sample_1.jpg]]
    var s = document.createElement('script'); s.type = 'text/javascript';
+
    s.src = ('https:' == document.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js';
+
    var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c);
+
  }
+
  if(window.attachEvent) { window.attachEvent('onload', async_load); }
+
  else { window.addEventListener('load', async_load, false); }
+
})();
+
  
</script>
+
这里,运营商提供SIP trunk服务,SBC提供SIP 安全保护和业务管理,IPPBX或者呼叫中心可以是任何标准SIP媒体或应用服务器,包括基于开源Asterisk/FreeSWITCH或等商业SIP服务器厂家产品。
<!--Pardot SNIPPET//.>
+
  
<!-- Served in 0.091 secs. --></body></html>
+
==配置流程简述==
 +
在配置SBC时,需要经过以下三个大的步骤。请用户一步步按照配置流程来配置,请勿忽略任何一个步骤,以及操作过程中的错误。如果用户有疑问,或者需要查看最新链接,读者参考官方文档链接:
 +
https://docs.telcobridges.com/tbwiki/FreeSBC:SIP_Trunking:Configuration_A
 +
 
 +
*创建IP网络:经过4个步骤:创建IP虚拟端口->配置VLAN->配置IP接口->创建IP端口范围
 +
**创建IP虚拟端口-Configuring an IP Virtual Port
 +
**配置VLAN-Configuring a VLAN
 +
**配置IP接口-Configuring IP Interfaces
 +
**创建IP端口范围-Create an IP port range
 +
*创建协议栈:经过5个步骤:创建一个SIP协议栈->创建SIP传输服务器->修改属性配置->分配一个SIP NAP->分配一个开启的NAP
 +
**创建一个SIP协议栈-Create a SIP stack
 +
**创建SIP传输服务器-Create a SIP transport server
 +
**修改属性配置-Modify profile
 +
**分配一个SIP NAP-Allocate a SIP NAP
 +
**分配一个开启的NAP-Allocate an open SIP NAP
 +
*创建呼叫路由:创建第一个呼叫路由策略
 +
**创建第一个呼叫路由策略-Create a first call route
 +
*激活新配置文件
 +
 
 +
用户可以根据以下'''配置示例'''来一步步进行配置。
 +
 
 +
==配置示例==
 +
*[[SIP trunk配置示例]]-根据前面所提到的3个大步骤,用户可以按照以下步骤一步步配置SBC。
 +
 
 +
==问题排查==
 +
* 呼叫跟踪 仅支持商业版本
 +
* 获取呼叫跟踪log:仅支持商业版本
 +
* 生成一个呼叫测试:仅支持商业版本
 +
* 捕捉系统报告
 +
* 高级排查

2020年2月21日 (五) 09:38的最新版本

本章节介绍如何实现通过SIP trunk/SBC和PBX的对接部署。此文档的内容可能滞后,如果用户想了解最新的更新内容:

1)建议读者可查阅官方最新英文文档: https://docs.telcobridges.com/tbwiki/FreeSBC:SIP_Trunking:Configuration_A

2)中文完整SIP trunk 配置示例: http://freepbx.org.cn/wiki/index.php?title=SIP_trunk%E9%85%8D%E7%BD%AE%E7%A4%BA%E4%BE%8B

3) 关于FreeSBC/ProSBC的详细介绍和商业咨询,读者可以访问中文FreeSBC网站获得详情介绍:http://freesbc.cn 或者发邮件联系:james.zhu@hiastar.com。

配置介绍

本文档主要介绍如何通过运营商的SIP中继来对接FreeSBC或者ProSBC,然后进入到IPPBX的生产环境中。用户需要首先完成正常的软件安装流程,可以通过界面访问到FreeSBC/ProPBX系统界面。

配置前准备

用户在配置SBC前,首先需要安装SBC。无论是用户通过虚拟机安装,实体机安装或者基于云服务的安装方式,确认其安装步骤成功完成,并且激活了许可证(有免费许可证或者Pro商业版本许可证)。然后用户获悉其访问端口和ip地址,通过浏览器访问此地址。用户配置SBC前,必须注意以下几个方面的参数内容: 800px-FreeSBC Sip Trunking.jpg

  • SIP trunk的参数:IP地址,端口,是否支持用户密码。
  • SBC的端口和IP地址,需要确认WAN IP地址,LAN IP地址和管理端口等相关细节。
  • IPPBX侧的IP地址,端口,认证参数。

以下示例简单说明了一个关于SBC支持SIP trunk注册的拓扑图示例,这些IP地址都对应相应的连接设备或者软件平台,参数命名也最好根据示例所配置的来命名,这样可以方便技术支持人员排查问题: Sip trunking sample 1.jpg

这里,运营商提供SIP trunk服务,SBC提供SIP 安全保护和业务管理,IPPBX或者呼叫中心可以是任何标准SIP媒体或应用服务器,包括基于开源Asterisk/FreeSWITCH或等商业SIP服务器厂家产品。

配置流程简述

在配置SBC时,需要经过以下三个大的步骤。请用户一步步按照配置流程来配置,请勿忽略任何一个步骤,以及操作过程中的错误。如果用户有疑问,或者需要查看最新链接,读者参考官方文档链接: https://docs.telcobridges.com/tbwiki/FreeSBC:SIP_Trunking:Configuration_A

  • 创建IP网络:经过4个步骤:创建IP虚拟端口->配置VLAN->配置IP接口->创建IP端口范围
    • 创建IP虚拟端口-Configuring an IP Virtual Port
    • 配置VLAN-Configuring a VLAN
    • 配置IP接口-Configuring IP Interfaces
    • 创建IP端口范围-Create an IP port range
  • 创建协议栈:经过5个步骤:创建一个SIP协议栈->创建SIP传输服务器->修改属性配置->分配一个SIP NAP->分配一个开启的NAP
    • 创建一个SIP协议栈-Create a SIP stack
    • 创建SIP传输服务器-Create a SIP transport server
    • 修改属性配置-Modify profile
    • 分配一个SIP NAP-Allocate a SIP NAP
    • 分配一个开启的NAP-Allocate an open SIP NAP
  • 创建呼叫路由:创建第一个呼叫路由策略
    • 创建第一个呼叫路由策略-Create a first call route
  • 激活新配置文件

用户可以根据以下配置示例来一步步进行配置。

配置示例

  • SIP trunk配置示例-根据前面所提到的3个大步骤,用户可以按照以下步骤一步步配置SBC。

问题排查

  • 呼叫跟踪 仅支持商业版本
  • 获取呼叫跟踪log:仅支持商业版本
  • 生成一个呼叫测试:仅支持商业版本
  • 捕捉系统报告
  • 高级排查