You are on page 1of 60

Configuration Guide

SBC 5000 Series Configuration Guide


(For Cisco Unified Communications Manager 9.1)

For use with AT&T’s IP Flexible Reach – Enhanced Features Service on


MIS, MPLS PNT or AT&T VPN
Disclaimers and Restrictions

This Customer Configuration Guide ("CCG") is offered as a convenience to AT&T's customers for
informational purposes only. The specifications and information regarding the product in this CCG
are subject to change without notice. While reasonable efforts have been made in the preparation of
this publication, Sonus Networks and its suppliers assume no liability resulting from technical or
editorial errors or omissions, or for any damages resulting from the use of this information. All
statements, information, and recommendations in this CCG are presented without warranty of any
kind, express or implied, and are provided “AS IS”.
In no event shall Sonus be liable for any indirect, special, consequential, or incidental damages,
including, without limitation, lost profits or loss or damage arising out of the use or inability to use this
CCG, even if the user have been advised of the possibility of such damage. Unless specifically
included in a written agreement with Sonus Networks, Sonus Networks has no obligation to develop
or deliver any future release, upgrade, feature, enhancement or function.
Contents
1. Introduction ....................................................................................................... 4
1.1. Special Notes ...................................................................................................................... 4
1.1.1. Emergency 911/E911 Services Limitations and Restrictions .......................................... 4
1.1.2. Mid-call Re-INVITEs ........................................................................................................ 4
1.1.3. Blind Call Transfer ........................................................................................................... 5
1.2. Network Topology ............................................................................................................... 5
1.3. Hardware/ Software Configuration ...................................................................................... 6
2. SBC 5000 Series Configuration ........................................................................ 7
2.1. Configuration Diagram ........................................................................................................ 7
2.2. Naming Conventions ........................................................................................................... 7
2.3. Configuration Workflow ....................................................................................................... 8
2.4. Global Configuration............................................................................................................ 9
2.4.1. Codec Entry ..................................................................................................................... 9
2.5. Customer Side Configuration ............................................................................................ 10
2.5.1. Configuring Profiles ....................................................................................................... 10
2.5.2. Configuring Address Context......................................................................................... 27
2.6. ATT Side Configuration ..................................................................................................... 32
2.6.1. Configuring Profiles ....................................................................................................... 32
2.6.2. Configuring Address Context......................................................................................... 49
2.7. Global Call Routing Configuration ..................................................................................... 55
2.7.1. Customer Side Routing ................................................................................................. 55
2.7.2. ATT Side Routing .......................................................................................................... 56
3. CUCM Configuration....................................................................................... 59
4. Troubleshooting .............................................................................................. 60
SBC 5000 Series Configuration Guide 4

1. Introduction
This document provides a configuration guide for Sonus SBC 5000 Series (Session Border
Controller) when connecting to AT&T IPFR-EF service using AVPN or MIS/PNT transport.
This configuration guide supports basic and enhanced IP Flexible Reach features. The below
list gives the IP Flexible Reach - Enhanced Features (IPFR-EF) verified using this
configuration guide. The complete list of IPFR-EF features can be found in AT&T IP Flexible
Reach service guide at http://new.serviceguide.att.com
– Network Based Sequential Ring
– Network Based Simultaneous Ringing
– Network Based Call Forwarding Always
– Network Based Call Forwarding Busy
– Network Based Call Forwarding Not Reachable
– Network Based Call Forwarding No Answer
The Sonus SBC 5000 is a Session Border Controller that connects disparate SIP trunks, SIP
PBXs, and communication applications within an enterprise. It can also be used as a SIP
routing and integration engine. The Sonus SBC is the point of connection between the Cisco
Communication Manager 9.1 and AT&T IPFR-EF service and is used not only to secure the
SIP trunk, but also to make adjustments to carrier and enterprise signaling for
interoperability.

Note: This guide supports SBC 5000 Series configurations for releases V03.X or higher

1.1. Special Notes


1.1.1. Emergency 911/E911 Services Limitations and Restrictions
Emergency 911/E911 Services Limitations and Restrictions - Although AT&T provides
911/E911 calling capabilities, AT&T does not warrant or represent that the equipment and
software (e.g., IP PBX) reviewed in this customer configuration guide will properly operate
with AT&T IPFR-EF to complete 911/E911 calls; therefore, it is Customer’s responsibility to
ensure proper operation with its equipment/software vendor.
While AT&T IPFR-EF services support E911/911 calling capabilities under certain Calling
Plans, there are circumstances when that E911/911 service may not be available, as stated in
the Service Guide for AT&T IPFR-EF found at http://new.serviceguide.att.com. Such
circumstances include, but are not limited to, relocation of the end user’s CPE, use of a non-
native or virtual telephone number, failure in the broadband connection, loss of electrical
power, and delays that may occur in updating the Customer’s location in the automatic
location information database. Please review the AT&T IPFR-EF Service Guide in detail to
understand the limitations and restrictions.

1.1.2. Mid-call Re-INVITEs


The Sonus SBC 5000 does not send out the shuffling Re-INVITES and Hold-Resume Re-
INVITES from the Cisco Unified Communications Manager to the Network unless there are
changes in the media information.

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 5

The Re-INVITES received from the CUCM with changes only in the media source
information will not be relayed to the Network. However, changes in the media codecs, p-
time or media attributes will be relayed to the Network.

1.1.3. Blind Call Transfer


The IP Flexible Reach Enhanced Feature – Network Based Blind Call Transfer is not
supported by this configuration since Cisco CUCM 9.1 does not support sending REFER

1.2. Network Topology

CCM
SBC SIP
Subscriber
Trunk
SIP Trunk

CCM Sig: SIP


Publis Media: Sig: SIP
Sig: Skinny/SIP
Media: RTP h RTP/T38 Media: AT&T
RTP/T38
Sig:
Skinny

Sig: SIP
Cisco Voice/Fax Media:
Gateway 2911 RTP/T38
Cisco Unity
Voicemail
Server &
Auto
Attendant Local PSTN
P

The figure above represents the equipment that was used for the IPFR-EF certification.
The Cisco IP Phones used with the CUCM PBX can be configured to work with Skinny or
SIP Protocol.
To know the hardware and software version details used for the above setup, see Section 1.3
- Hardware/ Software Configuration

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 6

1.3. Hardware/ Software Configuration


Equipment Software

Sonus SBC 5000 Series


 BMC V02.00.00
 BIOS V02.00.00
 OS V01.08.00-R000
 SonusDB V03.00.01-R001
 EMA V03.00.01-R001
 SBC V03.00.01-R001

Third-party Equipments
 CUCM 9.1

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 7

2. SBC 5000 Series Configuration


This section describes how to use the Sonus Command Line Interface (CLI) to configure and
manage the SBC 5000 Series. This guide lists the configuration in 2 steps
1. The CLI Commands used for configuring the SBC5000
2. The CLI Output of the ‘show’ commands for the configurations done using Step 1.

2.1. Configuration Diagram

Customer Side SBC 5000 ATT Side

SIP Trunk SIP Trunk AT&T


CUCM 9.1
IP Flexible Reach
SIP SIG:
SIP SIG: 32.252.34.18
172.16.104.164
(External) AT&T IP: 12.194.20.75/
SIP SIG: 172.16.102.24 (Internal)
12.194.18.75
AddressContext: IPDOMAIN AddressContext:IPDOMAIN
Zone: CUST_ZONE Zone: ATT_ZONE
Network Interface: pkt1 Network Interface: pkt2
Media Interface: CUSTIFG Media Interface: ATTIFG
SIP Trunk Name: CUST_TG SIP Trunk Name: ATT_TG

2.2. Naming Conventions

Entity Customer side ATT Side

IP Interface Group CUSTIFG ATTIFG

IP Peer CUST_IPP ATT_IPP1, ATT_IPP2

IP Signaling Profile CUST_IPSP ATT_IPSP

Numbering Plan CUST_NUM_PLAN ATT_NUM_PLAN

Packet Service Profile CUST_PSP ATT_PSP

Prefix Profile CUST_PP ATT_PP

Trunkgroup CUST_TG ATT_TG

Zone CUST_ZONE ATT_ZONE

Routing Label CUST_RL ATT_RL

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 8

2.3. Configuration Workflow

|---- Global Configuration


| |----Codec Entry
|
|---- Customer Side Configuration
| |----Configuring Profiles
| | |----Packet Service Profile
| | |----IP Signaling Profile
| | |----Prefix Profile
| | |----Numbering Plan
| | |----DM/PM Rule
| | |----SIP Adaptor Profiles
| |----Configuring Address Context
| | |----IP Interface Group
| | |----Static Route
| | |----Zone
| | |----SIP Signaling Port
| | |----IP Peer
| | |----SIP Trunkgroup
|
|---- Network Side Configuration
| |----Configuring Profiles
| | |----Packet Service Profile
| | |----IP Signaling Profile
| | |----Prefix Profile
| | |----Numbering Plan
| | |----DM/PM Rule
| | |---- SIP Adaptor Profiles
| |----Configuring Address Context
| | |----IP Interface Group
| | |----Static Route
| | |----Zone
| | |----SIP Signaling Port
| | |----IP Peer
| | |----SIP Trunkgroup
|

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 9

|---- Global Call Routing Configuration


| |----Customer Side Routing
| | |----Routing Label
| | |----Route
| |----ATT Side Routing
| | |----Routing Label
| | |----Route

2.4. Global Configuration


2.4.1. Codec Entry

Create the codec entry for G729A and G711Ulaw codecs with t38 fax treatment and rfc2833
method for dtmf

Parameter Description
G729A_T38_2833 Codec Entry for g729a codec with fax t38 and dtmf rfc2833
G711Ulaw_T38_2833 Codec Entry for g711Ulaw codec with fax t38 and dtmf rfc2833

set profiles media codecEntry G729A_T38_2833 codec g729a packetSize 30

set profiles media codecEntry G729A_T38_2833 fax toneTreatment faxRelay

set profiles media codecEntry G729A_T38_2833 dtmf relay rfc2833

commit

set profiles media codecEntry G711Ulaw_T38_2833 codec g711 packetSize 30 law ULaw

set profiles media codecEntry G711Ulaw_T38_2833 fax toneTreatment faxRelay

set profiles media codecEntry G711Ulaw_T38_2833 dtmf relay rfc2833

commit

The output of show command for codec entry is as given below:

admin@CUSTSBC% show profiles media codecEntry G729A_T38_2833


codec g729a;
packetSize 30;
preferredRtpPayloadType 128;
fax {
failureHandling continue;
toneTreatment faxRelay;
}
modem {

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 10

failureHandling continue;
toneTreatment none;
}
dtmf {
relay rfc2833;
removeDigits enable;
}

admin@CUSTSBC% show profiles media codecEntry G711Ulaw_T38_2833


codec g711;
packetSize 30;
preferredRtpPayloadType 128;
fax {
failureHandling continue;
toneTreatment faxRelay;
}
modem {
failureHandling continue;
toneTreatment none;
}
law ULaw;
dtmf {
relay rfc2833;
removeDigits enable;
}

2.5. Customer Side Configuration


2.5.1. Configuring Profiles

Create profiles with specific set of characteristics correspond to customer IP-PBX. It includes
configuration of following entities on customer side.
1. Packet Service Profile
2. IP Signaling Profile
3. Prefix profile
4. Numbering Plan
5. DM/PM Rule
6. SIP Adaptor Profiles

1) Packet Service Profile

Create Packet Service Profile towards customer side with G729A as a first codec and
G711ulaw as a second codec

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 11

Parameter Description
Packet Service Profile name towards Customer side with rtcp enabled
CUST_PSP
and preferred rtp payload for dtmf 100

set profiles media packetServiceProfile CUST_PSP codec codecEntry1 G729A_T38_2833 codecEntry2


G711Ulaw_T38_2833

set profiles media packetServiceProfile CUST_PSP t38 lowSpeedNumberOfRedundantPackets 0


numberOfRedundantPackets 0

set profiles media packetServiceProfile CUST_PSP rtcpOptions rtcp enable

set profiles media packetServiceProfile CUST_PSP preferredRtpPayloadTypeForDtmfRelay 100


honorRemotePrecedence enable

commit

The output of show command for packet service profile is as given below:

admin@CUSTSBC% show profiles media packetServiceProfile CUST_PSP


dataCalls {
preferredRtpDataPayloadType 56;
initialPlayoutBufferDelay 50;
packetSize 0;
}
silenceFactor 40;
typeOfService 0;
voiceInitialPlayoutBufferDelay 10;
rtcpOptions {
rtcp enable;
terminationForPassthrough disable;
packetLossThreshold 0;
packetLossAction none;
}
peerAbsenceAction none;
silenceInsertionDescriptor {
g711SidRtpPayloadType 13;
heartbeat enable;
}
aal1PayloadSize 47;
codec {
codecEntry1 G729a_T38_2833;
codecEntry2 G711Ulaw_T38_2833;
codecEntry3 ;
codecEntry4 ;
}
packetToPacketControl {

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 12

transcode conditional;
conditionsInAdditionToNoCommonCodec {
differentDtmfRelay disable;
differentPacketSize disable;
differentSilenceSuppression disable;
honorOfferPreference disable;
}
codecsAllowedForTranscoding {
thisLeg "";
otherLeg "";
}
}
flags {
disallowDataCalls disable;
digitDetectSendEnabled disable;
useDirectMedia disable;
validatePeerSupportForDtmfEvents disable;
}
t38 {
dataRateManagementType type2TransferOfTcf;
ecm {
ecmPreferred disable;
}
lowSpeedNumberOfRedundantPackets 0;
maxBitRate 14.4Kbits_s;
numberOfRedundantPackets 0;
}
secureRtpRtcp {
cryptoSuiteProfile ;
flags {
allowFallback disable;
enableSrtp disable;
}
}
preferredRtpPayloadTypeForDtmfRelay 100;
videoCalls {
maxVideoBandwith 0;
videoBandwidthReductionFactor 0;
audioOnlyIfVideoIsPrevented enable;
}
mediaPacketCos 0;
honorRemotePrecedence enable;
sendRoutePSPPrecedence disable;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 13

2) IP Signaling Profile
Create IP Signaling Profile with appropriate signaling flags towards customer side

Parameter Description
CUST_IPSP IP Signalling Profile name on Customer side.

set profiles signaling ipSignalingProfile CUST_IPSP

set profiles signaling ipSignalingProfile CUST_IPSP commonIpAttributes flags


minimizeRelayingOfMediaChangesFromOtherCallLegAll enable sendAllAllowedCodecsForLateMediaInviteOrReInvite
enable sendPtimeInSdp enable

set profiles signaling ipSignalingProfile CUST_IPSP commonIpAttributes relayFlags refer enable

set profiles signaling ipSignalingProfile CUST_IPSP egressIpAttributes flags disable2806Compliance enable

set profiles signaling ipSignalingProfile CUST_IPSP egressIpAttributes privacy privacyInformation pAssertedId

set profiles signaling ipSignalingProfile CUST_IPSP ingressIpAttributes flags sendSdpIn200OkIf18xReliable enable


sendSdpInSubsequent18x enable

commit

The output of show command for ip signaling profile is as given below:

admin@CUSTSBC% show profiles signaling ipSignalingProfile CUST_IPSP


ipProtocolType sipOnly;
commonIpAttributes {
flags {
addPathServiceRoute disable;
callHoldInterworking disable;
clearmodeForDataCalls disable;
createPChargingVector disable;
createPathHeader disable;
createServiceRouteHeader disable;
customizedSessionTimerBehavior disable;
disableAlsoHeader disable;
disableHostTranslation disable;
disableMediaLockDown disable;
disableReferToUriParameters disable;
discardReceivedReasonHeader disable;
doNotIncludeSsAttributeInReInvite disable;
endToEndBye disable;
includeIpPortsInFromAndToHeaders disable;
includeReasonHeader disable;
includeSsAttributeInInitialInvite disable;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 14

includeTransportTypeInContactHeader disable;
insertPeerAddressAsTopRouteHeader disable;
mapCauseLocation disable;
mapSuspendResumeEventInPSvcInfoHeader disable;
mapUuiInPSigInfoHeader disable;
mimeCausePrecedeReasonHeaderCause disable;
minimizeRelayingOfMediaChangesFromOtherCallLegAll enable;
noContentDisposition disable;
noPortNumber5060 enable;
noUserinfoInContactHeader disable;
onlySelectedCodecInSessionRefresh disable;
pChgMsgInfo disable;
replaceHostOnViaHeader disable;
reQueryPsxOnRegisterRefresh disable;
sdpOlineOnlyCompares disable;
sendAllAllowedCodecsForLateMediaInviteOrReInvite enable;
sendDirectMediaInfoInSdpAttribute disable;
sendPtimeInSdp enable;
sessionTimerRefreshUpdate disable;
setAcceptHeaderToApplicationSdpOnly disable;
setOlineDash disable;
setSessionVersionZero disable;
setSlineDash disable;
skipPsxQueryForRefer disable;
storePathHeader disable;
storeServiceRouteHeader disable;
terminalPortabilityInterworking disable;
sendRtcpPortInSdp disable;
}
callTransferFlags {
handleIpAddressesNotPresentInNetworkSelectorTableNst
routeViaTransferringIptg;
forceReRouteViaPsxQuery disable;
}
optionTagInRequireHeader {
suppressReplaceTag disable;
}
optionTagInSupportedHeader {
suppressReplaceTag disable;
}
relayFlags {
dialogEventPackage disable;
dtmfBody disable;
info disable;
message disable;
notify disable;
options disable;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 15

regEventPackage disable;
refer enable;
sonusMediaBody disable;
statusCode3xx disable;
statusCode4xx6xx disable;
thirdPartyBodies disable;
force503to500Relay disable;
}
transparencyFlags {
alertInformationHeader disable;
authcodeHeaders disable;
contactHeader disable;
errorInfo disable;
fromHeader disable;
historyInfo disable;
maxForwardsHeader disable;
mwiBody disable;
pChargingVectorHeader disable;
pEarlyMedia disable;
pathHeader disable;
qsigBody disable;
reasonHeader disable;
referredByHeader disable;
requestURI disable;
routeHeader disable;
serviceRouteHeader disable;
sipBody disable;
sipfragBody disable;
toHeader disable;
toneBody disable;
unknownBody disable;
unknownHeader disable;
viaHeader disable;
}
}
egressIpAttributes {
numberGlobalizationProfile ;
flags {
bgcfTargetSchemeTransparency disable;
convertInactiveToSendrecv disable;
disable2806Compliance enable;
disableOptionalRegisterParameters disable;
map181Or182MessageTo183 disable;
mapContractorNumberInPSigInfoHeader disable;
suppressUnregister disable;
ttcIsupMapping disable;
useCalledPartyInRequestUri disable;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 16

useColonInSdpMediaTypeParameter disable;
validateIsubAddress disable;
}
bci {
bciInterworkEncountered disable;
bciIsdnAddess disable;
}
domainName {
useSipDomainNameInFromField disable;
useSipDomainNameInRequestUri disable;
}
isub {
allowNsapIsub disable;
allowUserSpecifiedIsub disable;
includeCalledPartyIsub disable;
includeCallingPartyIsub disable;
}
numberPortabilityAttributes {
npdiOptions includeNpdiYes;
disableRn disable;
}
privacy {
transparency disable;
privacyInformation pAssertedId;
flags {
includePrivacy enable;
privacyRequiredByProxy disable;
msLyncPrivacySupport disable;
}
}
redirect {
mode acceptRedirection;
contactHandling mergeReceivedContacts;
flags {
skipCrankbackProfileAndAlwaysCrankback disable;
forceRequeryForRedirection disable;
}
}
sipHeadersAndParameters {
callForwarding {
dataMapping diversion;
diversionHeaderTransparency disable;
}
includeChargeInformation includeNone;
destinationTrunkGroupOptions includeNone;
originatingTrunkGroupOptions includeNone;
flags {

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 17

includeCic disable;
includeCpcInformation disable;
includeNpi disable;
includeOlip disable;
includePKAdn disable;
includePstnParameters disable;
includeQvalue disable;
skipCSeqCheckInEarlyDialog disable;
transparencyForDestinationTrunkGroupParameter disable;
}
}
transport {
type1 none;
type2 none;
type3 none;
type4 none;
}
}
ingressIpAttributes {
flags {
sip181Supported disable;
sip182Supported disable;
mapCalledPartyCategoryInPSigInfoHeader disable;
noSdpIn180Supported disable;
registrationExpiresinExpiresHeader disable;
send183OnInitiatingDisconnectTreatment disable;
sendSdpIn200OkIf18xReliable enable;
sendSdpInSubsequent18x enable;
}
carrierInformation {
generateTerminatingCa disable;
generateTerminatingCic disable;
}
}

3) Prefix Profile
Create Prefix Profile with appropriate dial plan for handling outgoing calls to ATT network. The
configuration below shown with country US (+1).

Parameter Description
CUST_PP Prefix Profile name on Customer side.

set profiles digitParameterHandling prefixProfile CUST_PP entry 0 0 1 1 numberLeadingPrefixDigits 0


numberLeadingPrefixDigitsToStrip 0 callType nationalType digitType national

set profiles digitParameterHandling prefixProfile CUST_PP entry 17 0 11 31 numberLeadingPrefixDigits 0


numberLeadingPrefixDigitsToStrip 0 callType nationalType digitType national

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 18

set profiles digitParameterHandling prefixProfile CUST_PP entry 18 0 11 31 numberLeadingPrefixDigits 0


numberLeadingPrefixDigitsToStrip 1 callType nationalType digitType tollFree determineArea enable

set profiles digitParameterHandling prefixProfile CUST_PP entry 9 0 1 3 numberLeadingPrefixDigits 0


numberLeadingPrefixDigitsToStrip 0 callType nationalType digitType national

set profiles digitParameterHandling prefixProfile CUST_PP entry + 0 1 31 numberLeadingPrefixDigits 1


numberLeadingPrefixDigitsToStrip 1 callType internationalType digitType international dmPmRule
SIP_REMOVE_PLUS1 natureOfAddress international applyDmRule enable

set profiles digitParameterHandling prefixProfile CUST_PP entry 19 0 11 31 numberLeadingPrefixDigits 1


numberLeadingPrefixDigitsToStrip 1 callType nationalType digitType national

set profiles digitParameterHandling prefixProfile CUST_PP entry 011 0 2 31 numberLeadingPrefixDigits 3


numberLeadingPrefixDigitsToStrip 3 callType internationalType digitType international

commit

The output of show command for prefix profile is as given below:

admin@CUSTSBC% show profiles digitParameterHandling prefixProfile


CUST_PP entry 0 0 1 1

entry 0 0 1 1 {
callType nationalType;
digitType national;
dmPmRule "";
natureOfAddress none;
numberingPlanIndicator none;
numberLeadingPrefixDigits 0;
numberLeadingPrefixDigitsToStrip 0;
applyDmRule disable;
determineArea disable;
}

admin@CUSTSBC% show profiles digitParameterHandling prefixProfile


CUST_PP entry 17 0 11 31
entry 17 0 11 31 {
callType nationalType;
digitType national;
dmPmRule "";
natureOfAddress none;
numberingPlanIndicator none;
numberLeadingPrefixDigits 0;
numberLeadingPrefixDigitsToStrip 0;
applyDmRule disable;
determineArea disable;
}

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 19

admin@CUSTSBC% show profiles digitParameterHandling prefixProfile


CUST_PP entry 18 0 11 31
entry 18 0 11 31 {
callType nationalType;
digitType tollFree;
dmPmRule "";
natureOfAddress none;
numberingPlanIndicator none;
numberLeadingPrefixDigits 0;
numberLeadingPrefixDigitsToStrip 1;
applyDmRule disable;
determineArea enable;
}

admin@CUSTSBC% show profiles digitParameterHandling prefixProfile


CUST_PP entry 9 0 1 3
entry 9 0 1 3 {
callType nationalType;
digitType national;
dmPmRule “”;
natureOfAddress none;
numberingPlanIndicator none;
numberLeadingPrefixDigits 0;
numberLeadingPrefixDigitsToStrip 0;
applyDmRule disable;
determineArea disable;
}

admin@CUSTSBC% show profiles digitParameterHandling prefixProfile


CUST_PP entry + 0 1 31
entry + 0 1 31 {
callType internationalType;
digitType international;
dmPmRule SIP_REMOVE_PLUS1;
natureOfAddress international;
numberingPlanIndicator none;
numberLeadingPrefixDigits 1;
numberLeadingPrefixDigitsToStrip 1;
applyDmRule enable;
determineArea disable;
}

admin@CUSTSBC% show profiles digitParameterHandling prefixProfile


CUST_PP entry 19 0 11 31
entry 19 0 11 31 {
callType nationalType;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 20

digitType national;
dmPmRule “”;
natureOfAddress none;
numberingPlanIndicator none;
numberLeadingPrefixDigits 1;
numberLeadingPrefixDigitsToStrip 1;
applyDmRule disable;
determineArea disable;
}

admin@CUSTSBC% show profiles digitParameterHandling prefixProfile


CUST_PP entry 011 0 2 31
entry 011 0 2 31 {
callType internationalType;
digitType international;
dmPmRule "";
natureOfAddress none;
numberingPlanIndicator none;
numberLeadingPrefixDigits 3;
numberLeadingPrefixDigitsToStrip 3;
applyDmRule disable;
determineArea disable;
}

4) Numbering Plan
Create Numbering Plan by applying Prefix Profile created for customer side.

Parameter Description
CUST_NUM_PLAN Numbering Plan name on Customer side.

set profiles digitParameterHandling numberingPlan CUST_NUM_PLAN prefixProfile CUST_PP

set profiles digitParameterHandling numberingPlan CUST_NUM_PLAN prefixProfile CUST_PP lengths


nationalNumber min 0 max 0

set profiles digitParameterHandling numberingPlan CUST_NUM_PLAN prefixProfile CUST_PP lengths


subscriberNumber min 0 max 0

set profiles digitParameterHandling numberingPlan CUST_NUM_PLAN prefixProfile CUST_PP lengths line min 0 max
0

set profiles digitParameterHandling numberingPlan CUST_NUM_PLAN prefixProfile CUST_PP lengths exchangeCode


min 0 max 0

set profiles digitParameterHandling numberingPlan CUST_NUM_PLAN prefixProfile CUST_PP lengths areaCode min
0 max 0

commit

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 21

The output of show command for numbering plan is as given below:

admin@CUSTSBC% show profiles digitParameterHandling numberingPlan


CUST_NUM_PLAN
prefixProfile CUST_PP;
lengths {
nationalNumber {
min 0;
max 0;}
subscriberNumber {
min 0;
max 0;}
line {
min 0;
max 0; }
exchangeCode {
min 0;
max 0;}
areaCode {
min 0;
max 0;}
}

5) DM/PM Rule

Create DM/PM (digit/parameter manipulation) rule and apply it to ingressDmPmRule on


sip trunk group towards IP-PBX side. The purpose of this DM/PM rule is to convert 4-digit
‘Subscriber Number’ received in ‘Diversion’ header into 10-digit TN by prefixing with NPA-
NXX. This configuration will change based on the customer’s DDI range assigned by AT&T.
This must be AT&T IPFR recognizable TN.

The below example shows the conversion of 978-303-XXXX TNs, where subscriber numbers
(XXXX) are getting prefixed with 978-303 (NPA-NXX).

set profiles digitParameterHandling dmPmCriteria RDN_Exists criteriaType digit digitType redirecting


parameterPresenceCheck exists

set profiles digitParameterHandling dmPmRule RDN_Change subRule 0 criteria RDN_Exists ruleType digit
digitManipulation numberType originalCalledNumber digitStringManipulation replacement type constant digitString
callingNumber numberOfDigits 10 value 978303

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 22

commit

The output of show command for zone is as given below:

admin@CUSTSBC% show profiles digitParameterHandling dmPmRule RDN_Change

subRule 0 {
criteria RDN_Exists;
ruleType digit;
digitManipulation {
numberType originalCalledNumber;
numberParameterManipulation {
natureOfAddress none;
numberingPlanIndicator none;
numberLength noInput;
presentation none;
screening none;
includeInEgress none;
}
digitStringManipulation {
startDigitPosition 0;
numberOfDigits 0;
replacement {
type constant;
digitString callingNumber;
startDigitPosition 0;
numberOfDigits 10;
value 978303;
}
action none;
}
}

6) Sip Adaptor Profiles

The following SMM is applied on outputAdaptorProfile of sipTrunk associated to customer


network.

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 23

AT&T SIP Interface


IP-PBX SBX Internal Interface SBX External Interface
sipTrunk: CUST_TG sipTrunk: ATT_TG
PSP: 18, 0 PSP: 18, 0
AT&T

RMV-PCMU-UPDATE-DTMF
Applied as Output Adaptor Profile

(2) SIP: Requests/Reponse (1) SIP: Request/Response


mline: 18 0 100 mline: 18 0 100
mline: 18 100 aline: PCMU/8000
Rule 1
aline: PCMU/8000

(1) SIP: Request/Response


Mline: 18

(2) SIP: New Request/Response


mline: 18 100
aline: telephone-event/8000
aline: fmtp:100 0-15
Rule 2
OR

(1) SIP: Request/Response


Mline: 0

(2) SIP: New Request/Response


mline: 0 100
aline: telephone-event/8000
aline: fmtp:100 0-15

Rule 1: Removes PCMU codec from SDP for all incomng request from ATT
Rule 2: Includes DTMF payload type 100 in response if not available in request SDP from IP-
PBX

Parameter Description
RMV-PCMU-UPDATE-DTMF SMM rule for outputAdaptor profile of sipTrunk to CUST side

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 criterion 1 type message

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 criterion 1 message messageTypes all
methodTypes invite

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 criterion 2 type messageBody

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 criterion 2 messageBody condition regex-
match

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 24

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 criterion 2 messageBody regexp string
"(18\s0)"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 action 1 type messageBody operation
regsub from type "value" value "18 100"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 action 1 from type "value" value "18 100"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 action 1 to type messageBody


messageBodyValue all

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 action 1 regexp string "(18\s0\s100)"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 action 2 type messageBody operation
regdel

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 action 2 to type messageBody


messageBodyValue all

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 1 action 2 regexp string "a=rtpmap:0
PCMU/8000\\r\\n"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2 criterion 1 type message

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2 criterion 1 message messageTypes all
methodTypes "invite ack" statusCode 200

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2 action 1 type messageBody operation
regsub from type "value" value " 18 100\\r\\na=rtpmap:100 telephone-event/8000\\r\\na=fmtp:100 0-15\\r\\n"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2 action 1 from type "value" value " 18
100\\r\\na=rtpmap:100 telephone-event/8000\r\na=fmtp:100 0-15\\r\\n"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2 action 1 to type messageBody


messageBodyValue all

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2 action 1 regexp string " 18\\r\\n"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2 action 2 type messageBody operation
regsub from type value value "AVP 0 100\\r\\na=rtpmap:100 telephone-event/8000\\r\\na=fmtp:100 0-15\\r\\n"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2 action 2 from type value value "AVP 0
100\\r\\na=rtpmap:100 telephone-event/8000\\r\\na=fmtp:100 0-15\\r\\n"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2 action 2 to type messageBody


messageBodyValue all

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF rule 2 action 2 regexp string "AVP 0\\r\\n"

set profiles signaling sipAdaptorProfile RMV-PCMU-UPDATE-DTMF state enabled

commit

The output of show command for numbering plan is as given below

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 25

admin@CUSTSBC% show profiles signaling sipAdaptorProfile RMV-PCMU-


UPDATE-DTMF

state enabled;
rule 1 {
criterion 1 {
type message;
message {
messageTypes all;
methodTypes invite;
}
}
criterion 2 {
type messageBody;
messageBody {
condition regex-match;
regexp {
string "(18\s0)";
}
}
}
action 1 {
type messageBody;
operation regsub;
from {
type value;
value "18 100";
}
to {
type messageBody;
messageBodyValue all;
}
regexp {
string "(18\s0\s100)";
matchInstance one;
}
}
action 2 {
type messageBody;
operation regdel;
to {
type messageBody;
messageBodyValue all;
}
regexp {
string "a=rtpmap:0 PCMU/8000\\r\\n";
matchInstance one;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 26

}
}
}
rule 2 {
applyMatchHeader one;
applyMatchHdrRange undefined;
criterion 1 {
type message;
message {
messageTypes all;
methodTypes invite,ack;
statusCode 200;
statusRange 0;
}
}
action 1 {
type messageBody;
operation regsub;
from {
type value;
value " 18 100\\r\\na=rtpmap:100 telephone-
event/8000\\r\\na=fmtp:100 0-15\\r\\n";
}
to {
type messageBody;
messageBodyValue all;
}
regexp {
string " 18\\r\\n";
matchInstance one;
}
}
action 2 {
type messageBody;
operation regsub;
from {
type value;
value "AVP 0 100\\r\\na=rtpmap:100 telephone-
event/8000\\r\\na=fmtp:100 0-15\\r\\n";
}
to {
type messageBody;
messageBodyValue all;
}
regexp {
string "AVP 0\\r\\n";
matchInstance one;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 27

}
}
}

2.5.2. Configuring Address Context

Configure address context correspond to a specific IP Addressing domain. It includes


configuration of following entities on customer side:
1. IP Interface Group
2. Static route
3. Zone
4. SIP Signaling Port
5. IP Peer
6. SIP Trunkgroup

1) IP Interface Group

Create IP Interface Group on customer side and assign IP interface to the same. Also, assign
media ip/prefix of SBC to be used on customer side to this IP interface.

Parameter Description
CUSTIFG Media interface group name for customer
IPDOMAIN Address context name for customer domain
PKT1_V4 Media interface name for customer
pkt1 Gigabit Ethernet port used for signaling and media traffic towards customer
172.16.104.164 Media IP address of SBC towards customer
24 IP subnet prefix of media interface

set addressContext IPDOMAIN ipInterfaceGroup CUSTIFG

set addressContext IPDOMAIN ipInterfaceGroup CUSTIFG ipInterface PKT1_V4

set addressContext IPDOMAIN ipInterfaceGroup CUSTIFG ipInterface PKT1_V4 ceName CUSTSBC

set addressContext IPDOMAIN ipInterfaceGroup CUSTIFG ipInterface PKT1_V4 portName pkt1

set addressContext IPDOMAIN ipInterfaceGroup CUSTIFG ipInterface PKT1_V4 ipAddress 172.16.104.164 prefix 24

set addressContext IPDOMAIN ipInterfaceGroup CUSTIFG ipInterface PKT1_V4 mode inService state enabled

commit

The output of show command for ip interface group is as given below:

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 28

admin@CUSTSBC% show addressContext IPDOMAIN ipInterfaceGroup CUSTIFG


ipInterface PKT1_V4 {
ceName CUSTSBC;
portName pkt1;
ipAddress 172.16.104.164;
prefix 24;
mode inService;
state enabled; }

2) Static route

Create a Static route for the IP-PBX on Customer side. A static route indicates the nextHop
gateway and IP interface that is used for a particular peer network IP prefix.

Parameter Description
172.16.102.24 IP address of PBX on customer side
32 IP subnet prefix
172.16.104.1 Gateway IP

set addressContext IPDOMAIN staticRoute 172.16.102.24 32 172.16.104.1 CUSTIFG PKT1_V4 preference 100

commit

The output of show command for static route is as given below:

admin@CUSTSBC% show addessContext IPDOMAIN staticRoute


staticRoute 172.16.102.24 32 172.16.104.1 CUSTIFG PKT1_V4 {
preference 100;
}

3) Zone

Create Zone for customer domain and specify the id of the zone.

Parameter Description
CUST_ZONE Customer zone name

set addressContext IPDOMAIN zone CUST_ZONE id 2

commit

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 29

The output of show command for zone is as given below:

admin@CUSTSBC% show addressContext IPDOMAIN zone CUST_ZONE


id 2;

4) SIP Signaling Port

Create Sip Signalling Port with signaling ip/prefix of SBC to be used on customer side and
assign it to IP interface group.

Parameter Description
172.16.104.164 SIP signalling IP address of SBC towards customer
5060 SIP signalling port of SBC towards customer

set addressContext IPDOMAIN zone CUST_ZONE sipSigPort 1 ipInterfaceGroupName CUSTIFG ipAddressV4


172.16.104.164 portNumber 5060

set addressContext IPDOMAIN zone CUST_ZONE sipSigPort 1 ipInterfaceGroupName CUSTIFG


transportProtocolsAllowed sip-udp,sip-tcp

set addressContext IPDOMAIN zone CUST_ZONE sipSigPort 1 mode inService state enabled

commit

The output of show command for sip signaling port is as given below:

admin@CUSTSBC% show addressContext IPDOMAIN zone CUST_ZONE sipSigPort 1


ipInterfaceGroupName CUSTIFG;
ipAddressV4 172.16.104.164;
portNumber 5060;
mode inService;
state enabled;
transportProtocolsAllowed sip-udp,sip-tcp;

5) IP Peer

Create an IP Peer with signaling IP address of customer IP-PBX and assign it to customer
zone.

Parameter Description
CUST_IPP IP Peer name for customer IP-PBX

set addressContext IPDOMAIN zone CUST_ZONE ipPeer CUST_IPP ipAddress 172.16.102.24 ipPort 5060

commit

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 30

The output of show command for ip peer is as given below:

admin@CUSTSBC% show addressContext IPDOMAIN zone CUST_ZONE ipPeer


CUST_IPP
ipPeer CUST_IPP {
ipAddress 172.16.102.24;
ipPort 5060;
policy {
description ;
sip {
fqdn ;
fqdnPort 0;
}
packetServiceProfile ;
ipSignalingProfile ;
}

6) SIP Trunk Group

Create SIP Trunk Group towards customer IP-PBX and assign corresponding profiles on the
same.

Parameter Description
CUST_TG SIP Trunk towards Customer IP-PBX

set addressContext IPDOMAIN zone CUST_ZONE sipTrunkGroup CUST_TG media maxPtimeDefault 30


mediaIpInterfaceGroupName CUSTIFG sourceAddressFiltering disabled

set addressContext IPDOMAIN zone CUST_ZONE sipTrunkGroup CUST_TG signaling relayNonInviteRequest enabled

set addressContext IPDOMAIN zone CUST_ZONE sipTrunkGroup CUST_TG ingressIpPrefix 172.16.102.24 32

set addressContext IPDOMAIN zone CUST_ZONE sipTrunkGroup CUST_TG policy media packetServiceProfile
CUST_PSP

set addressContext IPDOMAIN zone CUST_ZONE sipTrunkGroup CUST_TG policy signaling ipSignalingProfile
CUST_IPSP

set addressContext IPDOMAIN zone CUST_ZONE sipTrunkGroup CUST_TG policy digitParameterHandling


numberingPlan CUST_NUM_PLAN

set addressContext IPDOMAIN zone CUST_ZONE sipTrunkGroup CUST_TG policy digitParameterHandling


ingressDmPmRule RDN_Change

set addressContext IPDOMAIN zone CUST_ZONE sipTrunkGroup CUST_TG signaling messageManipulation


outputAdapterProfile RMV-PCMU-UPDATE-DTMF

set addressContext IPDOMAIN zone CUST_ZONE sipTrunkGroup CUST_TG state enabled mode inService

commit

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 31

The output of show command for sip trunkgroup is as given below:

admin@CUSTSBC% show addressContext IPDOMAIN zone CUST_ZONE


sipTrunkGroup CUST_TG

state enabled;
mode inService;
policy {
carrier 0000;
country 1;
sipDomain ;
localizationVariant northAmerica;
digitParameterHandling {
numberingPlan CUST_NUM_PLAN;
ingressDmPmRule RDN_Change;
egressDmPmRule “”;
}
callRouting {
elementRoutingPriority DEFAULT_IP;
}
media {
packetServiceProfile CUST_PSP;
toneAndAnncouncementProfile ;
}
services {
classOfService DEFAULT_IP;
}
signaling {
ipSignalingProfile CUST_IPSP;
signalingProfile ;
}
signaling {
timers {
sessionKeepalive 0;
sessionMinSE 0;
}
messageManipulation {
outputAdapterProfile RMV-PCMU-UPDATE-DTMF;
}
relayNonInviteRequest enabled;
} media {
maxPtimeDefault 30;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 32

mediaIpInterfaceGroupName CUSTIFG;
sourceAddressFiltering disabled;
}
ingressIpPrefix 172.16.102.24 32;

2.6. ATT Side Configuration


2.6.1. Configuring Profiles

Create profiles with specific set of characteristics correspond to ATT network. It includes
configuration of following entities on ATT side.
1. Packet Service Profile
2. IP Signaling Profile
3. Prefix profile
4. Numbering Plan
5. DM/PM Rule
6. SIP Adaptor Profiles

1) Packet Service Profile

Create Packet Service Profile towards ATT side with G729A as a first codec and G711ulaw as
a second codec

Parameter Description
Packet Service Profile name towards ATT side with rtcp enabled and
ATT_PSP
preferred rtp payload for dtmf 100

set profiles media packetServiceProfile ATT_PSP codec codecEntry1 G729A_T38_2833 codecEntry2


G711Ulaw_T38_2833

set profiles media packetServiceProfile ATT_PSP t38 lowSpeedNumberOfRedundantPackets 0


numberOfRedundantPackets 0

set profiles media packetServiceProfile ATT_PSP rtcpOptions rtcp enable

set profiles media packetServiceProfile ATT_PSP preferredRtpPayloadTypeForDtmfRelay 100


honorRemotePrecedence enable

commit

The output of show command for packet service profile is as given below:

admin@CUSTSBC% show profiles media packetServiceProfile ATT_PSP


dataCalls {
preferredRtpDataPayloadType 56;
initialPlayoutBufferDelay 50;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 33

packetSize 0;
}
silenceFactor 40;
typeOfService 0;
voiceInitialPlayoutBufferDelay 10;
rtcpOptions {
rtcp enable;
terminationForPassthrough disable;
packetLossThreshold 0;
packetLossAction none;
}
peerAbsenceAction none;
silenceInsertionDescriptor {
g711SidRtpPayloadType 13;
heartbeat enable;
}
aal1PayloadSize 47;
codec {
codecEntry1 G729a_T38_2833;
codecEntry2 G711Ulaw_T38_2833;
codecEntry3 ;
codecEntry4 ;
}
packetToPacketControl {
transcode conditional;
conditionsInAdditionToNoCommonCodec {
differentDtmfRelay disable;
differentPacketSize disable;
differentSilenceSuppression disable;
honorOfferPreference disable;
}
codecsAllowedForTranscoding {
thisLeg “ “;
otherLeg “ “;
}
}
flags {
disallowDataCalls disable;
digitDetectSendEnabled disable;
useDirectMedia disable;
validatePeerSupportForDtmfEvents disable;
}
t38 {
dataRateManagementType type2TransferOfTcf;
ecm {
ecmPreferred disable;
}

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 34

lowSpeedNumberOfRedundantPackets 0;
maxBitRate 14.4Kbits_s;
numberOfRedundantPackets 0;
}
secureRtpRtcp {
cryptoSuiteProfile ;
flags {
allowFallback disable;
enableSrtp disable;
}
}
preferredRtpPayloadTypeForDtmfRelay 100;
videoCalls {
maxVideoBandwith 0;
videoBandwidthReductionFactor 0;
audioOnlyIfVideoIsPrevented enable;
}
mediaPacketCos 0;
honorRemotePrecedence enable;
sendRoutePSPPrecedence disable;

2) IP Signaling Profile
Create IP Signaling Profile with appropriate signaling flags towards ATT side

Parameter Description
ATT_IPSP IP Signalling Profile name on ATT side.

set profiles signaling ipSignalingProfile ATT_IPSP

set profiles signaling ipSignalingProfile ATT_IPSP commonIpAttributes flags


minimizeRelayingOfMediaChangesFromOtherCallLegAll enable sendAllAllowedCodecsForLateMediaInviteOrReInvite
enable sendPtimeInSdp enable

set profiles signaling ipSignalingProfile ATT_IPSP egressIpAttributes flags disable2806Compliance enable

set profiles signaling ipSignalingProfile ATT_IPSP egressIpAttributes privacy privacyInformation pAssertedId

set profiles signaling ipSignalingProfile ATT_IPSP ingressIpAttributes flags sendSdpIn200OkIf18xReliable enable


sendSdpInSubsequent18x enable

commit

The output of show command for ip signaling profile is as given below:

admin@CUSTSBC% show profiles signaling ipSignalingProfile ATT_IPSP


ipProtocolType sipOnly;
commonIpAttributes {
flags {

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 35

addPathServiceRoute disable;
callHoldInterworking disable;
clearmodeForDataCalls disable;
createPChargingVector disable;
createPathHeader disable;
createServiceRouteHeader disable;
customizedSessionTimerBehavior disable;
disableAlsoHeader disable;
disableHostTranslation disable;
disableMediaLockDown disable;
disableReferToUriParameters disable;
discardReceivedReasonHeader disable;
doNotIncludeSsAttributeInReInvite disable;
endToEndBye disable;
includeIpPortsInFromAndToHeaders disable;
includeReasonHeader disable;
includeSsAttributeInInitialInvite disable;
includeTransportTypeInContactHeader disable;
insertPeerAddressAsTopRouteHeader disable;
mapCauseLocation disable;
mapSuspendResumeEventInPSvcInfoHeader disable;
mapUuiInPSigInfoHeader disable;
mimeCausePrecedeReasonHeaderCause disable;
minimizeRelayingOfMediaChangesFromOtherCallLegAll enable;
noContentDisposition disable;
noPortNumber5060 enable;
noUserinfoInContactHeader disable;
onlySelectedCodecInSessionRefresh disable;
pChgMsgInfo disable;
replaceHostOnViaHeader disable;
reQueryPsxOnRegisterRefresh disable;
sdpOlineOnlyCompares disable;
sendAllAllowedCodecsForLateMediaInviteOrReInvite enable;
sendDirectMediaInfoInSdpAttribute disable;
sendPtimeInSdp enable;
sessionTimerRefreshUpdate disable;
setAcceptHeaderToApplicationSdpOnly disable;
setOlineDash disable;
setSessionVersionZero disable;
setSlineDash disable;
skipPsxQueryForRefer disable;
storePathHeader disable;
storeServiceRouteHeader disable;
terminalPortabilityInterworking disable;
sendRtcpPortInSdp disable;
}
callTransferFlags {

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 36

handleIpAddressesNotPresentInNetworkSelectorTableNst
routeViaTransferringIptg;
forceReRouteViaPsxQuery disable;
}
optionTagInRequireHeader {
suppressReplaceTag disable;
}
optionTagInSupportedHeader {
suppressReplaceTag disable;
}
relayFlags {
dialogEventPackage disable;
dtmfBody disable;
info disable;
message disable;
notify disable;
options disable;
regEventPackage disable;
refer disable;
sonusMediaBody disable;
statusCode3xx disable;
statusCode4xx6xx disable;
thirdPartyBodies disable;
force503to500Relay disable;
}
transparencyFlags {
alertInformationHeader disable;
authcodeHeaders disable;
contactHeader disable;
errorInfo disable;
fromHeader disable;
historyInfo disable;
maxForwardsHeader disable;
mwiBody disable;
pChargingVectorHeader disable;
pEarlyMedia disable;
pathHeader disable;
qsigBody disable;
reasonHeader disable;
referredByHeader disable;
requestURI disable;
routeHeader disable;
serviceRouteHeader disable;
sipBody disable;
sipfragBody disable;
toHeader disable;
toneBody disable;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 37

unknownBody disable;
unknownHeader disable;
viaHeader disable;
}
}
egressIpAttributes {
numberGlobalizationProfile ;
flags {
bgcfTargetSchemeTransparency disable;
convertInactiveToSendrecv disable;
disable2806Compliance enable;
disableOptionalRegisterParameters disable;
map181Or182MessageTo183 disable;
mapContractorNumberInPSigInfoHeader disable;
suppressUnregister disable;
ttcIsupMapping disable;
useCalledPartyInRequestUri disable;
useColonInSdpMediaTypeParameter disable;
validateIsubAddress disable;
}
bci {
bciInterworkEncountered disable;
bciIsdnAddess disable;
}
domainName {
useSipDomainNameInFromField disable;
useSipDomainNameInRequestUri disable;
}
isub {
allowNsapIsub disable;
allowUserSpecifiedIsub disable;
includeCalledPartyIsub disable;
includeCallingPartyIsub disable;
}
numberPortabilityAttributes {
npdiOptions includeNpdiYes;
disableRn disable;
}
privacy {
transparency disable;
privacyInformation pAssertedId;
flags {
includePrivacy enable;
privacyRequiredByProxy disable;
msLyncPrivacySupport disable;
}
}

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 38

redirect {
mode acceptRedirection;
contactHandling mergeReceivedContacts;
flags {
skipCrankbackProfileAndAlwaysCrankback disable;
forceRequeryForRedirection disable;
}
}
sipHeadersAndParameters {
callForwarding {
dataMapping diversion;
diversionHeaderTransparency disable;
}
includeChargeInformation includeNone;
destinationTrunkGroupOptions includeNone;
originatingTrunkGroupOptions includeNone;
flags {
includeCic disable;
includeCpcInformation disable;
includeNpi disable;
includeOlip disable;
includePKAdn disable;
includePstnParameters disable;
includeQvalue disable;
skipCSeqCheckInEarlyDialog disable;
transparencyForDestinationTrunkGroupParameter disable;
}
}
transport {
type1 none;
type2 none;
type3 none;
type4 none;
}
}
ingressIpAttributes {
flags {
sip181Supported disable;
sip182Supported disable;
mapCalledPartyCategoryInPSigInfoHeader disable;
noSdpIn180Supported disable;
registrationExpiresinExpiresHeader disable;
send183OnInitiatingDisconnectTreatment disable;
sendSdpIn200OkIf18xReliable enable;
sendSdpInSubsequent18x enable;
}
carrierInformation {

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 39

generateTerminatingCa disable;
generateTerminatingCic disable;
}
}

3) Prefix Profile
Create Prefix Profile with appropriate dial plan for handling incoming calls from ATT network.

Parameter Description
ATT_PP Prefix Profile name on ATT side.

set profiles digitParameterHandling prefixProfile ATT_PP entry 7 0 10 31 numberLeadingPrefixDigits 0


numberLeadingPrefixDigitsToStrip 0 callType nationalType digitType national determineArea enable

set profiles digitParameterHandling prefixProfile ATT_PP entry 9 0 10 31 numberLeadingPrefixDigits 0


numberLeadingPrefixDigitsToStrip 0 callType nationalType digitType national determineArea enable

commit

The output of show command for prefix profile is as given below:

admin@CUSTSBC% show profiles digitParameterHandling prefixProfile


ATT_PP entry 7 0 10 31
entry 7 0 10 31 {
callType nationalType;
digitType national;
dmPmRule "";
natureOfAddress none;
numberingPlanIndicator none;
numberLeadingPrefixDigits 0;
numberLeadingPrefixDigitsToStrip 0;
applyDmRule disable;
determineArea enable;
}

admin@CUSTSBC% show profiles digitParameterHandling prefixProfile


ATT_PP entry 9 0 10 31
entry 9 0 10 31 {
callType nationalType;
digitType national;
dmPmRule "";
natureOfAddress none;
numberingPlanIndicator none;
numberLeadingPrefixDigits 0;
numberLeadingPrefixDigitsToStrip 0;
applyDmRule disable;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 40

determineArea enable;
}

4) Numbering Plan
Create Numbering Plan by applying Prefix Profile created for ATT side.

Parameter Description
ATT_NUM_PLAN Numbering Plan name on ATT side.

set profiles digitParameterHandling numberingPlan ATT_NUM_PLAN prefixProfile ATT_PP

set profiles digitParameterHandling numberingPlan ATT_NUM_PLAN prefixProfile ATT_PP lengths nationalNumber


min 0 max 0

set profiles digitParameterHandling numberingPlan ATT_NUM_PLAN prefixProfile ATT_PP lengths subscriberNumber


min 0 max 0

set profiles digitParameterHandling numberingPlan ATT_NUM_PLAN prefixProfile ATT_PP lengths line min 0 max 0

set profiles digitParameterHandling numberingPlan ATT_NUM_PLAN prefixProfile ATT_PP lengths exchangeCode


min 0 max 0

set profiles digitParameterHandling numberingPlan ATT_NUM_PLAN prefixProfile ATT_PP lengths areaCode min 0
max 0

commit

The output of show command for numbering plan is as given below:

admin@CUSTSBC% show profiles digitParameterHandling numberingPlan


ATT_NUM_PLAN
prefixProfile ATT_PP;
lengths {
nationalNumber {
min 0;
max 0;}
subscriberNumber {
min 0;
max 0;}
line {
min 0;
max 0; }
exchangeCode {

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 41

min 0;
max 0;}
areaCode {
min 0;
max 0;}
}

5) DM/ PM Rule (for International calls from US)

Create DM/PM (digit manipulation/parameter manipulation) rule and apply it to


egressDmPmRule on sip trunk group towards ATT side. The purpose of the DM/PM rule is
to add a prefix of 011 to all the outgoing international calls dialed from US.

An example for this configuration is as shown below.

set profiles digitParameterHandling dmPmRule Add011 subRule 0 criteria SIP_MATCH_INTL_CD ruleType digit
digitManipulation digitStringManipulation replacement type constant value 011 digitString calledNumber
startDigitPosition 0 numberOfDigits 0

set profiles digitParameterHandling dmPmRule Add011 subRule 0 digitManipulation numberType calledNumber

commit

The output of show command for DM/PM rule is as given below:

admin@CUSTSBC% show profiles digitParameterHandling dmPmRule Add011


subRule 0 {
criteria SIP_MATCH_INTL_CD;
ruleType digit;
digitManipulation {
numberType calledNumber;
numberParameterManipulation {
natureOfAddress none;
numberingPlanIndicator none;
numberLength noInput;
presentation none;
screening none;
includeInEgress none;
}
digitStringManipulation {
startDigitPosition 0;
numberOfDigits 0;
replacement {
type constant;
digitString calledNumber;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 42

startDigitPosition 0;
numberOfDigits 0;
value 011;
}
action none;
}
}
}

admin@CUSTSBC% show profiles digitParameterHandling dmPmCriteria


SIP_MATCH_INTL_CD
criteriaType digit;
digitType calledNumber;
parameterPresenceCheck exists;
digitCriteria {
egressFlag {
value send;
operation ignore;
}
digitMatch {
value {
startDigitPosition 0;
numberOfDigits 0;
matchValue 0;
}
operation ignore;
}
natureOfAddress {
value international;
operation equals;
}
numberingPlanIndicator {
value data;
operation ignore;
}
numberLength {
value 0;
operation ignore;
}
presentationMatch {
value none;
operation ignore;
}
screeningMatch {
value none;
operation ignore;
}

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 43

6) SIP Adaptor Profile

Create SIP Adaptor Profile with appropriate cirteria/rules for manipulation of messages
traversing from Core side.

i. RMV-PCMU-FROM-RESPONSE

The following SMM is applied on inputAdaptorProfile of sipTrunk associated to ATT


network.

SBX Internal Interface AT&T SIP Interface


SBX External Interface
Customer side PBX sipTrunk: CUST_TG sipTrunk: ATT_TG
PSP: 18, 0 PSP: 18, 0
AT&T

RMV-PCMU-FROM-RESPONSE
Applied as Input Adaptor Profile

(2) SIP: 180/183/200 (1) SIP: 180/183/200


mline: 117 18 0 100 mline: 117 18 0 100
mline: 18 100 aline: PCMU/8000
Rule 1
aline: PCMU/8000

(2) SIP: INVITE


(1) SIP: INVITE
mline: 117 18 0 100 Rule 2
mline: 117 18 0 100
mline: 18 100
aline: PCMU/8000
aline: PCMU/8000

Rule 1: Removes PCMU payload type for SIP Responses: 180,183,200


Rule 2: Removes PCMU payload type for SIP INVITE method

Parameter Description
RMV-PCMU-FROM-RESPONSE SMM rule for inputAdaptor profile of sipTrunk to ATT side

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 criterion 1 type message

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 44

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 criterion 1 message messageTypes


responseAll

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 criterion 2 type messageBody

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 criterion 2 messageBody condition regex-
match

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 criterion 2 messageBody regexp string
"(18\s0)"

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 action 1 type messageBody operation
"regsub" from type value value 18

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 action 1 from type value value 18

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 action 1 to type messageBody


messageBodyValue all

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 action 1 regexp string "18 0"

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 action 2 type messageBody operation
regdel

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 action 2 to type messageBody


messageBodyValue all

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 1 action 2 regexp string "a=rtpmap:0
PCMU/8000\\r\\n"

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 criterion 1 type message

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 criterion 1 message messageTypes


requestAll

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 criterion 2 type messageBody

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 criterion 2 messageBody condition regex-
match

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 criterion 2 messageBody regexp string
"(18\s0)"

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 action 1 type messageBody operation
regsub from type value value 18

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 action 1 from type value value 18

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 action 1 to type messageBody


messageBodyValue all

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 action 1 regexp string "18 0"

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 45

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 action 2 type messageBody operation
regdel

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 action 2 to type messageBody


messageBodyValue all

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE rule 2 action 2 regexp string "a=rtpmap:0
PCMU/8000\\r\\n"

set profiles signaling sipAdaptorProfile RMV-PCMU-FROM-RESPONSE state enabled

commit

The output of show command for SMM Rule is as given below:

admin@CUSTSBC% show profiles signaling sipAdaptorProfile RMV-PCMU-FROM-


RESPONSE

state enabled;
rule 1 {
criterion 1 {
type message;
message {
messageTypes responseAll;
}
}
criterion 2 {
type messageBody;
messageBody {
condition regex-match;
regexp {
string "(18\s0)";
}
}
}
action 1 {
type messageBody;
operation regsub;
from {
type value;
value 18;
}
to {
type messageBody;
messageBodyValue all;
}
regexp {
string "18 0";
}

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 46

}
action 2 {
type messageBody;
operation regdel;
to {
type messageBody;
messageBodyValue all;
}
regexp {
string "a=rtpmap:0 PCMU/8000\\r\\n";
}
}
}
rule 2 {
criterion 1 {
type message;
message {
messageTypes requestAll;
}
}
criterion 2 {
type messageBody;
messageBody {
condition regex-match;
regexp {
string "(18\s0)";
}
}
}
action 1 {
type messageBody;
operation regsub;
from {
type value;
value 18;
}
to {
type messageBody;
messageBodyValue all;
}
regexp {
string "18 0";
}
}
action 2 {
type messageBody;
operation regdel;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 47

to {
type messageBody;
messageBodyValue all;
}
regexp {
string "a=rtpmap:0 PCMU/8000\\r\\n";
}

ii. UPDATE DTMF

This SMM rule is applied for outputAdaptorProfile of sipTrunk associated to ATT side.

Rule 1: Includes DTMF payload type 100 in request/response towards ATT if not available
from IP-PBX. Also, if message from CUCM contains a=sendonly, it will be converted to
a=sendrcv towards ATT

Parameter Description
UPDATE-DTMF SMM rule for OutputAdaptor profile of sipTrunk to ATT side

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 criterion 1 type message

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 criterion 1 message messageTypes all methodTypes
invite,ack statusCode 200

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 1 type messageBody operation regsub from type
value value "18 100\\r\\na=rtpmap:100 telephone-event/8000\\r\\na=fmtp:100 0-15\\r\\n"

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 1 from type value value "18
100\\r\\na=rtpmap:100 telephone-event/8000\r\na=fmtp:100 0-15\\r\\n"

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 1 to type messageBody messageBodyValue all

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 48

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 1 regexp string " 18\\r\\n"

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 2 type messageBody operation regsub from type
value value "AVP 0 100\\r\\na=rtpmap:100 telephone-event/8000\\r\\na=fmtp:100 0-15\\r\\n"

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 2 from type value value "AVP 0
100\\r\\na=rtpmap:100 telephone-event/8000\\r\\na=fmtp:100 0-15\\r\\n"

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 2 to type messageBody messageBodyValue all

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 2 regexp string "AVP 0\\r\\n"

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 3 type messageBody operation regsub from type
value value "a=sendrecv\\r\\n"

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 3 from type value value "a=sendrecv\\r\\n"

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 3 to type messageBody messageBodyValue all

set profiles signaling sipAdaptorProfile UPDATE-DTMF rule 1 action 3 regexp string "a=sendonly\\r\\n"

set profiles signaling sipAdaptorProfile UPDATE-DTMF state enabled

commit

The output of show command for SMM Rule is as given below:

admin@CUSTSBC% show profiles signaling sipAdaptorProfile UPDATE-DTMF


state enabled;
rule 1 {
criterion 1 {
type message;
message {
messageTypes all;
methodTypes invite,ack;
statusCode 200;
}
}
action 1 {
type messageBody;
operation regsub;
from {
type value;
value " 18 100\\r\\na=rtpmap:100 telephone-
event/8000\r\na=fmtp:100 0-15\\r\\n";
}
to {
type messageBody;
messageBodyValue all;
}
regexp {
string " 18\\r\\n";

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 49

}
}
action 2 {
type messageBody;
operation regsub;
from {
type value;
value "AVP 0 100\\r\\na=rtpmap:100 telephone-
event/8000\\r\\na=fmtp:100 0-15\\r\\n";
}
to {
type messageBody;
messageBodyValue all;
}
regexp {
string "AVP 0\\r\\n";
}
}
action 3 {
type messageBody;
operation regsub;
from {
type value;
value "a=sendrecv\\r\\n";
}
to {
type messageBody;
messageBodyValue all;
}
regexp {
string "a=sendonly\\r\\n";
}
}
}

2.6.2. Configuring Address Context

Configure address context correspond to a specific IP Addressing domain. It includes


configuration of following entities on customer side:
1. IP Interface Group
2. Static route
3. Zone
4. SIP Signaling Port
5. IP Peer
6. SIP Trunkgroup

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 50

1) IP Interface Group

Create IP Interface Group on ATT side and assign IP interface to the same. Also, assign
media ip/prefix to be used on ATT side to this IP interface.

Parameter Description
ATTIFG Media interface group name for ATT network
PKT2_V4 Media interface name for ATT network
Gigabit Ethernet port used for signaling and media traffic towards ATT
pkt2
network
32.252.34.18 Media IP address of SBC towards ATT
29 IP subnet prefix of media interface

set addressContext IPDOMAIN ipInterfaceGroup ATTIFG

set addressContext IPDOMAIN ipInterfaceGroup ATTIFG ipInterface PKT2_V4

set addressContext IPDOMAIN ipInterfaceGroup ATTIFG ipInterface PKT2_V4 ceName CUSTSBC

set addressContext IPDOMAIN ipInterfaceGroup ATTIFG ipInterface PKT2_V4 portName pkt2

set addressContext IPDOMAIN ipInterfaceGroup ATTIFG ipInterface PKT2_V4 ipAddress 32.252.34.18 prefix 29

set addressContext IPDOMAIN ipInterfaceGroup ATTIFG ipInterface PKT2_V4 mode inService state enabled

commit

The output of show command for ip interface group is as given below:

admin@CUSTSBC% show addressContext IPDOMAIN ipInterfaceGroup ATTIFG


ipInterface PKT2_V4 {
ceName CUSTSBC;
portName pkt2;
ipAddress 32.252.34.18;
prefix 29;
mode inService;
state enabled; }

2) Static route

Create a Static route for the ATT network. A static route indicates the nextHop gateway and
IP interface that is used for a particular peer network IP prefix.

Parameter Description
12.194.18.75 Primary IP address of ATT network.

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 51

12.194.20.75 Secondary IP address of ATT network.


32 IP subnet prefix
32.252.34.17 Gateway IP

set addressContext IPDOMAIN staticRoute 12.194.18.75 32 32.252.34.17 ATTIFG PKT2_V4 preference 100

set addressContext IPDOMAIN staticRoute 12.194.20.75 32 32.252.34.17 ATTIFG PKT2_V4 preference 100

commit

The output of show command for static route is as given below:

admin@CUSTSBC% show addessContext IPDOMAIN staticRoute


staticRoute 12.194.18.75 32 32.252.34.17 ATTIFG PKT2_V4 {
preference 100;
}
staticRoute 12.194.20.75 32 32.252.34.17 ATTIFG PKT2_V4 {
preference 100;
}

3) Zone

Create Zone for ATT domain and specify the id of the zone.

Parameter Description
ATT_ZONE ATT zone name

set addressContext IPDOMAIN zone ATT_ZONE id 3

commit

The output of show command for zone is as given below:

admin@CUSTSBC% show addressContext IPDOMAIN zone ATT_ZONE


id 3;

4) SIP Signaling Port

Create Sip Signalling Port and specify the SIP signaling IP and Signaling port. Also, assign
signaling ip/prefix to be used on ATT side to this IP interface.

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 52

Parameter Description
32.252.34.18 SIP signalling IP address of SBC towards ATT
5060 SIP signalling port of SBC towards ATT

set addressContext IPDOMAIN zone ATT_ZONE sipSigPort 2 ipInterfaceGroupName ATTIFG ipAddressV4


32.252.34.18 portNumber 5060

set addressContext IPDOMAIN zone ATT_ZONE sipSigPort 2 ipInterfaceGroupName ATTIFG


transportProtocolsAllowed sip-udp,sip-tcp

set addressContext IPDOMAIN zone ATT_ZONE sipSigPort 2 mode inService state enabled

commit

The output of show command for sip signaling port is as given below:

admin@CUSTSBC% show addressContext IPDOMAIN zone ATT_ZONE sipSigPort 2


ipInterfaceGroupName ATTIFG;
ipAddressV4 32.252.34.18;
portNumber 5060;
mode inService;
state enabled;
transportProtocolsAllowed sip-udp,sip-tcp;

5) IP Peer

Create an IP peer and specify the ATT IPBE (IP Border Element) IPs on ATT zone.

Parameter Description
ATT_IPP1 Primary IP address of the ATT network
ATT_IPP2 Secondary IP address of the ATT network

set addressContext IPDOMAIN zone ATT_ZONE ipPeer ATT_IPP1 ipAddress 12.194.20.75 ipPort 5060

set addressContext IPDOMAIN zone ATT_ZONE ipPeer ATT_IPP2 ipAddress 12.194.18.75 ipPort 5060

commit

The output of show command for ip peer is as given below:

admin@CUSTSBC% show addressContext IPDOMAIN zone ATT_ZONE ipPeer


ipPeer ATT_IPP1 {
ipAddress 12.194.20.75;
ipPort 5060;
policy {

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 53

description "";
sip {
fqdn "";
fqdnPort 0;
}
packetServiceProfile "";
ipSignalingProfile "";
}
}
ipPeer ATT_IPP2 {
ipAddress 12.194.18.75;
ipPort 5060;
policy {
description "";
sip {
fqdn "";
fqdnPort 0;
}
packetServiceProfile "";
ipSignalingProfile "";
}
}

6) SIP Trunk Group

Create SIP Trunk Group towards ATT network and assign corresponding profiles on the
same.

Parameter Description
ATT_TG Sip Trunk towards ATT domain.

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG media maxPtimeDefault 30


mediaIpInterfaceGroupName ATTIFG sourceAddressFiltering disabled

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG signaling relayNonInviteRequest enabled

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG ingressIpPrefix 12.194.20.75 32

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG ingressIpPrefix 12.194.18.75 32

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG policy media packetServiceProfile ATT_PSP

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG policy signaling ipSignalingProfile ATT_IPSP

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG policy digitParameterHandling


numberingPlan ATT_NUM_PLAN

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG policy digitParameterHandling


egressDmPmRule Add011

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 54

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG signaling message Manipulation
inputAdaptorProfile RMV-PCMU-FROM-RESPONSE

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG signaling message Manipulation
ouputAdaptorProfile UPDATE-DTMF

set addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup ATT_TG state enabled mode inService

commit

The output of show command for sip trunkgroup is as given below:

admin@CUSTSBC% show addressContext IPDOMAIN zone ATT_ZONE sipTrunkGroup


ATT_TG

state enabled;
mode inService;
policy {
carrier 0000;
country 1;
sipDomain ;
localizationVariant northAmerica;
digitParameterHandling {
numberingPlan ATT_NUM_PLAN;
ingressDmPmRule ;
egressDmPmRule Add011 ;
}
callRouting {
elementRoutingPriority DEFAULT_IP;
}
media {
packetServiceProfile ATT_PSP;
toneAndAnncouncementProfile ;
}
services {
classOfService DEFAULT_IP;
}
signaling {
ipSignalingProfile ATT_IPSP;
signalingProfile ;
}
}
signaling {
messageManipulation {
inputAdapterProfile RMV-PCMU-FROM-RESPONSE;
outputAdapterProfile UPDATE-DTMF;
}

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 55

relayNonInviteRequest enabled;
}
media {
maxPtimeDefault 30;
mediaIpInterfaceGroupName ATTIFG;
sourceAddressFiltering disabled;
}
ingressIpPrefix 12.194.18.75 32;
ingressIpPrefix 12.194.20.75 32;

2.7. Global Call Routing Configuration


2.7.1. Customer Side Routing

Configure call routing to select customer trunkgroup when call characteristics matches. It
includes configuration of following entities on customer side:

1) Routing Label

Create Routing Label to bind customer trunkgroup with customer IP peer

Parameter Description
CUST_RL Routing Label name on Customer side.

set global callRouting routingLabel CUST_RL routingLabelRoute 1 trunkGroup CUST_TG ipPeer CUST_IPP inService
inService

commit

The output of show command for routing label is as given below:

admin@CUSTSBC% show global callRouting routingLabel CUST_RL


overflowNumber ;
overflowNOA none;
overflowNPI none;
routePrioritizationType sequence;
script ;
action routes;
routingLabelRoute 1 {
trunkGroup CUST_TG;
ipPeer CUST_IPP;
proportion 0;
cost 1000000;
inService inService;
testing normal;
}

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 56

2) Route

Create Route to point to Customer routing label when call comes from ATT trunkgroup

set global callRouting route trunkGroup ATT_TG CUSTSBC standard Sonus_NULL 1 all all ALL none Sonus_NULL
routingLabel CUST_RL

commit

The output of show command for route is as given below:

admin@CUSTSBC% show global callRouting route


route trunkGroup ATT_TG CUSTSBC standard Sonus_NULL 1 all all ALL none
Sonus_NULL{
routingLabel CUST_RL }

2.7.2. ATT Side Routing

Configure call routing to select ATT trunkgroup when call characteristics matches. It
includes configuration of following entities on ATT side:

1) Routing Label

Create Routing Label to bind ATT trunkgroup with ATT IP peer.

Parameter Description
ATT_RL Routing Label name on ATT side.

set global callRouting routingLabel ATT_RL routingLabelRoute 1 trunkGroup ATT_TG ipPeer ATT_IPP1 inService
inService

set global callRouting routingLabel ATT_RL routingLabelRoute 2 trunkGroup ATT_TG ipPeer ATT_IPP2 inService
inService

commit

The output of show command for routing label is as given below:

admin@CUSTSBC% show global callRouting routingLabel ATT_RL


routingLabel ATT_RL {
overflowNumber "";
overflowNOA none;
overflowNPI none;
routePrioritizationType sequence;
script "";
action routes;
routingLabelRoute 1 {
trunkGroup ATT_TG;
ipPeer ATT_IPP1;

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 57

proportion 0;
cost 1000000;
inService inService;
testing normal;
}
routingLabelRoute 2 {
trunkGroup ATT_TG;
ipPeer ATT_IPP2;
proportion 0;
cost 1000000;
inService inService;
testing normal;
}
}

2) Route

Create Route to point to ATT routing label when call comes from Customer trunkgroup

set global callRouting route trunkGroup CUST_TG CUSTSBC standard Sonus_NULL 1 all all ALL none Sonus_NULL
routingLabel ATT_RL

commit

The output of show command for route is as given below:

admin@CUSTSBC% show global callRouting route


route trunkGroup CUST_TG CUSTSBC standard Sonus_NULL 1 all all ALL none
Sonus_NULL{
routingLabel ATT_RL
}
Create Route to point to ATT routing label when customer dials ‘Feature Access Codes’.

set profiles callRouting elementRoutingPriority DEFAULT_IP entry userName 2 entityType trunkGroup


commit

set global callRouting route trunkGroup CUST_TG CUSTSBC username *72 Sonus_NULL all all ALL none Sonus_NULL
routingLabel ATT_RL

set global callRouting route trunkGroup CUST_TG CUSTSBC username *73 Sonus_NULL all all ALL none Sonus_NULL
routingLabel ATT_RL

set global callRouting route trunkGroup CUST_TG CUSTSBC username *90 Sonus_NULL all all ALL none Sonus_NULL
routingLabel ATT_RL

set global callRouting route trunkGroup CUST_TG CUSTSBC username *91 Sonus_NULL all all ALL none Sonus_NULL
routingLabel ATT_RL

set global callRouting route trunkGroup CUST_TG CUSTSBC username *92 Sonus_NULL all all ALL none Sonus_NULL
routingLabel ATT_RL

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 58

set global callRouting route trunkGroup CUST_TG CUSTSBC username *93 Sonus_NULL all all ALL none Sonus_NULL
routingLabel ATT_RL

set global callRouting route trunkGroup CUST_TG CUSTSBC username *94 Sonus_NULL all all ALL none Sonus_NULL
routingLabel ATT_RL

set global callRouting route trunkGroup CUST_TG CUSTSBC username *95 Sonus_NULL all all ALL none Sonus_NULL
routingLabel ATT_RL

commit

The output of show command for route is as given below:

admin@IOTSBX3% show global callRouting route trunkGroup CUST_TG CUSTSBC


username
route trunkGroup CUST_TG CUSTSBC username *72 Sonus_NULL all all ALL
none Sonus_NULL {
routingLabel ATT_RL;
}
route trunkGroup CUST_TG CUSTSBC username *73 Sonus_NULL all all ALL
none Sonus_NULL {
routingLabel ATT_RL;
}
route trunkGroup CUST_TG CUSTSBC username *90 Sonus_NULL all all ALL
none Sonus_NULL {
routingLabel ATT_RL;
}
route trunkGroup CUST_TG CUSTSBC username *91 Sonus_NULL all all ALL
none Sonus_NULL {
routingLabel ATT_RL;
}
route trunkGroup CUST_TG CUSTSBC username *92 Sonus_NULL all all ALL
none Sonus_NULL {
routingLabel ATT_RL;
}
route trunkGroup CUST_TG CUSTSBC username *93 Sonus_NULL all all ALL
none Sonus_NULL {
routingLabel ATT_RL;
}
route trunkGroup CUST_TG CUSTSBC username *94 Sonus_NULL all all ALL
none Sonus_NULL {
routingLabel ATT_RL;
}
route trunkGroup CUST_TG CUSTSBC username *95 Sonus_NULL all all ALL
none Sonus_NULL {
routingLabel ATT_RL;}

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 59

3. CUCM Configuration
The CUCM 9.1 configuration which is used along with the Sonus SBC 5000 Series is as per
the details provided in the Cisco Configuration Guide:
AT&T IPFR-EF Service on MIS, MPLS PNT or AT&T VPN: Connecting Cisco Unified
Communications Manager 9.1 with Cisco Unified Border Element Release using SIP.
This guide is available online at the following location:
http://www.cisco.com/en/US/solutions/collateral/ns340/ns414/ns728/ns833/1190421.pdf
Following are the differences in the configuration as compared to those used in the CUCM
9.1 configuration guide provided above.
In the above doc, in the CUCM Configuration, there are 3 Regions, whereas in this setup
there shall be only one Default (G711) Region.

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.
SBC 5000 Series Configuration Guide 60

4. Troubleshooting
Call traces can be gathered on an individual call by call basis. This is enabled by creating a
Call Trace Filter on the SBC. When the filter is defined a calling and called number can be
entered to capture a single call. This data is viewed in the EMS with the Call Trace screen
within the Tools major screen.
Assistance for troubleshooting can be obtained by calling the Sonus TAC center at 1-888-391-
3434.
This Customer Configuration Guide ("CCG") is offered as a convenience to AT&T's
customers. The specifications and information regarding the product in this CCG are subject
to change without notice. All statements, information, and recommendations in this CCG are
believed to be accurate but are presented without warranty of any kind, express or implied,
and are provided “AS IS”. Users must take full responsibility for the application of the
specifications and information in this CCG.
In no event shall AT&T or its suppliers be liable for any indirect, special, consequential, or
incidental damages, including, without limitation, lost profits or loss or damage arising out
of the use or inability to use this CCG, even if AT&T or its suppliers have been advised of
the possibility of such damage

Copyright
Copyright ©© 2013,
2013, Sonus
Sonus Networks,
Networks, Inc. All
Inc. All rights rights reserved.
reserved.

You might also like