<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://docs.telcobridges.com/mediawiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs.telcobridges.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=William+Wong</id>
		<title>TBwiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://docs.telcobridges.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=William+Wong"/>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Special:Contributions/William_Wong"/>
		<updated>2026-04-15T21:19:07Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.1</generator>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Parameter:_Proxy_Port_Type</id>
		<title>Parameter: Proxy Port Type</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Parameter:_Proxy_Port_Type"/>
				<updated>2021-03-26T02:44:43Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxy Port Type parameter is used to identify the type of IP port used by Proxy. Values for this parameter are selected from a drop-down list. The Proxy Port Type parameter can take on the following values:&lt;br /&gt;
&lt;br /&gt;
* UDP&lt;br /&gt;
* TCP&lt;br /&gt;
&lt;br /&gt;
[[Category:Parameters]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Parameter:_Proxy_Port_Type</id>
		<title>Parameter: Proxy Port Type</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Parameter:_Proxy_Port_Type"/>
				<updated>2021-03-26T02:42:09Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Proxy Port Type parameter is used to identify the type of IP port used by a SIP transport server. Values for this parameter are selected from a drop-down list. The Proxy Port Type parameter can take on the following values:&lt;br /&gt;
&lt;br /&gt;
* UDP&lt;br /&gt;
* TCP&lt;br /&gt;
&lt;br /&gt;
[[Category:Parameters]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname</id>
		<title>Toolpack Installation:Change hostname</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname"/>
				<updated>2021-03-04T03:52:40Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Change hostname */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Change hostname  ==&lt;br /&gt;
&lt;br /&gt;
This procedure applies to TMG800, TMG3200 and TMG7800 with static IP for management interfaces. &lt;br /&gt;
Require Version rel2.9 and above&lt;br /&gt;
&lt;br /&gt;
*ssh to the Centos host&lt;br /&gt;
*Do shell command &amp;quot;hostname&amp;quot; to show the current hostname&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For Centos 7, the hostname command is&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
hostnamectl&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Change to the new name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For CentOS 7,&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
hostnamectl  set-hostname   NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Restart toolpack:&lt;br /&gt;
&amp;lt;pre&amp;gt;tbtoolpack stop&lt;br /&gt;
tbtoolpack start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For TMG7800 CentOS 7, do reboot host, and after reboot host, if you notice&lt;br /&gt;
/etc/hosts&lt;br /&gt;
is still with old name, perform manual change of NewHostName for this file /etc/hosts, then reboot host again&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: DO NOT change the hostname via webportal.&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname</id>
		<title>Toolpack Installation:Change hostname</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname"/>
				<updated>2021-03-04T03:51:58Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Change hostname */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Change hostname  ==&lt;br /&gt;
&lt;br /&gt;
This procedure applies to TMG800, TMG3200 and TMG7800 with static IP for management interfaces. &lt;br /&gt;
Require Version rel2.9 and above&lt;br /&gt;
&lt;br /&gt;
*ssh to the Centos host&lt;br /&gt;
*Do shell command &amp;quot;hostname&amp;quot; to show the current hostname&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
*For Centos 7, the hostname command is&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
hostnamectl&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Change to the new name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For CentOS 7,&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
hostnamectl  set-hostname   NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Restart toolpack:&lt;br /&gt;
&amp;lt;pre&amp;gt;tbtoolpack stop&lt;br /&gt;
tbtoolpack start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For TMG7800 CentOS 7, do reboot host, and after reboot host, if you notice&lt;br /&gt;
/etc/hosts&lt;br /&gt;
is still with old name, perform manual change of NewHostName for this file /etc/hosts, then reboot host again&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: DO NOT change the hostname via webportal.&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname</id>
		<title>Toolpack Installation:Change hostname</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname"/>
				<updated>2021-02-26T08:08:55Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Change hostname */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Change hostname  ==&lt;br /&gt;
&lt;br /&gt;
This procedure applies to TMG800, TMG3200 and TMG7800 with static IP for management interfaces. &lt;br /&gt;
Require Version rel2.9 and above&lt;br /&gt;
&lt;br /&gt;
*ssh to the Centos host&lt;br /&gt;
*Do shell command &amp;quot;hostname&amp;quot; to show the current hostname&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
*For Centos 7, the hostname command is&lt;br /&gt;
&amp;lt;pre&amp;gt;  &lt;br /&gt;
hostnamectl&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Change to the new name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
*For CentOS 7,&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
hostnamectl  set-hostname   NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Restart toolpack:&lt;br /&gt;
&amp;lt;pre&amp;gt;tbtoolpack stop&lt;br /&gt;
tbtoolpack start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For TMG7800 CentOS 7, do reboot host, and after reboot host, if you notice&lt;br /&gt;
/etc/hosts&lt;br /&gt;
is still with old name, perform manual change of NewHostName for this file /etc/hosts, then reboot host again&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: DO NOT change the hostname via webportal.&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname</id>
		<title>Toolpack Installation:Change hostname</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname"/>
				<updated>2021-02-26T08:07:52Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Change hostname */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Change hostname  ==&lt;br /&gt;
&lt;br /&gt;
This procedure applies to TMG800, TMG3200 and TMG7800 with static IP for management interfaces. &lt;br /&gt;
Require Version rel2.9 and above&lt;br /&gt;
&lt;br /&gt;
*ssh to the Centos host&lt;br /&gt;
*Do shell command &amp;quot;hostname&amp;quot; to show the current hostname&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
*For Centos 7, the hostname command is&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
hostnamectl&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Change to the new name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
*For CentOS 7,&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
hostnamectl  set-hostname   NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Restart toolpack:&lt;br /&gt;
&amp;lt;pre&amp;gt;tbtoolpack stop&lt;br /&gt;
tbtoolpack start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For TMG7800 CentOS 7, do reboot host, and after reboot host, if you notice&lt;br /&gt;
/etc/hosts&lt;br /&gt;
is still with old name, perform manual change of NewHostName for this file /etc/hosts, then reboot host again&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: DO NOT change the hostname via webportal.&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname</id>
		<title>Toolpack Installation:Change hostname</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname"/>
				<updated>2021-02-26T08:06:17Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Change hostname */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Change hostname  ==&lt;br /&gt;
&lt;br /&gt;
This procedure applies to TMG800, TMG3200 and TMG7800 with static IP for management interfaces. &lt;br /&gt;
Require Version rel2.9 and above&lt;br /&gt;
&lt;br /&gt;
*ssh to the Centos host&lt;br /&gt;
*Do shell command &amp;quot;hostname&amp;quot; to show the current hostname&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For Centos 7, the hostname command is&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
hostnamectl&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Change to the new name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For CentOS 7,&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
hostnamectl  set-hostname   NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Restart toolpack:&lt;br /&gt;
&amp;lt;pre&amp;gt;tbtoolpack stop&lt;br /&gt;
tbtoolpack start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For TMG7800 CentOS 7, do reboot host, and after reboot host, if you notice&lt;br /&gt;
/etc/hosts&lt;br /&gt;
is still with old name, perform manual change of NewHostName for this file /etc/hosts, then reboot host again&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: DO NOT change the hostname via webportal.&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname</id>
		<title>Toolpack Installation:Change hostname</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname"/>
				<updated>2021-02-26T08:04:32Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Change hostname */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Change hostname  ==&lt;br /&gt;
&lt;br /&gt;
This procedure applies to TMG800, TMG3200 and TMG7800 with static IP for management interfaces. &lt;br /&gt;
Require Version rel2.9 and above&lt;br /&gt;
&lt;br /&gt;
*ssh to the Centos host&lt;br /&gt;
*Do shell command &amp;quot;hostname&amp;quot; to show the current hostname&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For Centos 7, the hostname command is,&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
hostnamectl&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Change to the new name:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For CentOS 7,&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
hostnamectl  set-hostname   NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Restart toolpack:&lt;br /&gt;
&amp;lt;pre&amp;gt;tbtoolpack stop&lt;br /&gt;
tbtoolpack start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For TMG7800 CentOS 7, do reboot host, and after reboot host, if you notice&lt;br /&gt;
/etc/hosts&lt;br /&gt;
is still with old name, perform manual change of NewHostName for this file /etc/hosts, then reboot host again&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: DO NOT change the hostname via webportal.&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname</id>
		<title>Toolpack Installation:Change hostname</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Installation:Change_hostname"/>
				<updated>2021-02-26T08:03:38Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Change hostname */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Change hostname  ==&lt;br /&gt;
&lt;br /&gt;
This procedure applies to TMG800, TMG3200 and TMG7800 with static IP for management interfaces. &lt;br /&gt;
Require Version rel2.9 and above&lt;br /&gt;
&lt;br /&gt;
*ssh to the Centos host&lt;br /&gt;
*Do shell command &amp;quot;hostname&amp;quot; to show the current hostname&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hostname&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For Centos 7, the hostname command is,&lt;br /&gt;
&amp;lt;/pre&amp;gt;  &lt;br /&gt;
hostnamectl&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Change to the new name:&lt;br /&gt;
&amp;lt;pre&amp;gt;hostname NewHostName&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
For CentOS 7,&lt;br /&gt;
hostnamectl  set-hostname   NewHostName&lt;br /&gt;
&lt;br /&gt;
*Restart toolpack:&lt;br /&gt;
&amp;lt;pre&amp;gt;tbtoolpack stop&lt;br /&gt;
tbtoolpack start&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For TMG7800 CentOS 7, do reboot host, and after reboot host, if you notice&lt;br /&gt;
/etc/hosts&lt;br /&gt;
is still with old name, perform manual change of NewHostName for this file /etc/hosts, then reboot host again&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: DO NOT change the hostname via webportal.&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Creating_a_SIP_Domain_SBC_A</id>
		<title>Toolpack:Creating a SIP Domain SBC A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Creating_a_SIP_Domain_SBC_A"/>
				<updated>2021-01-18T10:39:26Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Applies to version(s): v3.0 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Creating a SIP Domain}}&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (domain can be a FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. Higher value are replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is less than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request are being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the  maximum number of simultaneous active register requests allowed for this domain. New REGISTER request are being refused passed this threshold.&lt;br /&gt;
** Select the Registration '''Registrar Selection Mode''' to the registrar:&lt;br /&gt;
*** '''Active/Standby''': The active registrar is the one with status up and the lowest priority (automatic fallback).&lt;br /&gt;
** Enable the '''Forward After Switchover''': After a switchover, the first register refresh request from each user will be forwarded to the active registrar.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Create_SIP_Domain3.png]]&lt;br /&gt;
&lt;br /&gt;
5- Add the domain to one or multiple NAPs from which users are allowed to register for this domain&lt;br /&gt;
* Click '''NAPs''' in the navigation panel&lt;br /&gt;
* Click on a NAP to bind the SIP Domain to&lt;br /&gt;
* Add the SIP Domain to the NAP (bottom of the page):&lt;br /&gt;
[[Image:bind_domain_to_nap.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Multiple registrars (registration redundancy)&lt;br /&gt;
Multiple registrars can be created per domain, for redundancy.&lt;br /&gt;
* Registrars are ordered by priority&lt;br /&gt;
* Users' registration requests are forwarded to the available registrar with the highest priority in the list&lt;br /&gt;
* SIP 'options' polling is used to determine which registrars are available or not&lt;br /&gt;
&lt;br /&gt;
[[Image:multiple_registrars.png]]&lt;br /&gt;
&lt;br /&gt;
== Create routes for registered users ==&lt;br /&gt;
In most cases, TBSC will be required to route SIP calls (SIP Invite) to registered users. That's done by [[Sip_registration_forwarding#SIP_Calls_routing|creating appropriate routes]].&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/VerifyIua_B</id>
		<title>VerifyIua B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/VerifyIua_B"/>
				<updated>2021-01-04T08:42:10Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.9, v2.10'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:IUA Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view IUA status and to set a periodic refresh of the IUA protocol stack. This is done from the Status menu and the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''IUA''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabIUA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the IUA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''IUA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the IUA status, select a value from '''Refresh Every'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_3a.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Select an IUA SAP to view its status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The SAP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5-To view the cluster, select the '''Clusters''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Clusters link(s) are displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Northbound Interface&amp;quot; data-expandtext=&amp;quot;Northbound Interface&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Path'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/iua_stacks/@[iua_stack]/status&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/VerifyIua_A</id>
		<title>VerifyIua A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/VerifyIua_A"/>
				<updated>2021-01-04T08:41:42Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.8.'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:IUA Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view IUA status and to set a periodic refresh of the IUA protocol stack. This is done from the Status menu and the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''IUA''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabIUA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the IUA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''IUA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the IUA status, select a value from '''Refresh Every'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_3a.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Select an IUA SAP to view its status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The SAP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_4.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5-To view the cluster, select the '''Clusters''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Clusters link(s) are displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusIUA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaASPStatus_B</id>
		<title>Toolpack:SIGTRAN M3uaASPStatus B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaASPStatus_B"/>
				<updated>2021-01-04T08:39:44Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.9, v2.10'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M3UA ASP Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M3UA ASP status. This can be done from either the Status menu or the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M3ua''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM3UA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M3UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_SGP_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M3UA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the M3UA status, select a value from '''Refresh Every'''.&lt;br /&gt;
* To view the M3UA SAPS, click the '''Saps''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- To view the status of an M3UA SAP, select an M3UA SAP.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The M3UA SAP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- To view the status of an M3UA Network, select an M3UA Network.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Select a userpart to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_7.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed status is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_8.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7- Select a PSP to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_9.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_A.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8- Select a PRSV to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_B.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_C.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_D.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9- Select a Route to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_E.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_F.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_G.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Northbound Interface&amp;quot; data-expandtext=&amp;quot;Northbound Interface&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Path'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/configurations/@[configuration_name]/m3ua_stacks/@[m3ua_name]/status&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaSgpStatus_B</id>
		<title>Toolpack:SIGTRAN M3uaSgpStatus B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaSgpStatus_B"/>
				<updated>2021-01-04T08:39:20Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.9, v2.10'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M3UA SGP Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M3UA SGP status. This can be done from either the Status menu or the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M3ua''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM3UA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M3UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_SGP_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M3UA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the M3UA status, select a value from '''Refresh Every'''.&lt;br /&gt;
* To view the M3UA SAPS, click the '''Saps''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- To view the status of an M3UA SAP, select an M3UA SAP.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The M3UA SAP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- To view the status of an M3UA Network, select an M3UA Network.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Select a userpart to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_7.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed status is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_8.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7- Select a PSP to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_9.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_A.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8- Select a PRSV to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_B.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_C.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_D.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9- Select a Route to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_E.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_F.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_G.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Northbound Interface&amp;quot; data-expandtext=&amp;quot;Northbound Interface&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Path'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/configurations/@[configuration_name]/m3ua_stacks/@[m3ua_name]/status&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaIPSPStatus_B</id>
		<title>Toolpack:SIGTRAN M3uaIPSPStatus B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaIPSPStatus_B"/>
				<updated>2021-01-04T08:39:01Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.9, v2.10'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M3UA IPSP Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M3UA IPSP status. This can be done from either the Status menu or the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M3ua''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM3UA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M3UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M3UA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the M3UA status, select a value from '''Refresh Every'''.&lt;br /&gt;
* To view the M3UA SAPS, click the '''Saps''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- To view the status of an M3UA SAP, select an M3UA SAP.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The M3UA SAP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- To view the status of an M3UA Network, select an M3UA Network.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Select a userpart to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_7.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed status is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_8.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7- Select a PSP to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_9.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_A.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8- Select a PRSV to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_B.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_C.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_D.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9- Select a Route to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_E.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_F.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_G.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Northbound Interface&amp;quot; data-expandtext=&amp;quot;Northbound Interface&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Path'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/configurations/@[configuration_name]/m3ua_stacks/@[m3ua_name]/status&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2paStatus_B</id>
		<title>Toolpack:SIGTRAN M2paStatus B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2paStatus_B"/>
				<updated>2021-01-04T08:38:43Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.9, v2.10'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M2PA Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M2PA status and to set a periodic refresh of the M2UA protocol stack. This is done from the Status menu and the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M2pa''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM2PA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M2UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M2PA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- The status of the M2PA SAPs is shown.&lt;br /&gt;
&lt;br /&gt;
*To configure a periodic refresh of the M2PA status, select a value from '''Refresh Every'''.&lt;br /&gt;
*Select '''Links''' to view Saps and Links status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- The M2PA SAPS links are shown.&lt;br /&gt;
* Select any SAP link to view further status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5-To view the SAP links, click the '''Links''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Northbound Interface&amp;quot; data-expandtext=&amp;quot;Northbound Interface&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Path'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/m2pa_stacks/@[m2pa_name]/status&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2uaStatus_B</id>
		<title>Toolpack:SIGTRAN M2uaStatus B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2uaStatus_B"/>
				<updated>2021-01-04T08:38:21Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.9, v2.10'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M2UA Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M2UA status and to set a periodic refresh of the M2UA protocol stack. This is done from the Status menu and the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M2ua''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM2UA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M2UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M2UA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the M2UA status, select a value from '''Refresh Every'''.&lt;br /&gt;
* To view the SAP status select a SAP link.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- The SAP status is displayed&lt;br /&gt;
* To view the Clusters status, click the '''Clusters''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- Select an M2UA Cluster to view the status of its links and peers.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6- To view the status of the peers, select the '''Peers''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The status of the peers is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_7.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Northbound Interface&amp;quot; data-expandtext=&amp;quot;Northbound Interface&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Path'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/m2ua_stacks/@[m2ua_stack]/status&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaASPStatus_A</id>
		<title>Toolpack:SIGTRAN M3uaASPStatus A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaASPStatus_A"/>
				<updated>2021-01-04T08:36:39Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.8.'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M3UA ASP Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M3UA ASP status. This can be done from either the Status menu or the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M3ua''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM3UA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M3UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_SGP_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M3UA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the M3UA status, select a value from '''Refresh Every'''.&lt;br /&gt;
* To view the M3UA SAPS, click the '''Saps''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- To view the status of an M3UA SAP, select an M3UA SAP.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The M3UA SAP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- To view the status of an M3UA Network, select an M3UA Network.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Select a userpart to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_7.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed status is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_8.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7- Select a PSP to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_9.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_A.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8- Select a PRSV to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_B.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_C.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_D.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9- Select a Route to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_E.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_F.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_G.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaSgpStatus_A</id>
		<title>Toolpack:SIGTRAN M3uaSgpStatus A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaSgpStatus_A"/>
				<updated>2021-01-04T08:36:08Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.8.'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M3UA SGP Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M3UA SGP status. This can be done from either the Status menu or the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M3ua''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM3UA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M3UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_SGP_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M3UA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the M3UA status, select a value from '''Refresh Every'''.&lt;br /&gt;
* To view the M3UA SAPS, click the '''Saps''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- To view the status of an M3UA SAP, select an M3UA SAP.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The M3UA SAP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- To view the status of an M3UA Network, select an M3UA Network.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Select a userpart to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_7.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed status is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_8.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7- Select a PSP to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_9.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_A.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8- Select a PRSV to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_B.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_C.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_D.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9- Select a Route to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_E.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_F.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_G.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaIPSPStatus_A</id>
		<title>Toolpack:SIGTRAN M3uaIPSPStatus A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M3uaIPSPStatus_A"/>
				<updated>2021-01-04T08:35:38Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.8.'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M3UA IPSP Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M3UA IPSP status. This can be done from either the Status menu or the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M3ua''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM3UA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M3UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M3UA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the M3UA status, select a value from '''Refresh Every'''.&lt;br /&gt;
* To view the M3UA SAPS, click the '''Saps''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- To view the status of an M3UA SAP, select an M3UA SAP.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The M3UA SAP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- To view the status of an M3UA Network, select an M3UA Network.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Select a userpart to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_7.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed status is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_8.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7- Select a PSP to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_9.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSP status is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_A.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8- Select a PRSV to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_B.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_C.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed PSRV status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_D.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9- Select a Route to view its detailed status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_E.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example local)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_F.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Detailed Route status is displayed. (In this example remote)&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM3UA_G.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2paStatus_A</id>
		<title>Toolpack:SIGTRAN M2paStatus A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2paStatus_A"/>
				<updated>2021-01-04T08:34:53Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.8.'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M2PA Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M2PA status and to set a periodic refresh of the M2UA protocol stack. This is done from the Status menu and the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M2pa''' tab.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM2PA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M2UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M2PA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- The status of the M2PA SAPs is shown.&lt;br /&gt;
&lt;br /&gt;
*To configure a periodic refresh of the M2PA status, select a value from '''Refresh Every'''.&lt;br /&gt;
*Select '''Links''' to view Saps and Links status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- The M2PA SAPS links are shown.&lt;br /&gt;
* Select any SAP link to view further status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5-To view the SAP links, click the '''Links''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2paStatus_A</id>
		<title>Toolpack:SIGTRAN M2paStatus A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2paStatus_A"/>
				<updated>2021-01-04T08:34:18Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.8.'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M2PA Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M2PA status and to set a periodic refresh of the M2UA protocol stack. This is done from the Status menu and the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M2pa''' tab.&lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM2PA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M2UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M2PA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- The status of the M2PA SAPs is shown.&lt;br /&gt;
&lt;br /&gt;
*To configure a periodic refresh of the M2PA status, select a value from '''Refresh Every'''.&lt;br /&gt;
*Select '''Links''' to view Saps and Links status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- The M2PA SAPS links are shown.&lt;br /&gt;
* Select any SAP link to view further status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5-To view the SAP links, click the '''Links''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2paStatus_A</id>
		<title>Toolpack:SIGTRAN M2paStatus A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2paStatus_A"/>
				<updated>2021-01-04T08:34:00Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.8.'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M2PA Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M2PA status and to set a periodic refresh of the M2UA protocol stack. This is done from the Status menu and the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M2pa''' tab.&lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
[[Image:TabM2PA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M2UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M2PA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- The status of the M2PA SAPs is shown.&lt;br /&gt;
&lt;br /&gt;
*To configure a periodic refresh of the M2PA status, select a value from '''Refresh Every'''.&lt;br /&gt;
*Select '''Links''' to view Saps and Links status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- The M2PA SAPS links are shown.&lt;br /&gt;
* Select any SAP link to view further status.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5-To view the SAP links, click the '''Links''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2PA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2uaStatus_A</id>
		<title>Toolpack:SIGTRAN M2uaStatus A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2uaStatus_A"/>
				<updated>2021-01-04T08:32:42Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.8.'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M2UA Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M2UA status and to set a periodic refresh of the M2UA protocol stack. This is done from the Status menu and the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M2ua''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM2UA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic to pass through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M2UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M2UA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the M2UA status, select a value from '''Refresh Every'''.&lt;br /&gt;
* To view the SAP status select a SAP link.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- The SAP status is displayed&lt;br /&gt;
* To view the Clusters status, click the '''Clusters''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- Select an M2UA Cluster to view the status of its links and peers.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6- To view the status of the peers, select the '''Peers''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The status of the peers is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_7.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2uaStatus_A</id>
		<title>Toolpack:SIGTRAN M2uaStatus A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:SIGTRAN_M2uaStatus_A"/>
				<updated>2021-01-04T08:31:49Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Status menu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__FORCETOC__&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size: 132%;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00538a&amp;quot;&amp;gt;'''''Applies to version(s): v2.8.'''''&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:M2UA Status}}&lt;br /&gt;
&lt;br /&gt;
This article illustrates how to view M2UA status and to set a periodic refresh of the M2UA protocol stack. This is done from the Status menu and the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
===Status menu===&lt;br /&gt;
&lt;br /&gt;
1- Click '''Status''' in the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Status_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click the '''SIGTRAN M2ua''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:TabM2UA_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Note that SCTP is used as the Transport Layer for this protocol, if any firewall is sitting between Telcobridges device and Sigtran network, this firewall needs to be set to allow SCTP traffic passing through, and enabling the basic connectivity for sigtran link to be up &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The status of the M2UA protocol stack is displayed. &lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_0.png]]&lt;br /&gt;
&lt;br /&gt;
===Navigation Panel===&lt;br /&gt;
1- Click '''M2UA''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
2- Click the '''Status''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- To configure a periodic refresh of the M2UA status, select a value from '''Refresh Every'''.&lt;br /&gt;
* To view the SAP status select a SAP link.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_3.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4- The SAP status is displayed&lt;br /&gt;
* To view the Clusters status, click the '''Clusters''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_4.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- Select an M2UA Cluster to view the status of its links and peers.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_5.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6- To view the status of the peers, select the '''Peers''' tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_6.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The status of the peers is displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:StatusM2UA_7.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC_Troubleshooting</id>
		<title>FreeSBC Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC_Troubleshooting"/>
				<updated>2021-01-04T03:34:52Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* One Way Audio/ No Audio Problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:FreeSBC Troubleshooting Guide}}&lt;br /&gt;
&lt;br /&gt;
= Scheduling Problems =&lt;br /&gt;
You may see the SBC tab in the general status as yellow. When you select it:&amp;lt;br&amp;gt;&lt;br /&gt;
 Status -&amp;gt; SBC&lt;br /&gt;
You may see “Scheduling problem sbc list” with the hostname of the FreeSBC. If you select it, you may see “Scheduling problem alarm” set to “true”&amp;lt;br&amp;gt;&lt;br /&gt;
Status containing “scheduling” problem may point to: &lt;br /&gt;
*Non-dedicated (or not ‘pinned’) CPU [Open-stack]&lt;br /&gt;
*Not enough CPU reservation [Vmware]&lt;br /&gt;
*Memory is not dedicated to the Virtual Machine (VM)&lt;br /&gt;
*Too many active virtual machines fighting for resources on the host&lt;br /&gt;
*On KVM based installations (proxmox,virtmanager) CPU type must set to “host”&lt;br /&gt;
&lt;br /&gt;
You need to be sure other VMs are not taking resources from FreeSBC VM instance.&lt;br /&gt;
Follow requirements shown here: [[FreeSBC:Cloud:VmWare_Installation_A#Requirements|FreeSBC requirements]]&lt;br /&gt;
&lt;br /&gt;
[[Image:SBC_Status.png|400px| ]]&lt;br /&gt;
&lt;br /&gt;
= Registration Errors =&lt;br /&gt;
&lt;br /&gt;
== Endpoint sends the register request to FreeSBC however the FreeSBC is not forwarding it to the registrar ==&lt;br /&gt;
*Check if SIP domain configured correctly &amp;lt;br&amp;gt;&lt;br /&gt;
[[Toolpack:Creating_a_SIP_Domain_SBC_A|Creating a SIP domain]]&lt;br /&gt;
*Check the SIP domain Status. Be sure domain registrar can be reached by FreeSBC&lt;br /&gt;
  Go to Status -&amp;gt; SIP -&amp;gt; SIP Domain -&amp;gt; Status -&amp;gt; SIP Registration Domains&lt;br /&gt;
*Check if SIP client sends correct Domain name to FreeSBC. You can capture a SIP trace (see [[Toolpack_Debug_Application:Tbsigtrace|Signaling trace capture tool]] ) and use Wireshark to analyze the trace. Look at the “To:” SIP header: it must match what is in the Sıp Domain configuration of the FreeSBC.&lt;br /&gt;
&lt;br /&gt;
== FreeSBC forwards incoming registration messages to the registrar but registrar returns an error ==&lt;br /&gt;
&lt;br /&gt;
*Check if SIP domain configured with correct registrar setting&lt;br /&gt;
[[Toolpack:Creating_a_SIP_Registrar_SBC_A|Creating a SIP Registrar]]&lt;br /&gt;
*Check if Registrar NAP configured with a correct IP address&lt;br /&gt;
[[Toolpack:Allocating_a_SIP_Network_Access_Point_(NAP)_SBC_A|Allocating a SIP NAP]]&lt;br /&gt;
*Check if your client configured with the correct username and password&lt;br /&gt;
*Check the forwarding modes on FreeSBC, and select the correct one&lt;br /&gt;
===Forwarding Modes===&lt;br /&gt;
FreeSBC always modifies the contact URI in SIP register requests to remain on the path between SIP User Agents and registrars. FreeSBC supports two different SIP registration forwarding modes (i.e. &amp;quot;Contact Remapping&amp;quot; or &amp;quot;Contact Passthrough&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
*The &amp;quot;Contact Passthrough&amp;quot; forwarding mode makes the contact username portion of the Contact URI in SIP register requests to pass through unchanged.&lt;br /&gt;
*The &amp;quot;Contact Remapping&amp;quot; forwarding mode modifies the contact username portion of the Contact URI in SIP register requests and make it unique.&lt;br /&gt;
[[Image:Forwarding_Modes.png|400px| ]]&lt;br /&gt;
&lt;br /&gt;
===Forward original headers from incoming request ===&lt;br /&gt;
If your registrar wants to receive original headers from incoming requests, Forward the domain without any modification in From/To/Contact/P-Asserted-Identity SIP headers.  If you want to forward incoming SIP from/to header domain to the outgoing leg you need to upgrade your FreeSBC to the minimum Release 3.0.114.  With Release 3.0.114 we added forward_sip_domain script to our routing scripts.&lt;br /&gt;
&lt;br /&gt;
This filter is used to forward the domain name (or IP address and port) from the incoming call to the outgoing call, for the following SIP headers:&amp;lt;br&amp;gt;&lt;br /&gt;
* from (update call attribute :calling by appending :calling_sip_host and calling_sip_port)&amp;lt;br&amp;gt;&lt;br /&gt;
* to (update call attribute :called by appending :called_sip_host and called_sip_port)&amp;lt;br&amp;gt;&lt;br /&gt;
* P-asserted-identity (update call attribute :private_address by appending :private_address_sip_host and private_address_sip_port)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* To set up a Filter, the main script needs to be modified. The main script can be either simple_routing.rb, or any other script.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
First, go to the routing script section of the Web portal &lt;br /&gt;
&amp;lt;pre&amp;gt;Gateway -&amp;amp;gt; Routing scripts -&amp;amp;gt; Example Scripts -&amp;amp;gt; simple_routing.rb [Edit]&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Three things need to be added. At the start of the script:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;require 'forward_sip_domain' unless defined?(ForwardSipDomain)&amp;lt;/pre&amp;gt; &lt;br /&gt;
In the main class:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;include ForwardSipDomain&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
route_remap :method =&amp;gt; :forward_sip_domain&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
The final script will look like this (with possibly other filters also included):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require 'base_routing'&lt;br /&gt;
require 'forward_sip_domain' unless defined?(ForwardSipDomain)&lt;br /&gt;
&lt;br /&gt;
class SimpleRouting &amp;lt; BaseRouting&lt;br /&gt;
  include ForwardSipDomain&lt;br /&gt;
  &lt;br /&gt;
  route_match :call_field_name =&amp;gt; :called&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :calling&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :private_address&lt;br /&gt;
  &lt;br /&gt;
  route_match :call_field_name =&amp;gt; :nap&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :called, :route_field_name =&amp;gt; :remapped_called&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :calling, :route_field_name =&amp;gt; :remapped_calling&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :private_address, :route_field_name =&amp;gt; :remapped_private_address&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :nap, :route_field_name =&amp;gt; :remapped_nap&lt;br /&gt;
  route_remap :method =&amp;gt; :forward_sip_domain&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This script requires the routes to have a custom column named &amp;quot;forward_sip_domain&amp;quot;, type boolean. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Gateway -&amp;amp;gt; Routes -&amp;amp;gt; Create New Route Column&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Name''': forward_sip_domain&amp;lt;br&amp;gt;'''Type attributes''': boolean&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See FreeSBC uses case: [[FreeSBC:Remote_Workers|Remote Workers]]&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This script is coming as default after Rls. 3.0.116. You just need to set the forward_sip_domain route column as enabled.&lt;br /&gt;
&lt;br /&gt;
= One Way Audio/ No Audio Problems =&lt;br /&gt;
&lt;br /&gt;
* Can place a call, but one way or no audio&lt;br /&gt;
&lt;br /&gt;
One-way audio is a common VOIP problem. It is one of the most frequent support questions we receive. There are many possible causes;&lt;br /&gt;
&lt;br /&gt;
* Outdated firmware in routers, VOIP phones, Firewalls, etc. can cause one-way audio. Ensure you have the latest updates for all the devices in the call path.&lt;br /&gt;
* Firewall mistakenly blocking RTP, be sure firewalls configured correctly.&lt;br /&gt;
* Particularly if Network Address Translation (NAT) is involved in the call path, configuration of the various devices may be a problem. Please check the link for [[NAT]]&lt;br /&gt;
* Another reason for one way audio is having your system set to offering unsupported codecs within your other SIP systems.  &lt;br /&gt;
** Please check the following link for TB supported codecs [[Voice_codecs|Voice codecs]]&lt;br /&gt;
** Check if the codecs are configured correctly in the SDP [[Toolpack:Profile_SDP_Description|SDP Description]]&lt;br /&gt;
** Capture SIP and RTP traffic to see which codecs are used: [[VoIP_Ethernet_Capture_FreeSBC_A|FreeSBC VoIP Capture]]&lt;br /&gt;
* Just as each side of a call must send RTP within the same codec, each side must also have the same phase timing (or ptime value). See [[Toolpack:Profile_SDP_Description|SDP Description]] &lt;br /&gt;
* Configured RTP port ranges can cause a problem too. Check FreeSBC and endpoints (Clients, SIP Trunks) are using correct RTP ports. See [[Toolpack:Creating_an_IP_Port_Range_E|Creating an IP Port Range]]&lt;br /&gt;
* High one-way packet loss. If sufficient packet loss occurs in one direction on a call, that half of the conversion may break down, but not cause the entire call to drop. Packet loss can occur due to a number of reasons: &lt;br /&gt;
** High utilization on a link with no QoS. &lt;br /&gt;
** Misconfigured interface: Half-duplex or duplex mismatch.&lt;br /&gt;
** Underperforming network devices. &lt;br /&gt;
** Cabling faults.&lt;br /&gt;
* Wrong threshold configuration under SBC Advanced parameter can cause FreeSBC to block RTP-Audio by the firewall due to thresholds. You can see the following error in your call trace;&lt;br /&gt;
[[Image:data_path_errors.png|600px| ]]&amp;lt;br&amp;gt;&lt;br /&gt;
Please double check your thresholds configuration from;&lt;br /&gt;
&amp;lt;pre&amp;gt;SBC -&amp;amp;gt; Advanced parameters&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* For Two-way no audio, sometimes phone/phone system is behind the external firewall, user may find that if they just establish the call, two-way audio is fine, but if the call is placed on hold for certain time, and when resuming the call, there is no more two-way audio. This could be due to the external firewall is set to shutdown the RTP path after certain time of being idle (silence) as in the case of call on hold. The solution is to optimize this setting at external firewall to prevent it from shutting down the RTP over a reasonable or defined time.&lt;br /&gt;
&lt;br /&gt;
= Call Drops Problems = &lt;br /&gt;
My call dropped while I was talking, I might hear fast busy or just dead air.&lt;br /&gt;
&lt;br /&gt;
* Call dropping within the first minute – missing ACK in Invite. Check the NAT configuration. [[NAT]]&lt;br /&gt;
* Maximum Call time exceeded. Many service providers set a limit on the maximum duration for any call passing through their system. Double-check with your service provider.&lt;br /&gt;
&lt;br /&gt;
== Calls dropping at specific intervals (10 minutes, 30 minutes) ==&lt;br /&gt;
** Check the SIP session timers. [[SIP_session_timers|SIP Session timers]&lt;br /&gt;
** Uncheck “Use Session Timer” from SIP configuration.  SIP -&amp;gt; Select the name from SIP Configuration menu -&amp;gt; Session Timers&lt;br /&gt;
[[Image:Session_timers.png|600px| ]]&lt;br /&gt;
* Call dropping within the first minute – missing ACK in Invite. Check the NAT configuration. [[NAT]]&lt;br /&gt;
* Maximum Call time exceeded. Many service providers set a limit on the maximum duration for any call passing through their system. Double-check with your service provider.&lt;br /&gt;
&lt;br /&gt;
== Calls dropping because of Congestions ==&lt;br /&gt;
The calls can be dropped because of the congestion too. You can check the NAP status for congestions.&lt;br /&gt;
&lt;br /&gt;
[[Image:congestion.png|800px| ]]&lt;br /&gt;
&lt;br /&gt;
If you are receiving a congestion error, &lt;br /&gt;
* You first need to check the concurrent call counts. If your concurrent call count exceeded the license, you would have a congestion error. Please check your license.&lt;br /&gt;
* Check if you set any Call Rate Limiting in the NAP. Go to NAPS -&amp;gt; Select The NAP -&amp;gt; Advanced Parameters -&amp;gt; Call Rate Limiting&lt;br /&gt;
* For other congestion problems please contact support@telcobridges.com&lt;br /&gt;
&lt;br /&gt;
= Sub-optimal config sbc list warning =&lt;br /&gt;
&lt;br /&gt;
The reason for this is that some Nics (Azure, vmxnet3, e1000, ixgbe vf) report a RETA size of 0 while reporting multiple rx queues, meaning they can not support multiple CPUs. However TBRouter is not aware of this limit on those Nics then initiate the Cores on the Nics&lt;br /&gt;
&lt;br /&gt;
Please check the following link for how to solve this issue [[Toolpack: How to Get Rid of Sub Optimal]]&lt;br /&gt;
&lt;br /&gt;
= Log procedure for Signaling/Routing problems =&lt;br /&gt;
&lt;br /&gt;
* Set trace levels to 1 using by tbx_cli_tools_remote command&lt;br /&gt;
** Connect to ssh and use tbx_cli_tools_remote command&lt;br /&gt;
** Select the application&lt;br /&gt;
** Set the trace level to 1 by typing &amp;quot;T&amp;quot;&lt;br /&gt;
** When you finished the test call please disconnect from the application, press Escape twice.&lt;br /&gt;
** Do this for the gateway, tbsyslog, toolpack_engine applications.&lt;br /&gt;
** You can get more detail about how to use tbx_cli_tools_remote from the following link [[How_to_use_tbx_cli_tools_remote_program]]&lt;br /&gt;
* Run tbsigtrace capture. For more details please check the following link [[Toolpack_Debug_Application:Tbsigtrace]]&lt;br /&gt;
* Make a test call or simulate the problem&lt;br /&gt;
* Stop the tbsigtrace capture&lt;br /&gt;
* Export the call trace. For more details please check the following link [[Toolpack:Retrieving_Call_Trace_C]]&lt;br /&gt;
* Generate a tbreport for the date/time you made the test call For more details please check the following link [[TBReport]]&lt;br /&gt;
&lt;br /&gt;
= Log procedure for Voice/RTP problems =&lt;br /&gt;
&lt;br /&gt;
* Set trace levels to 1 using by tbx_cli_tools_remote command&lt;br /&gt;
** Connect to ssh and use tbx_cli_tools_remote command&lt;br /&gt;
** Select the application&lt;br /&gt;
** Set the trace level to 1 by typing &amp;quot;T&amp;quot;&lt;br /&gt;
** When you finished the test call please disconnect from the application, press Escape twice.&lt;br /&gt;
** Do this for the gateway, tbsyslog, toolpaack_engine, and tbrouter applications.&lt;br /&gt;
** You can get more detail about how to use tbx_cli_tools_remote from the following link [[How_to_use_tbx_cli_tools_remote_program]]&lt;br /&gt;
* Run tbrouter capture. For more details please check the following link [[VoIP_Ethernet_Capture_FreeSBC_A]]&lt;br /&gt;
* Make a test call or simulate the problem&lt;br /&gt;
* Stop the tbrouter capture&lt;br /&gt;
* Export the call trace. For more details please check the following link [[Toolpack:Retrieving_Call_Trace_C]]&lt;br /&gt;
* Generate a tbreport for the date/time you made the test call For more details please check the following link [[TBReport]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC_Troubleshooting</id>
		<title>FreeSBC Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC_Troubleshooting"/>
				<updated>2021-01-04T03:33:30Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* One Way Audio/ No Audio Problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:FreeSBC Troubleshooting Guide}}&lt;br /&gt;
&lt;br /&gt;
= Scheduling Problems =&lt;br /&gt;
You may see the SBC tab in the general status as yellow. When you select it:&amp;lt;br&amp;gt;&lt;br /&gt;
 Status -&amp;gt; SBC&lt;br /&gt;
You may see “Scheduling problem sbc list” with the hostname of the FreeSBC. If you select it, you may see “Scheduling problem alarm” set to “true”&amp;lt;br&amp;gt;&lt;br /&gt;
Status containing “scheduling” problem may point to: &lt;br /&gt;
*Non-dedicated (or not ‘pinned’) CPU [Open-stack]&lt;br /&gt;
*Not enough CPU reservation [Vmware]&lt;br /&gt;
*Memory is not dedicated to the Virtual Machine (VM)&lt;br /&gt;
*Too many active virtual machines fighting for resources on the host&lt;br /&gt;
*On KVM based installations (proxmox,virtmanager) CPU type must set to “host”&lt;br /&gt;
&lt;br /&gt;
You need to be sure other VMs are not taking resources from FreeSBC VM instance.&lt;br /&gt;
Follow requirements shown here: [[FreeSBC:Cloud:VmWare_Installation_A#Requirements|FreeSBC requirements]]&lt;br /&gt;
&lt;br /&gt;
[[Image:SBC_Status.png|400px| ]]&lt;br /&gt;
&lt;br /&gt;
= Registration Errors =&lt;br /&gt;
&lt;br /&gt;
== Endpoint sends the register request to FreeSBC however the FreeSBC is not forwarding it to the registrar ==&lt;br /&gt;
*Check if SIP domain configured correctly &amp;lt;br&amp;gt;&lt;br /&gt;
[[Toolpack:Creating_a_SIP_Domain_SBC_A|Creating a SIP domain]]&lt;br /&gt;
*Check the SIP domain Status. Be sure domain registrar can be reached by FreeSBC&lt;br /&gt;
  Go to Status -&amp;gt; SIP -&amp;gt; SIP Domain -&amp;gt; Status -&amp;gt; SIP Registration Domains&lt;br /&gt;
*Check if SIP client sends correct Domain name to FreeSBC. You can capture a SIP trace (see [[Toolpack_Debug_Application:Tbsigtrace|Signaling trace capture tool]] ) and use Wireshark to analyze the trace. Look at the “To:” SIP header: it must match what is in the Sıp Domain configuration of the FreeSBC.&lt;br /&gt;
&lt;br /&gt;
== FreeSBC forwards incoming registration messages to the registrar but registrar returns an error ==&lt;br /&gt;
&lt;br /&gt;
*Check if SIP domain configured with correct registrar setting&lt;br /&gt;
[[Toolpack:Creating_a_SIP_Registrar_SBC_A|Creating a SIP Registrar]]&lt;br /&gt;
*Check if Registrar NAP configured with a correct IP address&lt;br /&gt;
[[Toolpack:Allocating_a_SIP_Network_Access_Point_(NAP)_SBC_A|Allocating a SIP NAP]]&lt;br /&gt;
*Check if your client configured with the correct username and password&lt;br /&gt;
*Check the forwarding modes on FreeSBC, and select the correct one&lt;br /&gt;
===Forwarding Modes===&lt;br /&gt;
FreeSBC always modifies the contact URI in SIP register requests to remain on the path between SIP User Agents and registrars. FreeSBC supports two different SIP registration forwarding modes (i.e. &amp;quot;Contact Remapping&amp;quot; or &amp;quot;Contact Passthrough&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
*The &amp;quot;Contact Passthrough&amp;quot; forwarding mode makes the contact username portion of the Contact URI in SIP register requests to pass through unchanged.&lt;br /&gt;
*The &amp;quot;Contact Remapping&amp;quot; forwarding mode modifies the contact username portion of the Contact URI in SIP register requests and make it unique.&lt;br /&gt;
[[Image:Forwarding_Modes.png|400px| ]]&lt;br /&gt;
&lt;br /&gt;
===Forward original headers from incoming request ===&lt;br /&gt;
If your registrar wants to receive original headers from incoming requests, Forward the domain without any modification in From/To/Contact/P-Asserted-Identity SIP headers.  If you want to forward incoming SIP from/to header domain to the outgoing leg you need to upgrade your FreeSBC to the minimum Release 3.0.114.  With Release 3.0.114 we added forward_sip_domain script to our routing scripts.&lt;br /&gt;
&lt;br /&gt;
This filter is used to forward the domain name (or IP address and port) from the incoming call to the outgoing call, for the following SIP headers:&amp;lt;br&amp;gt;&lt;br /&gt;
* from (update call attribute :calling by appending :calling_sip_host and calling_sip_port)&amp;lt;br&amp;gt;&lt;br /&gt;
* to (update call attribute :called by appending :called_sip_host and called_sip_port)&amp;lt;br&amp;gt;&lt;br /&gt;
* P-asserted-identity (update call attribute :private_address by appending :private_address_sip_host and private_address_sip_port)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* To set up a Filter, the main script needs to be modified. The main script can be either simple_routing.rb, or any other script.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
First, go to the routing script section of the Web portal &lt;br /&gt;
&amp;lt;pre&amp;gt;Gateway -&amp;amp;gt; Routing scripts -&amp;amp;gt; Example Scripts -&amp;amp;gt; simple_routing.rb [Edit]&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
Three things need to be added. At the start of the script:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;require 'forward_sip_domain' unless defined?(ForwardSipDomain)&amp;lt;/pre&amp;gt; &lt;br /&gt;
In the main class:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;include ForwardSipDomain&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
route_remap :method =&amp;gt; :forward_sip_domain&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
The final script will look like this (with possibly other filters also included):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require 'base_routing'&lt;br /&gt;
require 'forward_sip_domain' unless defined?(ForwardSipDomain)&lt;br /&gt;
&lt;br /&gt;
class SimpleRouting &amp;lt; BaseRouting&lt;br /&gt;
  include ForwardSipDomain&lt;br /&gt;
  &lt;br /&gt;
  route_match :call_field_name =&amp;gt; :called&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :calling&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :private_address&lt;br /&gt;
  &lt;br /&gt;
  route_match :call_field_name =&amp;gt; :nap&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :called, :route_field_name =&amp;gt; :remapped_called&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :calling, :route_field_name =&amp;gt; :remapped_calling&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :private_address, :route_field_name =&amp;gt; :remapped_private_address&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :nap, :route_field_name =&amp;gt; :remapped_nap&lt;br /&gt;
  route_remap :method =&amp;gt; :forward_sip_domain&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This script requires the routes to have a custom column named &amp;quot;forward_sip_domain&amp;quot;, type boolean. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Gateway -&amp;amp;gt; Routes -&amp;amp;gt; Create New Route Column&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Name''': forward_sip_domain&amp;lt;br&amp;gt;'''Type attributes''': boolean&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See FreeSBC uses case: [[FreeSBC:Remote_Workers|Remote Workers]]&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This script is coming as default after Rls. 3.0.116. You just need to set the forward_sip_domain route column as enabled.&lt;br /&gt;
&lt;br /&gt;
= One Way Audio/ No Audio Problems =&lt;br /&gt;
&lt;br /&gt;
* Can place a call, but one way or no audio&lt;br /&gt;
&lt;br /&gt;
One-way audio is a common VOIP problem. It is one of the most frequent support questions we receive. There are many possible causes;&lt;br /&gt;
&lt;br /&gt;
* Outdated firmware in routers, VOIP phones, Firewalls, etc. can cause one-way audio. Ensure you have the latest updates for all the devices in the call path.&lt;br /&gt;
* Firewall mistakenly blocking RTP, be sure firewalls configured correctly.&lt;br /&gt;
* Particularly if Network Address Translation (NAT) is involved in the call path, configuration of the various devices may be a problem. Please check the link for [[NAT]]&lt;br /&gt;
* Another reason for one way audio is having your system set to offering unsupported codecs within your other SIP systems.  &lt;br /&gt;
** Please check the following link for TB supported codecs [[Voice_codecs|Voice codecs]]&lt;br /&gt;
** Check if the codecs are configured correctly in the SDP [[Toolpack:Profile_SDP_Description|SDP Description]]&lt;br /&gt;
** Capture SIP and RTP traffic to see which codecs are used: [[VoIP_Ethernet_Capture_FreeSBC_A|FreeSBC VoIP Capture]]&lt;br /&gt;
* Just as each side of a call must send RTP within the same codec, each side must also have the same phase timing (or ptime value). See [[Toolpack:Profile_SDP_Description|SDP Description]] &lt;br /&gt;
* Configured RTP port ranges can cause a problem too. Check FreeSBC and endpoints (Clients, SIP Trunks) are using correct RTP ports. See [[Toolpack:Creating_an_IP_Port_Range_E|Creating an IP Port Range]]&lt;br /&gt;
* High one-way packet loss. If sufficient packet loss occurs in one direction on a call, that half of the conversion may break down, but not cause the entire call to drop. Packet loss can occur due to a number of reasons: &lt;br /&gt;
** High utilization on a link with no QoS. &lt;br /&gt;
** Misconfigured interface: Half-duplex or duplex mismatch.&lt;br /&gt;
** Underperforming network devices. &lt;br /&gt;
** Cabling faults.&lt;br /&gt;
* Wrong threshold configuration under SBC Advanced parameter can cause FreeSBC to block RTP-Audio by the firewall due to thresholds. You can see the following error in your call trace;&lt;br /&gt;
[[Image:data_path_errors.png|600px| ]]&amp;lt;br&amp;gt;&lt;br /&gt;
Please double check your thresholds configuration from;&lt;br /&gt;
&amp;lt;pre&amp;gt;SBC -&amp;amp;gt; Advanced parameters&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* For Two-way no audio, sometimes phone/phone system is behind the firewall, user may find that if they just establish the call, two-way audio is fine, but if the call is placed on hold for certain time, and when resuming the call, there is no more two-way audio. This could be due to the the external firewall is set to shutdown the RTP path after certain time of being idle (silence) as in the case of call on hold. The solution is to optimize this setting at external firewall to prevent it from shutting down the RTP over a reasonable or defined time.&lt;br /&gt;
&lt;br /&gt;
= Call Drops Problems = &lt;br /&gt;
My call dropped while I was talking, I might hear fast busy or just dead air.&lt;br /&gt;
&lt;br /&gt;
* Call dropping within the first minute – missing ACK in Invite. Check the NAT configuration. [[NAT]]&lt;br /&gt;
* Maximum Call time exceeded. Many service providers set a limit on the maximum duration for any call passing through their system. Double-check with your service provider.&lt;br /&gt;
&lt;br /&gt;
== Calls dropping at specific intervals (10 minutes, 30 minutes) ==&lt;br /&gt;
** Check the SIP session timers. [[SIP_session_timers|SIP Session timers]&lt;br /&gt;
** Uncheck “Use Session Timer” from SIP configuration.  SIP -&amp;gt; Select the name from SIP Configuration menu -&amp;gt; Session Timers&lt;br /&gt;
[[Image:Session_timers.png|600px| ]]&lt;br /&gt;
* Call dropping within the first minute – missing ACK in Invite. Check the NAT configuration. [[NAT]]&lt;br /&gt;
* Maximum Call time exceeded. Many service providers set a limit on the maximum duration for any call passing through their system. Double-check with your service provider.&lt;br /&gt;
&lt;br /&gt;
== Calls dropping because of Congestions ==&lt;br /&gt;
The calls can be dropped because of the congestion too. You can check the NAP status for congestions.&lt;br /&gt;
&lt;br /&gt;
[[Image:congestion.png|800px| ]]&lt;br /&gt;
&lt;br /&gt;
If you are receiving a congestion error, &lt;br /&gt;
* You first need to check the concurrent call counts. If your concurrent call count exceeded the license, you would have a congestion error. Please check your license.&lt;br /&gt;
* Check if you set any Call Rate Limiting in the NAP. Go to NAPS -&amp;gt; Select The NAP -&amp;gt; Advanced Parameters -&amp;gt; Call Rate Limiting&lt;br /&gt;
* For other congestion problems please contact support@telcobridges.com&lt;br /&gt;
&lt;br /&gt;
= Sub-optimal config sbc list warning =&lt;br /&gt;
&lt;br /&gt;
The reason for this is that some Nics (Azure, vmxnet3, e1000, ixgbe vf) report a RETA size of 0 while reporting multiple rx queues, meaning they can not support multiple CPUs. However TBRouter is not aware of this limit on those Nics then initiate the Cores on the Nics&lt;br /&gt;
&lt;br /&gt;
Please check the following link for how to solve this issue [[Toolpack: How to Get Rid of Sub Optimal]]&lt;br /&gt;
&lt;br /&gt;
= Log procedure for Signaling/Routing problems =&lt;br /&gt;
&lt;br /&gt;
* Set trace levels to 1 using by tbx_cli_tools_remote command&lt;br /&gt;
** Connect to ssh and use tbx_cli_tools_remote command&lt;br /&gt;
** Select the application&lt;br /&gt;
** Set the trace level to 1 by typing &amp;quot;T&amp;quot;&lt;br /&gt;
** When you finished the test call please disconnect from the application, press Escape twice.&lt;br /&gt;
** Do this for the gateway, tbsyslog, toolpack_engine applications.&lt;br /&gt;
** You can get more detail about how to use tbx_cli_tools_remote from the following link [[How_to_use_tbx_cli_tools_remote_program]]&lt;br /&gt;
* Run tbsigtrace capture. For more details please check the following link [[Toolpack_Debug_Application:Tbsigtrace]]&lt;br /&gt;
* Make a test call or simulate the problem&lt;br /&gt;
* Stop the tbsigtrace capture&lt;br /&gt;
* Export the call trace. For more details please check the following link [[Toolpack:Retrieving_Call_Trace_C]]&lt;br /&gt;
* Generate a tbreport for the date/time you made the test call For more details please check the following link [[TBReport]]&lt;br /&gt;
&lt;br /&gt;
= Log procedure for Voice/RTP problems =&lt;br /&gt;
&lt;br /&gt;
* Set trace levels to 1 using by tbx_cli_tools_remote command&lt;br /&gt;
** Connect to ssh and use tbx_cli_tools_remote command&lt;br /&gt;
** Select the application&lt;br /&gt;
** Set the trace level to 1 by typing &amp;quot;T&amp;quot;&lt;br /&gt;
** When you finished the test call please disconnect from the application, press Escape twice.&lt;br /&gt;
** Do this for the gateway, tbsyslog, toolpaack_engine, and tbrouter applications.&lt;br /&gt;
** You can get more detail about how to use tbx_cli_tools_remote from the following link [[How_to_use_tbx_cli_tools_remote_program]]&lt;br /&gt;
* Run tbrouter capture. For more details please check the following link [[VoIP_Ethernet_Capture_FreeSBC_A]]&lt;br /&gt;
* Make a test call or simulate the problem&lt;br /&gt;
* Stop the tbrouter capture&lt;br /&gt;
* Export the call trace. For more details please check the following link [[Toolpack:Retrieving_Call_Trace_C]]&lt;br /&gt;
* Generate a tbreport for the date/time you made the test call For more details please check the following link [[TBReport]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:Hosted_PBX:Configuration_A</id>
		<title>FreeSBC:Hosted PBX:Configuration A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:Hosted_PBX:Configuration_A"/>
				<updated>2020-10-21T08:40:57Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* SBC Use Cases */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Hosted PBX:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example Configuration  provides you with a step by step Hosted PBX Configuration of [[FreeSBC|FreeSbc]] systems, using the Web Portal configuration tool. Complete general installation configuration steps, before you begin configuring your specific scenario.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBX Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
[[FreeSBC|FreeSBC]] devices must be installed as described in their respective [[Product_Installation_SBC|installation guides]].&lt;br /&gt;
&lt;br /&gt;
=IP Network Configuration= &lt;br /&gt;
 &lt;br /&gt;
==Virtual Port Configuration for Wide Area Network==&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:Create Voip Interface_Tsbc_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_Create.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_WAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Create a VLAN that uses this virtual port&lt;br /&gt;
*Click '''Create new Host VLAN'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Configure the new VLAN&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the VLAN&lt;br /&gt;
*If the port is to be used untagged, make sure '''Untagged''' is checked. &lt;br /&gt;
*If the port is to be used with a 802.1Q tag, uncheck '''Untagged''' and enter a VLAN ID. &lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN_Interface_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN_Interface_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Virtual Port Configuration for Local Area Network==&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:Create Voip Interface_Tsbc_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. 2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_Create_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Create a VLAN that uses this virtual port&lt;br /&gt;
*Click '''Create new Host VLAN'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Configure the new VLAN&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the VLAN&lt;br /&gt;
*If the port is to be used untagged, make sure '''Untagged''' is checked. &lt;br /&gt;
*If the port is to be used with a 802.1Q tag, uncheck '''Untagged''' and enter a VLAN ID. &lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN_Interface_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN_Interface_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuring IP Interface for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_Interface_Tsbc_0.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_if_WAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure the IP interface: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select 1 or more services to use for the IP interface (RTP and SIP).&lt;br /&gt;
*Select the '''Host VLAN''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IPif_WAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuring IP Interface for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_Interface_Tsbc_0.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IPif_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure the IP interface: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select 1 or more services to use for the IP interface (RTP and SIP).&lt;br /&gt;
*Select the '''Host VLAN''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_if_LAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=SIP Stack Configuration= &lt;br /&gt;
&lt;br /&gt;
You must configure SIP signaling for your system. The first step in doing so is to create a SIP stack:&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Sip'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP stack:&lt;br /&gt;
&lt;br /&gt;
* Verify that the box labeled '''Enabled''' is checked&lt;br /&gt;
* Enter a '''name''' for the stack&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_SIP_Stack.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP Transport Server Configuration for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Select a SIP stack for which you wish to create a transport server&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Config_List.png]]&lt;br /&gt;
&lt;br /&gt;
3- Click '''Create New Transport Server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Create the new SIP transport server:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the server&lt;br /&gt;
* Select an appropriate '''port type'''&lt;br /&gt;
* Select an appropriate host '''IP interface'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer1.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP Transport Server Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Select a SIP stack for which you wish to create a transport server&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Config_List.png]]&lt;br /&gt;
&lt;br /&gt;
3- Click '''Create New Transport Server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Create the new SIP transport server:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the server&lt;br /&gt;
* Select an appropriate '''port type'''&lt;br /&gt;
* Select an appropriate host '''IP interface'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:LAN_SIP_TransportServer1.png]]&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''WAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Disable proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_NoProxy.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7- Enter full access in the access control list&lt;br /&gt;
&lt;br /&gt;
* Enter an '''IP/MASK''' (use 0.0.0.0/0 to accept any addresses)&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to add in the list of Access Control&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_ACL.png]]&lt;br /&gt;
&lt;br /&gt;
8- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''WAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
9 - Configure settings for the following parameter groups as required:&lt;br /&gt;
*Check '''Accept only authorized users''' option. With this option unchecked, FreeSBC will forward any INVITEs sent to the &amp;quot;Open NAP&amp;quot; to the PBX without first authenticating the user.&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_4_21.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
[[FreeSBC: Multiple Domains/Hosted PBXs Configuration|Multiple Domains/PBXs scenario]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:Hosted_PBX:Configuration_A</id>
		<title>FreeSBC:Hosted PBX:Configuration A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:Hosted_PBX:Configuration_A"/>
				<updated>2020-10-21T08:40:43Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* SBC Use Cases */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Hosted PBX:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example Configuration  provides you with a step by step Hosted PBX Configuration of [[FreeSBC|FreeSbc]] systems, using the Web Portal configuration tool. Complete general installation configuration steps, before you begin configuring your specific scenario.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBX Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
[[FreeSBC|FreeSBC]] devices must be installed as described in their respective [[Product_Installation_SBC|installation guides]].&lt;br /&gt;
&lt;br /&gt;
=IP Network Configuration= &lt;br /&gt;
 &lt;br /&gt;
==Virtual Port Configuration for Wide Area Network==&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:Create Voip Interface_Tsbc_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_Create.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_WAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Create a VLAN that uses this virtual port&lt;br /&gt;
*Click '''Create new Host VLAN'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Configure the new VLAN&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the VLAN&lt;br /&gt;
*If the port is to be used untagged, make sure '''Untagged''' is checked. &lt;br /&gt;
*If the port is to be used with a 802.1Q tag, uncheck '''Untagged''' and enter a VLAN ID. &lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN_Interface_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN_Interface_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Virtual Port Configuration for Local Area Network==&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:Create Voip Interface_Tsbc_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. 2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_Create_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Create a VLAN that uses this virtual port&lt;br /&gt;
*Click '''Create new Host VLAN'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Configure the new VLAN&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the VLAN&lt;br /&gt;
*If the port is to be used untagged, make sure '''Untagged''' is checked. &lt;br /&gt;
*If the port is to be used with a 802.1Q tag, uncheck '''Untagged''' and enter a VLAN ID. &lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN_Interface_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN_Interface_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuring IP Interface for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_Interface_Tsbc_0.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_if_WAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure the IP interface: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select 1 or more services to use for the IP interface (RTP and SIP).&lt;br /&gt;
*Select the '''Host VLAN''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IPif_WAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuring IP Interface for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_Interface_Tsbc_0.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IPif_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure the IP interface: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select 1 or more services to use for the IP interface (RTP and SIP).&lt;br /&gt;
*Select the '''Host VLAN''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_if_LAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=SIP Stack Configuration= &lt;br /&gt;
&lt;br /&gt;
You must configure SIP signaling for your system. The first step in doing so is to create a SIP stack:&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Sip'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP stack:&lt;br /&gt;
&lt;br /&gt;
* Verify that the box labeled '''Enabled''' is checked&lt;br /&gt;
* Enter a '''name''' for the stack&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_SIP_Stack.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP Transport Server Configuration for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Select a SIP stack for which you wish to create a transport server&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Config_List.png]]&lt;br /&gt;
&lt;br /&gt;
3- Click '''Create New Transport Server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Create the new SIP transport server:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the server&lt;br /&gt;
* Select an appropriate '''port type'''&lt;br /&gt;
* Select an appropriate host '''IP interface'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer1.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP Transport Server Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Select a SIP stack for which you wish to create a transport server&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Config_List.png]]&lt;br /&gt;
&lt;br /&gt;
3- Click '''Create New Transport Server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Create the new SIP transport server:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the server&lt;br /&gt;
* Select an appropriate '''port type'''&lt;br /&gt;
* Select an appropriate host '''IP interface'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:LAN_SIP_TransportServer1.png]]&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''WAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Disable proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_NoProxy.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7- Enter full access in the access control list&lt;br /&gt;
&lt;br /&gt;
* Enter an '''IP/MASK''' (use 0.0.0.0/0 to accept any addresses)&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to add in the list of Access Control&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_ACL.png]]&lt;br /&gt;
&lt;br /&gt;
8- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''WAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
9 - Configure settings for the following parameter groups as required:&lt;br /&gt;
*Check '''Accept only authorized users''' option. With this option unchecked, FreeSBC will forward any INVITEs sent to the &amp;quot;Open NAP&amp;quot; to the PBX without first authenticating the user.&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_4_21.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
[[FreeSBC: Multiple Domains/Hosted PBXs Configuration|Multiple Domains/PBXs scenario]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:Hosted_PBX:Configuration_A</id>
		<title>FreeSBC:Hosted PBX:Configuration A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:Hosted_PBX:Configuration_A"/>
				<updated>2020-10-21T08:40:08Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* SBC Use Cases */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Hosted PBX:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example Configuration  provides you with a step by step Hosted PBX Configuration of [[FreeSBC|FreeSbc]] systems, using the Web Portal configuration tool. Complete general installation configuration steps, before you begin configuring your specific scenario.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBX Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
[[FreeSBC|FreeSBC]] devices must be installed as described in their respective [[Product_Installation_SBC|installation guides]].&lt;br /&gt;
&lt;br /&gt;
=IP Network Configuration= &lt;br /&gt;
 &lt;br /&gt;
==Virtual Port Configuration for Wide Area Network==&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:Create Voip Interface_Tsbc_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_Create.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_WAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Create a VLAN that uses this virtual port&lt;br /&gt;
*Click '''Create new Host VLAN'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Configure the new VLAN&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the VLAN&lt;br /&gt;
*If the port is to be used untagged, make sure '''Untagged''' is checked. &lt;br /&gt;
*If the port is to be used with a 802.1Q tag, uncheck '''Untagged''' and enter a VLAN ID. &lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN_Interface_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN_Interface_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Virtual Port Configuration for Local Area Network==&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:Create Voip Interface_Tsbc_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. 2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_Create_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Create a VLAN that uses this virtual port&lt;br /&gt;
*Click '''Create new Host VLAN'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Configure the new VLAN&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the VLAN&lt;br /&gt;
*If the port is to be used untagged, make sure '''Untagged''' is checked. &lt;br /&gt;
*If the port is to be used with a 802.1Q tag, uncheck '''Untagged''' and enter a VLAN ID. &lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN_Interface_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN_Interface_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuring IP Interface for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_Interface_Tsbc_0.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_if_WAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure the IP interface: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select 1 or more services to use for the IP interface (RTP and SIP).&lt;br /&gt;
*Select the '''Host VLAN''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IPif_WAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuring IP Interface for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_Interface_Tsbc_0.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IPif_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure the IP interface: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select 1 or more services to use for the IP interface (RTP and SIP).&lt;br /&gt;
*Select the '''Host VLAN''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_if_LAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=SIP Stack Configuration= &lt;br /&gt;
&lt;br /&gt;
You must configure SIP signaling for your system. The first step in doing so is to create a SIP stack:&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Sip'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP stack:&lt;br /&gt;
&lt;br /&gt;
* Verify that the box labeled '''Enabled''' is checked&lt;br /&gt;
* Enter a '''name''' for the stack&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_SIP_Stack.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP Transport Server Configuration for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Select a SIP stack for which you wish to create a transport server&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Config_List.png]]&lt;br /&gt;
&lt;br /&gt;
3- Click '''Create New Transport Server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Create the new SIP transport server:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the server&lt;br /&gt;
* Select an appropriate '''port type'''&lt;br /&gt;
* Select an appropriate host '''IP interface'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer1.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP Transport Server Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Select a SIP stack for which you wish to create a transport server&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Config_List.png]]&lt;br /&gt;
&lt;br /&gt;
3- Click '''Create New Transport Server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Create the new SIP transport server:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the server&lt;br /&gt;
* Select an appropriate '''port type'''&lt;br /&gt;
* Select an appropriate host '''IP interface'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:LAN_SIP_TransportServer1.png]]&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''WAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Disable proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_NoProxy.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7- Enter full access in the access control list&lt;br /&gt;
&lt;br /&gt;
* Enter an '''IP/MASK''' (use 0.0.0.0/0 to accept any addresses)&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to add in the list of Access Control&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_ACL.png]]&lt;br /&gt;
&lt;br /&gt;
8- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''WAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
9 - Configure settings for the following parameter groups as required:&lt;br /&gt;
*Check '''Accept only authorized users''' option. With this option unchecked, FreeSBC will forward any INVITEs sent to the &amp;quot;Open NAP&amp;quot; to the PBX without first authenticating the user.&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_4_21.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
[[FreeSBC: Multiple Domains/Hosted PBXs Configuration|Multiple Domains/PBXs scenario]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:Hosted_PBX:Configuration_A</id>
		<title>FreeSBC:Hosted PBX:Configuration A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:Hosted_PBX:Configuration_A"/>
				<updated>2020-10-21T08:39:42Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* SBC Use Cases */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Hosted PBX:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example Configuration  provides you with a step by step Hosted PBX Configuration of [[FreeSBC|FreeSbc]] systems, using the Web Portal configuration tool. Complete general installation configuration steps, before you begin configuring your specific scenario.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBX Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
[[FreeSBC|FreeSBC]] devices must be installed as described in their respective [[Product_Installation_SBC|installation guides]].&lt;br /&gt;
&lt;br /&gt;
=IP Network Configuration= &lt;br /&gt;
 &lt;br /&gt;
==Virtual Port Configuration for Wide Area Network==&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:Create Voip Interface_Tsbc_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_Create.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_WAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Create a VLAN that uses this virtual port&lt;br /&gt;
*Click '''Create new Host VLAN'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Configure the new VLAN&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the VLAN&lt;br /&gt;
*If the port is to be used untagged, make sure '''Untagged''' is checked. &lt;br /&gt;
*If the port is to be used with a 802.1Q tag, uncheck '''Untagged''' and enter a VLAN ID. &lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN_Interface_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_WAN_Interface_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Virtual Port Configuration for Local Area Network==&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:Create Voip Interface_Tsbc_0.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. 2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_Create_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_VP_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Create a VLAN that uses this virtual port&lt;br /&gt;
*Click '''Create new Host VLAN'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Configure the new VLAN&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the VLAN&lt;br /&gt;
*If the port is to be used untagged, make sure '''Untagged''' is checked. &lt;br /&gt;
*If the port is to be used with a 802.1Q tag, uncheck '''Untagged''' and enter a VLAN ID. &lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN_Interface_1.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_Vlan_LAN_Interface_2.png]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuring IP Interface for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_Interface_Tsbc_0.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_if_WAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure the IP interface: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select 1 or more services to use for the IP interface (RTP and SIP).&lt;br /&gt;
*Select the '''Host VLAN''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IPif_WAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuring IP Interface for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_Interface_Tsbc_0.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IPif_LAN.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure the IP interface: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select 1 or more services to use for the IP interface (RTP and SIP).&lt;br /&gt;
*Select the '''Host VLAN''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_IP_if_LAN_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=SIP Stack Configuration= &lt;br /&gt;
&lt;br /&gt;
You must configure SIP signaling for your system. The first step in doing so is to create a SIP stack:&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Sip'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP stack:&lt;br /&gt;
&lt;br /&gt;
* Verify that the box labeled '''Enabled''' is checked&lt;br /&gt;
* Enter a '''name''' for the stack&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Trunking_SIP_Stack.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP Transport Server Configuration for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Select a SIP stack for which you wish to create a transport server&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Config_List.png]]&lt;br /&gt;
&lt;br /&gt;
3- Click '''Create New Transport Server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Create the new SIP transport server:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the server&lt;br /&gt;
* Select an appropriate '''port type'''&lt;br /&gt;
* Select an appropriate host '''IP interface'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer1.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP Transport Server Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Select a SIP stack for which you wish to create a transport server&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Config_List.png]]&lt;br /&gt;
&lt;br /&gt;
3- Click '''Create New Transport Server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:WAN_SIP_TransportServer.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Create the new SIP transport server:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the server&lt;br /&gt;
* Select an appropriate '''port type'''&lt;br /&gt;
* Select an appropriate host '''IP interface'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:LAN_SIP_TransportServer1.png]]&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Wide Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''WAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Disable proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_NoProxy.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7- Enter full access in the access control list&lt;br /&gt;
&lt;br /&gt;
* Enter an '''IP/MASK''' (use 0.0.0.0/0 to accept any addresses)&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to add in the list of Access Control&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_ACL.png]]&lt;br /&gt;
&lt;br /&gt;
8- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''WAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
9 - Configure settings for the following parameter groups as required:&lt;br /&gt;
*Check '''Accept only authorized users''' option. With this option unchecked, FreeSBC will forward any INVITEs sent to the &amp;quot;Open NAP&amp;quot; to the PBX without first authenticating the user.&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:Open_NAP_Create_4_21.png]]&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
[[FreeSBC: Multiple Domains/Hosted PBXs Configuration|Multiple Domains/PBXs scenario]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T08:37:42Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Route Configuration for SIP Server to Remote Phones */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 (instead of SIP_SERVER_NAP) for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Different Registrars need to be created, so do the above steps for SIP_Registrar_1 for example1.com and choose NAP_PBX1 (192.168.1.10),  SIP_Registrar_2 for example2.com and choose NAP_PBX2 (192.168.1.11), and SIP_Registrar_3 for example3.com and choose NAP_PBX3 (192.168.1.12).&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
* For each domain, for example, example1.com, choose OPEN_NAP and NAP_PBX1, and for example2.com, choose OPEN_NAP and NAP_PBX2, and so on.&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
5- Here, we are creating 3 pairs of route entry from above for 3 domains. In order for Registration/call to terminate correctly to the right NAP/PBX/Registrar, we need to set some condition to match specifically the registration/call&lt;br /&gt;
&lt;br /&gt;
* for incoming call belonging to example1.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example1.com/&lt;br /&gt;
* for incoming call belonging to example2.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example2.com/&lt;br /&gt;
* for incoming call belonging to example2.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example2.com/&lt;br /&gt;
&lt;br /&gt;
[[Image:Multiple domains routes.png|800px|]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T08:36:25Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Route Configuration for SIP Server to Remote Phones */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 (instead of SIP_SERVER_NAP) for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Different Registrars need to be created, so do the above steps for SIP_Registrar_1 for example1.com and choose NAP_PBX1 (192.168.1.10),  SIP_Registrar_2 for example2.com and choose NAP_PBX2 (192.168.1.11), and SIP_Registrar_3 for example3.com and choose NAP_PBX3 (192.168.1.12).&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
* For each domain, for example, example1.com, choose OPEN_NAP and NAP_PBX1, and for example2.com, choose OPEN_NAP and NAP_PBX2, and so on.&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
5- Here, we are creating 3 pairs of route entry from above for 3 domains. In order for Registration/call to terminate correctly to the right NAP/PBX/Registrar, we need to set some condition to match specifically the registration/call&lt;br /&gt;
&lt;br /&gt;
* for incoming call belonging to example1.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example1.com/&lt;br /&gt;
* for incoming call belonging to example2.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example2.com/&lt;br /&gt;
* for incoming call belonging to example2.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example2.com/&lt;br /&gt;
&lt;br /&gt;
[[Image:Multiple domains routes.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:Multiple_domains_routes.png</id>
		<title>File:Multiple domains routes.png</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:Multiple_domains_routes.png"/>
				<updated>2020-10-21T08:34:45Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T08:12:23Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Route Configuration for SIP Server to Remote Phones */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 (instead of SIP_SERVER_NAP) for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Different Registrars need to be created, so do the above steps for SIP_Registrar_1 for example1.com and choose NAP_PBX1 (192.168.1.10),  SIP_Registrar_2 for example2.com and choose NAP_PBX2 (192.168.1.11), and SIP_Registrar_3 for example3.com and choose NAP_PBX3 (192.168.1.12).&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
* For each domain, for example, example1.com, choose OPEN_NAP and NAP_PBX1, and for example2.com, choose OPEN_NAP and NAP_PBX2, and so on.&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
5- Here, we are creating 3 pairs of route entry from above for 3 domains. In order for Registration/call to terminate correctly to the right NAP/PBX/Registrar, we need to set some condition to match specifically the registration/call&lt;br /&gt;
&lt;br /&gt;
* for incoming call belonging to example1.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example1.com/&lt;br /&gt;
* for incoming call belonging to example2.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example2.com/&lt;br /&gt;
* for incoming call belonging to example2.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example2.com/&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T08:09:24Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Route Configuration for SIP Server to Remote Phones */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 (instead of SIP_SERVER_NAP) for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Different Registrars need to be created, so do the above steps for SIP_Registrar_1 for example1.com and choose NAP_PBX1 (192.168.1.10),  SIP_Registrar_2 for example2.com and choose NAP_PBX2 (192.168.1.11), and SIP_Registrar_3 for example3.com and choose NAP_PBX3 (192.168.1.12).&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
* For each domain, for example, example1.com, choose OPEN_NAP and NAP_PBX1, and for example2.com, choose OPEN_NAP and NAP_PBX2, and so on.&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
5- Here, we are creating 1 route entry for each domain, in total of 3 routes in this example for incoming call from OPEN_NAP. In order for Registration/call to terminate correctly to the right NAP/PBX/Registrar, we need to set some condition to match specifically the registration/call&lt;br /&gt;
&lt;br /&gt;
* for incoming call belonging to example1.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example1.com/&lt;br /&gt;
* for incoming call belonging to example2.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example2.com/&lt;br /&gt;
* for incoming call belonging to example2.com, on the route &amp;quot;called&amp;quot; field, can input /^([0-9]*)@example2.com/&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:59:22Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* SIP NAP Configuration for Local Area Network */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 (instead of SIP_SERVER_NAP) for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Different Registrars need to be created, so do the above steps for SIP_Registrar_1 for example1.com and choose NAP_PBX1 (192.168.1.10),  SIP_Registrar_2 for example2.com and choose NAP_PBX2 (192.168.1.11), and SIP_Registrar_3 for example3.com and choose NAP_PBX3 (192.168.1.12).&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
* For each domain, for example, example1.com, choose OPEN_NAP and NAP_PBX1, and for example2.com, choose OPEN_NAP and NAP_PBX2, and so on.&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:56:27Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Associate a SIP Domain with the new NAP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Different Registrars need to be created, so do the above steps for SIP_Registrar_1 for example1.com and choose NAP_PBX1 (192.168.1.10),  SIP_Registrar_2 for example2.com and choose NAP_PBX2 (192.168.1.11), and SIP_Registrar_3 for example3.com and choose NAP_PBX3 (192.168.1.12).&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
* For each domain, for example, example1.com, choose OPEN_NAP and NAP_PBX1, and for example2.com, choose OPEN_NAP and NAP_PBX2, and so on.&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:52:56Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Create New SIP Registration Registrar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Different Registrars need to be created, so do the above steps for SIP_Registrar_1 for example1.com and choose NAP_PBX1 (192.168.1.10),  SIP_Registrar_2 for example2.com and choose NAP_PBX2 (192.168.1.11), and SIP_Registrar_3 for example3.com and choose NAP_PBX3 (192.168.1.12).&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:49:25Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Create New SIP Registration Registrar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Here, different Registrars need to be created, so repeat the above steps for SIP_Registrar_1 for example1.com and choose NAP_PBX1 (192.168.1.10),  SIP_Registrar_2 for example2.com and choose NAP_PBX2 (192.168.1.11), and SIP_Registrar_3 for example3.com and choose NAP_PBX3 (192.168.1.12).&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:46:34Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Create New SIP Registration Registrar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Here, different Registrars need to be created, so repeat the above steps for SIP_Registrar_1 for example1.com,  SIP_Registrar_2 for example2.com, and SIP_Registrar_3 for example3.com.&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:44:12Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Create New SIP Registration Registrar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Here, different Registrars need to be created. These represent Registrar-1 for 192.168.1.10,  Registrar-2 for 192.168.1.11, and Registrar-3 for 192.168.1.12&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:39:58Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Create New SIP Registration Domain */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6- Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:33:31Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Access Control List */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will be accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:32:52Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Access Control List */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10, 192.168.1.11, 192.168.1.12 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:32:02Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* SIP NAP Configuration for Local Area Network */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12) and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:30:39Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* SIP NAP Configuration for Local Area Network */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1 (192.168.1.10), NAP_PBX2 for PBX2 (192.168.1.11), and NAP_PBX3 for PBX3 (192.168.1.12)and so on if more.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:29:04Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* SIP NAP Configuration for Local Area Network */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
* Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1, NAP_PBX2 for PBX2, and so on.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:27:45Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* Hosted PBXs Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1, NAP_PBX2 for PBX2, and so on.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:27:10Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0, 3.1''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1, NAP_PBX2 for PBX2, and so on.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration</id>
		<title>FreeSBC: Multiple Domains/Hosted PBXs Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/FreeSBC:_Multiple_Domains/Hosted_PBXs_Configuration"/>
				<updated>2020-10-21T07:26:44Z</updated>
		
		<summary type="html">&lt;p&gt;William Wong: /* SIP NAP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version: v3.0''''' ===&lt;br /&gt;
&lt;br /&gt;
{{DISPLAYTITLE:FreeSBC:Multiple Domains/Hosted PBXs Configuration:Example}}&lt;br /&gt;
=Introduction=&lt;br /&gt;
FreeSBC Hosted PBX Example (see [[FreeSBC:Hosted PBX:Configuration A|FreeSBC:Hosted PBX]])  provides a step by step Hosted PBX Configuration of [[FreeSBC|FreeSBC]] systems, using the Web Portal configuration tool. What will be discussed here, with guide for example configuration, is when there are multiple domains per PBX or several PBXs with different domains. This multiple domains/PBXs configuration is basically the extension of what is configured in single domain/hosted PBX, that including the setting of different domains, followed by specific routing for different domain destinations.&lt;br /&gt;
&lt;br /&gt;
=Hosted PBXs Example=&lt;br /&gt;
&lt;br /&gt;
[[Image:Hosted_Multiple_PBX_topo_1.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From above, there will be several Hosted PBXs like Hosted PBX1, Hosted PBX2, Hosted PBX3, etc. And each Hosted PBX will use its own domain like example1.com for PBX1, example2.com for PBX2, and so on. This multiple domain scenario can also be applied to single Hosted PBX with different several domains that will be using the similar configuration.&lt;br /&gt;
&lt;br /&gt;
With external path over the WAN, different phones belonging to different Hosted PBXs register to domain corresponding to the PBX/Registrar the phone is subscribing to.&lt;br /&gt;
&lt;br /&gt;
Prerequisites and below configuration sections need to be done as listed in [[FreeSBC:Hosted PBX:Configuration A|single Hosted PBX configuration]] before proceeding:&lt;br /&gt;
&lt;br /&gt;
* IP Network Configuration&lt;br /&gt;
* SIP Stack Configuration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=SIP NAP=&lt;br /&gt;
&lt;br /&gt;
A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy, SIP trunk, etc)&lt;br /&gt;
&lt;br /&gt;
==SIP NAP Configuration for Local Area Network==&lt;br /&gt;
&lt;br /&gt;
To create a new NAP:&lt;br /&gt;
&lt;br /&gt;
1- Click '''NAPs''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:NAP_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New NAP'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''name''' for the NAP&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''NAP was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_NAP_SIP2.png]]&lt;br /&gt;
&lt;br /&gt;
5- Associate a SIP transport server with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''SIP Transport Server''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the '''LAN_SIP_TS''' with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_1.png]]&lt;br /&gt;
&lt;br /&gt;
6- Enter SIP Server proxy address:&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_2.png]]&lt;br /&gt;
&lt;br /&gt;
7- Associate a Port range with the new NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''port range''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate '''LAN_Vlan:0''' Port range with the NAP&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_3.png]]&lt;br /&gt;
&lt;br /&gt;
9- Configure settings for the following parameter groups as required:&lt;br /&gt;
*Registration Parameters&lt;br /&gt;
*Authentication Parameters&lt;br /&gt;
*Network Address Translation&lt;br /&gt;
*SIP-I Parameters&lt;br /&gt;
*Advanced Parameters&lt;br /&gt;
&lt;br /&gt;
*Click '''Save''' &lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Server_NAP_Create_4.png]]&lt;br /&gt;
&lt;br /&gt;
Here, we need to repeat above steps and create NAP for every Hosted PBX, for example, NAP_PBX1 for PBX1, NAP_PBX2 for PBX2, and so on.&lt;br /&gt;
&lt;br /&gt;
==Access Control List==&lt;br /&gt;
&lt;br /&gt;
FreeSBC will automatically create Access Control List for each NAP you created.&lt;br /&gt;
&lt;br /&gt;
[[Image:Remote_Workers_Access_Control_List_1.png]]&lt;br /&gt;
&lt;br /&gt;
If you double-click one of the created ACL, you will see FreeSBC only accept the calls if source IP matches. In this sample; the calls from 192.168.1.10 will accepted only.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Access_Control_List_2.png]]&lt;br /&gt;
&lt;br /&gt;
Rules for NAP_PBX1, NAP_PBX2, NAP_PBX3,.. will be created automatically in the ACL.&lt;br /&gt;
&lt;br /&gt;
=SIP DOMAIN=&lt;br /&gt;
&lt;br /&gt;
A SIP domain represents a grouping of devices (or users) that can communicate with one another.&lt;br /&gt;
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Domain==&lt;br /&gt;
&lt;br /&gt;
1- Click '''SIP Domain''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_NavigationMenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Domain'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_SIP_Domain.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new Domain:&lt;br /&gt;
&lt;br /&gt;
* Enter a configuration '''Name''' for this domain.&lt;br /&gt;
* Enter a '''Domain Name''' for the SIP Registration Domain (the domain can be an FQDN or an IP address)&lt;br /&gt;
* Set the number '''Maximum Registered Users''' for this domain&lt;br /&gt;
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')&lt;br /&gt;
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).&lt;br /&gt;
** '''Register source''': Sends SIP Invite to the registering source IP address.&lt;br /&gt;
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.&lt;br /&gt;
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.&lt;br /&gt;
* Set the '''Minimum Contact Expiration''', this is the minimum ''Expires'' value that can be supplied by a user agent. Lower values will be rejected with a 423 'Interval too brief' response.&lt;br /&gt;
* Set the '''Maximum Contact Expiration''', this is the maximum ''Expires'' value that can be supplied by a user agent. The higher value is replaced by this parameter.&lt;br /&gt;
* Forwarding Parameters: &lt;br /&gt;
** Select the Registration '''Forwarding Mode''' to the registrar:&lt;br /&gt;
*** '''Contact Remapping''': Changes the user and the IP address.&lt;br /&gt;
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.&lt;br /&gt;
** Set '''Minimum Registrar Expiration''', this is the minimum ''Expires'' value sent by the SBC to the registrar.  If a user agent 'Expires' value is greater than this parameter, the SBC will do rate adaptation between the user agent and the Registrar.&lt;br /&gt;
** Set '''Maximum Pending Register Forward''', the maximum number of simultaneous pending register requests allowed for this domain.  New REGISTER request is being refused passed this threshold.&lt;br /&gt;
** Set '''Maximum Simultaneous Register Forward''', the maximum number of simultaneous active register requests allowed for this domain. New REGISTER request is being refused passed this threshold.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration domain was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:register_domain_2.png]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5- If your registrar has multiple domains, you need to create all the domains one by one.&lt;br /&gt;
&lt;br /&gt;
Repeat above steps for every domain designated to every PBX, for example, example1.com for PBX1, example2.com for PBX2, and so on. This also applies to the case of multiple domains from the same PBX/Registrar as pointed out in step 5 above.&lt;br /&gt;
&lt;br /&gt;
==Create New SIP Registration Registrar==&lt;br /&gt;
&lt;br /&gt;
A SIP registrar represents a SIP endpoint that provides a location service.&lt;br /&gt;
You must configure SIP Registrar for your system. The first step in doing so is to select your SIP Domain:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Click on your domain in the '''SIP Domain List'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Domain_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New SIP Registration Registrar'''&lt;br /&gt;
&lt;br /&gt;
[[Image:New_SIP_Registrar_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new SIP Registration Registrar&lt;br /&gt;
&lt;br /&gt;
* Enter a '''Name''' for the SIP Registration Registrar&lt;br /&gt;
* Select pre defined SIP Proxy NAP from drop-down menu&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_Registrar_Select.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Sip registration registrar was successfully created''' message appears&lt;br /&gt;
&lt;br /&gt;
[[Image:Create_New_SIP_Registrar2.png]]&lt;br /&gt;
&lt;br /&gt;
==Associate a SIP Domain with the new NAP==&lt;br /&gt;
Associate a SIP Domain with the new NAP. If you have more then 1 registrar domain using the same registrar you can associate all of them with the NAP:&lt;br /&gt;
&lt;br /&gt;
* Select a '''sip domain''' from the '''Available''' list&lt;br /&gt;
* Click '''&amp;quot;&amp;lt;&amp;lt;&amp;quot;''' to associate the SIP Domain with the NAP&lt;br /&gt;
[[Image:Associate_SIP_NAP.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Call Route=&lt;br /&gt;
&lt;br /&gt;
You must set up call routing for your system. [[Call routing]] refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for Remote Phones to SIP Server==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_REMOTE''', to match calls from Trunk NAP &lt;br /&gt;
* Select '''SIP_SERVER_NAP'''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Remote_to_Server_1.png]]&lt;br /&gt;
&lt;br /&gt;
==Route Configuration for SIP Server to Remote Phones==&lt;br /&gt;
&lt;br /&gt;
1- Click '''Routes''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Static Route'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateCallRoute_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Create the new route:&lt;br /&gt;
&lt;br /&gt;
* Enter a '''RoutesetName''' for the route&lt;br /&gt;
* Select  '''SIP_SERVER_NAP''', to match calls from Trunk NAP &lt;br /&gt;
* Select ''' (By registered user) '''&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''&amp;quot; Route was successfully created&amp;quot;''' message appears and that the new route is listed in the Routeset list&lt;br /&gt;
&lt;br /&gt;
[[Image:Route_Server_to_Remote_3.png]]&lt;br /&gt;
&lt;br /&gt;
=Activating the Configuration=&lt;br /&gt;
&lt;br /&gt;
Changes made to the configuration of the FreeSBC units are stored in the OAM&amp;amp;P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.&lt;br /&gt;
&lt;br /&gt;
Check the following link for activating the configuration;&lt;br /&gt;
&lt;br /&gt;
[[Toolpack:Activating_the_Configuration_D]]&lt;br /&gt;
&lt;br /&gt;
=SBC Use Cases=&lt;br /&gt;
[[Toolpack:Tsbc Use Cases A|SBC Use Cases]] &amp;lt;br /&amp;gt;&lt;br /&gt;
[[FreeSBC_Use_Cases|FreeSBC Use Cases]]&lt;br /&gt;
&lt;br /&gt;
=SBC Tutorial Guide V3.0=&lt;br /&gt;
[[Tmedia Tsig Tdev Tutorial Guide v3.0|Version 3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>William Wong</name></author>	</entry>

	</feed>