Configuring SIP Registration for Open NAP

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "=== '''''Applies to version(s): v3.0''''' === {{DISPLAYTITLE:Creating a SIP Domain}} A SIP domain represents a grouping of devices (or users) that can communicate with one ano...")
 
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 
=== '''''Applies to version(s): v3.0''''' ===
 
=== '''''Applies to version(s): v3.0''''' ===
{{DISPLAYTITLE:Creating a SIP Domain}}
+
{{DISPLAYTITLE:Configuring SIP Registration for Open NAP}}
A SIP domain represents a grouping of devices (or users) that can communicate with one another.
+
An Open NAP is a NAP that facing internet and covering all IP end points that can access the ProSBC. Registration from outside internet via Open NAP will be pass through ProSBC to the SIP Registrar.
You must configure SIP Registration Domain for your system. The first step in doing so is to create a SIP Domain:
+
You must configure SIP Registration Domain(s) for your Open NAP and associate them to the Open NAP. Configuring SIP Registration for Open NAP in ProSBC requires no extra step from using steps in configuring an Open NAP.
  
 +
To create a new NAP:
  
 +
1- Click '''NAPs''' in the navigation panel
  
1- Click '''SIP Domain''' in the navigation panel
+
[[Image:NAP_NavigationMenu.png]]
  
[[Image:SIP_Domain_NavigationMenu.png]]
 
  
 +
2- Click '''Create New NAP'''
  
2- Click '''Create New Domain'''
+
[[Image:Create_New_NAP_SIP.png]]
  
[[Image:Create_SIP_Domain.png]]
 
  
 +
3- Create the new NAP:
  
3- Create the new Domain:
+
* Enter a '''name''' for the NAP
 
+
* Enter a configuration '''Name''' for this domain.
+
* Enter a '''Domain Name''' for the SIP Registration Domain (domain can be a FQDN or an IP address)
+
* Set the number '''Maximum Registered Users''' for this domain
+
* Set the Expires value used by SBC when the remote device doesn't supply one ('''Default Contact Expire''')
+
* Select '''Routing Method''' the system will use to route calls to registered users (if enabled in routing scripts).
+
** '''Register source''': Sends SIP Invite to the registering source IP address.
+
** '''Contact''': Sends SIP Invite to the 'contact' from the Register message.
+
* Set the '''Default Contact Expiration''', this value will be used when no ''Expires'' value is supplied by the user agent.
+
* 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.
+
* 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.
+
* Forwarding Parameters:
+
** Select the Registration '''Forwarding Mode''' to the registrar:
+
*** '''Contact Remapping''': Changes the user and the IP address.
+
*** '''Contact Passthrough''': Doesn't change anything. Enables devices to be contacted directly without going through the SBC.
+
** 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.
+
** 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.
+
** 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.
+
** Select the Registration '''Registrar Selection Mode''' to the registrar:
+
*** '''Active/Standby''': The active registrar is the one with status up and the lowest priority (automatic fallback).
+
** Enable the '''Forward After Switchover''': After a switchover, the first register refresh request from each user will be forwarded to the active registrar.
+
 
* Click '''Create'''
 
* Click '''Create'''
  
[[Image:Create_SIP_Domain1.png]]
+
[[Image:Open_NAP_Create.png]]
 +
 
 +
4- Verify that the '''NAP was successfully created''' message appears
 +
 
 +
[[Image:Create_New_NAP_SIP2.png]]
 +
 
 +
5- Associate a SIP transport server with the new NAP:
 +
 
 +
* Select a '''SIP Transport Server''' from the '''Available''' list
 +
* Click '''"<<"''' to associate the '''WAN_SIP_TS''' with the NAP
 +
 
 +
[[Image:Open_NAP_Create_1.png]]
 +
 
 +
6- Disable proxy address:
 +
 
 +
[[Image:Open_NAP_Create_NoProxy.png]]
 +
 
 +
 
 +
7- Enter full access in the access control list
 +
 
 +
* Enter an '''IP/MASK''' (use 0.0.0.0/0 to accept any addresses)
 +
* Click '''"<<"''' to add in the list of Access Control
 +
 
 +
[[Image:Open_NAP_Create_ACL.png]]
 +
 
 +
8- Associate a Port range with the new NAP:
  
 +
* Select a '''port range''' from the '''Available''' list
 +
* Click '''"<<"''' to associate '''WAN_Vlan:0''' Port range with the NAP
  
4- Verify that the '''Sip registration domain was successfully created''' message appears
+
[[Image:Open_NAP_Create_2.png]]
  
[[Image:Create_SIP_Domain2.png]]
+
9- Associate a SIP Domain with the new NAP. If you have more than 1 domain you need to associate all of them with OPEN NAP/SIP NAP:
<br><br>
+
[[Image:Create_SIP_Domain3.png]]
+
  
5- Add the domain to one or multiple NAPs from which users are allowed to register for this domain
+
* Select a '''sip domain''' from the '''Available''' list
* Click '''NAPs''' in the navigation panel
+
* Click '''"<<"''' to associate the SIP Domain with the NAP
* Click on a NAP to bind the SIP Domain to
+
* Add the SIP Domain to the NAP (bottom of the page):
+
[[Image:bind_domain_to_nap.png]]
+
  
 +
[[Image:Open_NAP_Create_3.png]]
  
6- Multiple registrars (registration redundancy)
 
Multiple registrars can be created per domain, for redundancy.
 
* Registrars are ordered by priority
 
* Users' registration requests are forwarded to the available registrar with the highest priority in the list
 
* SIP 'options' polling is used to determine which registrars are available or not
 
  
[[Image:multiple_registrars.png]]
+
10- Configure settings for the following parameter groups as required:
 +
*Check '''Accept only authorized users''' option. With this option unchecked, FreeSBC will forward any INVITEs sent to the "Open NAP" to the PBX without first authenticating the user.
 +
*Registration Parameters
 +
*Authentication Parameters
 +
*Network Address Translation
 +
*SIP-I Parameters
 +
*Advanced Parameters
  
 +
*Click '''Save'''
  
== Create routes for registered users ==
+
[[Image:Open_NAP_Create_4_2.png]]
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]].
+

Latest revision as of 04:15, 19 November 2019

Applies to version(s): v3.0

An Open NAP is a NAP that facing internet and covering all IP end points that can access the ProSBC. Registration from outside internet via Open NAP will be pass through ProSBC to the SIP Registrar. You must configure SIP Registration Domain(s) for your Open NAP and associate them to the Open NAP. Configuring SIP Registration for Open NAP in ProSBC requires no extra step from using steps in configuring an Open NAP.

To create a new NAP:

1- Click NAPs in the navigation panel

NAP NavigationMenu.png


2- Click Create New NAP

Create New NAP SIP.png


3- Create the new NAP:

  • Enter a name for the NAP
  • Click Create

Open NAP Create.png

4- Verify that the NAP was successfully created message appears

Create New NAP SIP2.png

5- Associate a SIP transport server with the new NAP:

  • Select a SIP Transport Server from the Available list
  • Click "<<" to associate the WAN_SIP_TS with the NAP

Open NAP Create 1.png

6- Disable proxy address:

Open NAP Create NoProxy.png


7- Enter full access in the access control list

  • Enter an IP/MASK (use 0.0.0.0/0 to accept any addresses)
  • Click "<<" to add in the list of Access Control

Open NAP Create ACL.png

8- Associate a Port range with the new NAP:

  • Select a port range from the Available list
  • Click "<<" to associate WAN_Vlan:0 Port range with the NAP

Open NAP Create 2.png

9- Associate a SIP Domain with the new NAP. If you have more than 1 domain you need to associate all of them with OPEN NAP/SIP NAP:

  • Select a sip domain from the Available list
  • Click "<<" to associate the SIP Domain with the NAP

Open NAP Create 3.png


10- Configure settings for the following parameter groups as required:

  • Check Accept only authorized users option. With this option unchecked, FreeSBC will forward any INVITEs sent to the "Open NAP" to the PBX without first authenticating the user.
  • Registration Parameters
  • Authentication Parameters
  • Network Address Translation
  • SIP-I Parameters
  • Advanced Parameters
  • Click Save

Open NAP Create 4 2.png

Personal tools