...
Panel |
---|
...
...
Back to Call Routing and Services
In this section:
|
...
Info |
---|
Related articles: |
This
...
section describes several call routing mechanisms:
Username/SIP URI routing allows routing of requests based on the username and/or domain name in the SIP Request-URI. The username may be digits or an actual username. In either case, routing tries to find the most specific match for the (full) username and domain name, followed by less specific matches on suffixes of the domain name.
By default, the
...
Spacevars | ||
---|---|---|
|
The Standard destination based routing supports route lookups based on following parameters:
In a VoIP environment, subscribers can take their phone numbers outside of their original geographic location (local number portability) or use a VoIP adapter to make calls from a remote location. To make emergency services available to subscribers not tied to fixed geographic locations, Enhanced 911 tracks caller location and the Public Services Answering Point nearest to them by means of a VoIP Positioning Center (VPC).
The
...
Spacevars | ||
---|---|---|
|
...
Spacevars | ||
---|---|---|
|
...
The
Spacevars | ||
---|---|---|
|
CLI command example:
Code Block |
---|
% set global callRouting routingLabel 1 routingLabelRoute 2 testing test |
Where testing parameter has three options:
...
The
Spacevars | ||
---|---|---|
|
...
Spacevars | ||
---|---|---|
|
...
Spacevars | ||
---|---|---|
|
...
Spacevars | ||
---|---|---|
|
...
Spacevars | ||
---|---|---|
|
The HD codec based prioritization method is invoked after executing the existing route prioritization methods.
Note |
---|
The HD Codec Based Routing works only with a centralized PSX. |
HD codec based prioritization is an end-to-end routing feature on the ingress offer. To configure the codec priority to remain constant throughout
...
Spacevars | ||
---|---|---|
|
Use a wideband codec with Ingress Route PSP to facilitate end-to-end wideband calls. Any deviation from the above settings may not prioritize the route appropriately.
In Codec based prioritization, the PSX prioritizes the egress routes for the following High Definition (HD) codecs:
The PSX receives the list of HD codecs and their sampling rates in the policy request sent by
...
the
Spacevars | ||
---|---|---|
|
If the ingress PSP does not contain any of the above mentioned codecs, then the PSX configures the routes normally based on the existing logic.
A SIP-to-PSTN gateway can have trunks connected to different carriers. Plus, a SIP proxy may choose (based on proprietary routing logic) a carrier in which a call is sent when it proxies a session setup request to the gateway. Since, multiple carriers can transport a call to a particular phone number, a phone number by itself is not sufficient to identify the carrier at the gateway. To overcome this, the ERE routing logic uses “tgrp” and “trunk-context” parameters in the Request URI header as described below.
...
The
Spacevars | ||
---|---|---|
|
...
processing Destination Trunk Group (DTG) and Originating Trunk Group (OTG) parameters received in Contact and Request-URI messages, and transparently passing this information or inserting it in response messages or egress INVITE headers. When configured this way, even if OTG or DTG values are included in the received messages they are not used in processing of trunk group values for response and egress.
Include Page | ||||
---|---|---|---|---|
|
If the PES receives destination trunk group parameters (tgrp and trunk-context) in the policy request and if “Process Destination Tgrp” and “Process Destination Trunk Context” flags are enabled for the ingress trunk group, PES performs a light policy lookup and skips full policy dip. In this scenario, the ERE uses the trunk group name received in the tgrp parameter (similar to the dtg parameter). Also, the trunk-context parameter value is ignored. If DTG is present, it is also ignored.
The IP address is unique within a zone. To perform a reverse lookup against an IP peer, the IP address and zone are required. When trunk-context contains an IP address, use a default zone to look up the IP peer.
Two options are available to identify the zone name:
Since the local trunk group is not returned in the policy response, the local trunk group in the zone is determined by
...
the
Spacevars | ||
---|---|---|
|
After determining IP peer based on the trunk-context, the zone name to which this IP peer belongs is determined by fetching IP peer table. The ERE can send back the egress zone information in the policy response by populating zone ID in the zoneIndex attribute in the route4Attributes table.
A CLI configuration example is shown below.
Allow processing of “tgrp” and “trunk-context” for feature control profile “DEFAULT_IP”:
Code Block | ||
---|---|---|
| ||
% set profiles featureControlProfile DEFAULT_IP processDestinationTrunkGroupAndTrunkContext enable |
Associate the profile with a SIP trunk group:
Code Block | ||
---|---|---|
| ||
% set addressContext default zone defaultSigZone sipTrunkGroup DEFAULT_TG policy featureControlProfile DEFAULT_IP |
Include Page | ||||
---|---|---|---|---|
|
The
Spacevars | ||
---|---|---|
|
When the
Spacevars | ||
---|---|---|
|
Spacevars | ||
---|---|---|
|
Caption | ||||
---|---|---|---|---|
| ||||
Example:
SIP Trunk Group
Code Block | ||
---|---|---|
| ||
% set addressContext default zone defaultSigZone sipTrunkGroup defaultSipTrunkGroup ingressIpPrefix 10.7.6.40 32
% set addressContext default zone defaultSigZone sipTrunkGroup defaultSipTrunkGroup media mediaIpInterfaceGroupName DLIG
% set addressContext default zone defaultSigZone sipTrunkGroup defaultSipTrunkGroup state enabled mode inService |
SIP Signaling Port
Code Block | ||
---|---|---|
| ||
% set addressContext default zone defaultSigZone sipSigPort 1 ipAddressV4 10.7.15.146 portNumber 5060 transportProtocolsAllowed sip-udp
% set addressContext default zone defaultSigZone sipSigPort 1 ipInterfaceGroupName DLIG
% set addressContext default zone defaultSigZone sipSigPort 1 mode inService state enabled |
...
Refer to Zone - SIP Trunk Group - CLI for command syntax and parameter descriptions.
The
Spacevars | ||
---|---|---|
|
Parameter | Atttribute |
---|---|
gwSigPort | Local GW IP address |
defaultGwIptg (Used towards Sonus GW core to reach any Sonus Gateway not specified below | prefix-0.0.0.0 |
namedGwIptg | prefix-10.1.x.x |
(SIP hop-by-hop routing and SIP core optimized routing)
Parameter | Attribute |
---|---|
sipSigPort | Local SIP IP address |
defaultSipIptg (Used towards any SIP Server and also used for Sonus SIP core) | prefix-0.0.0.0 (Wildcard IP to reach any SIP server/ Gateway not specified below) |
namedSipCoreIptg (Used towards Sonus SIP core) | prefix-10.2.x.x (Peer SBC address(s) acting as Gateway) |
namedSipIptg1 (Used towards SIP Server-1) | prefix-10.3.x.x (SIP Server-1 contact address) |
namedSipIptg2 (Used towards SIP Server-2) | prefix-10.4.x.x (SIP Server-1 contact address) |
namedSipIptg-ASX (Used towards ASX) | prefix-10.5.x.x (ASX contact address) |
Parameter | Attribute |
---|---|
h323SigPort | Local H.323 IP address |
defaultH323Iptg (Used towards any H.323 Server) | prefix-0.0.0.0 (Wildcard IP to reach any H.323 Server) |
namedH323Iptg (Used H.323 Server) | prefix-10.2.x.x (H.323 Server-1 contact address) |
Caption | ||||
---|---|---|---|---|
| ||||
Pagebreak |
---|