...
Panel |
---|
...
...
Back to How to Set up a Basic Call Flow
In this section:
|
This section provides the basic steps to establish a simple call flow between two end points.
To establish a SIP call through the
Spacevars | ||
---|---|---|
|
Spacevars | ||
---|---|---|
|
Spacevars | ||
---|---|---|
|
Spacevars | ||
---|---|---|
|
Info |
---|
For basic configuration details, refer to: |
In this scenario, trunk group routing is used to send all traffic arriving on "Outside" trunk to "Inside" trunk, and vice versa. This allows for no additional configuration changes on the SBC as the operator adds more numbers to be routed.
Because a single Address Context is configured in this scenario, no IP address overlapping is allowed.
Both "Outside" and "Inside" specific configuration data must be made. Below is a summary of the key configuration items.
Configuration Item | PEER (Outside) | CORE (Inside) | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Zone | SIP Port and Trunk Group reside in Zone | SIP Port and Trunk Group reside in Zone | ||||||||
SIP Signaling Port |
|
| ||||||||
Packet Service Profile (PSP) | Specify G.729A | Specify G.711 | ||||||||
Codec Entry | Far end codec definitions | Feature server codec definitions | ||||||||
IP Signaling Profile | SIP Parameter settings | SIP Parameter settings | ||||||||
Trunk Group | IP address of where signaling messages arrive from. If the far end is not a dedicated feature server (i.e. phone), set field to 0.0.0.0. | IP address of where signaling messages arrive from – usually set to the feature server's signaling port IP address. | ||||||||
IP Peer | IP address of far end | IP address of feature server | ||||||||
Routing Label | One per trunk group | One per trunk group | ||||||||
Route | One per trunk group | One per trunk group |
Create two new zones for Trunking, each one representing an external customer or operator equipment.
Zone | Purpose |
---|---|
peer | Traffic to/from far end carrier |
core | Traffic to/from operator trunking equipment |
From CLI command line, enter following commands to establish two zones (peer, core) using default addressContext:
Code Block | ||
---|---|---|
| ||
% set addressContext default zone peer id 2
% set addressContext default zone core id 3
% commit |
On SBC main screen, navigate to Configuration > System Provisioning > Zone
Caption | ||||
---|---|---|---|---|
| ||||
SIP Signaling Ports reside on the
Spacevars | ||
---|---|---|
|
Spacevars | ||
---|---|---|
|
Spacevars | ||
---|---|---|
|
Spacevars | ||
---|---|---|
|
SIP Port # | Zone | Purpose |
---|---|---|
1 | peer | Traffic to/from far end carrier |
2 | core | Traffic to/from operator trunking equipment |
Each SIP Signaling port is in a unique Zone. The non-
Spacevars | ||
---|---|---|
|
Warning |
---|
When a SIP Port is created (IP address is assigned), the system also creates an ACL allowing traffic from all source IP addresses to that destination. In other words, an unauthorized entity could attempt to send traffic to the IP address of the SIP Port. To prevent unwanted registration or call attempts at the earliest opportunity within the SBC, manually create ACLs to specify what source IP addresses are allowed toward that SIP Port. Refer to the topic Managing SBC Core System Security for details. |
Code Block | ||
---|---|---|
| ||
% set addressContext default zone peer id 2 sipSigPort 1 ipInterfaceGroupName EXTERNAL_IPIG ipAddressV4 <external IP address> state enabled
% set addressContext default zone core id 3 sipSigPort 2 ipInterfaceGroupName INTERNAL_IPIG ipAddressV4 <internal IP address> state enabled
% commit |
On SBC main screen, navigate to Configuration > System Provisioning > Signaling Ports > Sip Sig Port
Caption | ||||
---|---|---|---|---|
| ||||
Packet Service Profiles control the media settings such as Codec, Packet Size, Transcoding options, and fax support on a trunk group. Each PSP can contain up to four Codec entries using ERE. These Codec entries describe a codec, its packet size and other codec-specific parameters, such as "law" (A or U) for G.711. Several default Codec entries are pre-configured on the system as examples to create your own.
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
If you do not wish to use the default Codec Entries you will need to create custom Codec Entries before creating Packet Service Profiles since the PSP reference the Codec Entries. For example, you may want to have a PSP that specifies 20ms packet size, RFC2833 transport, allows for G.729A codec, and allows transcoding of G.711 to G.729A.
In our example, two Packet Service Profiles are created.
Create new PSPs based on the default PSP (avoid modifying default PSP), and use a naming convention to identify the function of each PSP.
Code Block | ||
---|---|---|
| ||
% set profiles media packetServiceProfile G711_PSP codec codecEntry1 G711-DEFAULT
% set profiles media packetServiceProfile G729_PSP codec codecEntry1 G729A-DEFAULT
% commit |
On SBC main screen, navigate to Configuration > System Provisioning > Packet Service Profile
Caption | ||||
---|---|---|---|---|
| ||||
The Codec Entry describes one specific codec that can be offered as part of the Packet Service Profile. Several default Codec Entries are included with the
Spacevars | ||
---|---|---|
|
In this example, the following default codecs are used:
IP Signaling Profiles control how various SIP egress and ingress parameters are set and processed. Use a unique profile for each type of destination. Each trunk group has an assigned IP Signaling Profile.
Note |
---|
A trunk group has both an IP Signaling Profile and an Egress IP Signaling profile. The Egress IP Signaling profile is used for the outgoing signaling (sent from the trunk group). The IP Signaling profile configured on the IP Peer overwrites the IP Signaling profile configured on the trunk group. |
In this example, the IP Signaling Profile "DEFAULT_SIP" is used.
An important concept on the
Spacevars | ||
---|---|---|
|
The standard trunk group naming convention is to always CAPITALIZE trunk group names.
In this example configuration, two SIP trunk groups are created.
Trunk Group Name | Purpose | ||||
---|---|---|---|---|---|
CORE | Trunk to operator network equipment (carrier that owns the
| ||||
PEER | Trunk to far end (another carrier or PBX for example) |
Code Block | ||
---|---|---|
| ||
% set addressContext default zone core sipTrunkGroup CORETG ingressIpPrefix <ingress IP and prefix>
% set addressContext default zone core sipTrunkGroup CORETG media mediaIpInterfaceGroupName IPIG1
% commit |
On SBC main screen, navigate to Configuration > System Provisioning > SIP Trunk Group.
Caption | ||||
---|---|---|---|---|
| ||||
The IP Peer is the IP address of the far end device. The IP Peer is referenced in the Routing Label, and is used for outgoing calls for a particular Trunk Group.
Note |
---|
If you define an IP Signaling Profile in the IP Peer, the profile defined the in trunk group is overwritten. |
For Access configurations, it is not necessary to have a IP Signaling Peer to the individual phones. You do need one to the feature server.
Code Block | ||
---|---|---|
| ||
% set addressContext default zone core ipPeer core_peer ipAddress <IP address> ipPort 5060
% set addressContext default zone peer ipPeer peer_peer ipAddress <IP address> ipPort 5060
% commit |
On SBC main screen, navigate to Configuration > System Provisioning > IP Peer
Caption | ||||
---|---|---|---|---|
| ||||
The Routing Label is used by (referenced in) the Route to send traffic from one trunk group to the other, and vice versa. Trunk Group routing is used for this purpose.
One Routing Label is created for each Trunk Group, and is used to send calls to that Trunk group. In the below example, the Routing Label "TO_CORE" sends calls to "CORE" trunk group. There is also a Routing Label "TO_PEER" that sends calls to "PEER" trunk group.
Code Block | ||
---|---|---|
| ||
% set global callRouting routingLabel TO_PEER routingLabelRoute 1 trunkGroup PEER ipPeer PEER inService inService
% set global callRouting routingLabel TO_CORE routingLabelRoute 2 trunkGroup CORE ipPeer CORE inService inService
% commit |
On SBC main screen, navigate to Configuration > System Provisioning > Routing
Caption | ||||
---|---|---|---|---|
| ||||
For more information on Routing Label Route, refer to Call Routing: System Provisioning - Routing.
The Route determines how call routing is accomplished. Several methods are available to implement routing (dialed number, carrier, calling number, trunk group, etc.) Trunk Group routing is used for this example configuration, and is the simplest and most straight forward means to implement a "pure"
Spacevars | ||
---|---|---|
|
Spacevars | ||
---|---|---|
|
For Trunk Group routing, calls that arrive on trunk group "CORE" are sent to Routing Label "TO_PEER", which routes the call to trunk group "PEER". In the other direction, calls that arrive on trunk group "PEER" are sent to Routing Label "TO_CORE", which routes the call to the "CORE" trunk group.
Note | ||||
---|---|---|---|---|
In the examples below "DALSBC01" is the name of the
|
Code Block | ||
---|---|---|
| ||
% set global callRouting route trunkGroup PEER DALSBC01 standard Sonus_NULL 1 nationalType nationalType ALL none Sonus_NULL routingLabel TO_CORE
% set global callRouting route trunkGroup CORE DALSBC01 standard Sonus_NULL 1 nationalType nationalType ALL none Sonus_NULL routingLabel TO_PEER |
On SBC main screen, navigate to Configuration > System Provisioning > Routing
Caption | ||||
---|---|---|---|---|
| ||||
For more information on Routing Label Route, refer to Call Routing: System Provisioning - Routing.
****YOU ARE NOW READY TO PLACE A TEST CALL****
Pagebreak |
---|