{workflow
In this section:
Related articles:
The Packet Service Profile supports up to four audio encoding entries, or Codecs, using ERE. The
In order to properly handle a call compression negotiation such as that described above, it is necessary to examine the codec list on both the local and remote gateway to find one or more codecs that are common to both. The precedence of the resultant codecs is controlled by the local precedence setting, or the precedence of the remote peer. This provisioning directive is provided by the honorRemotePrecedence
parameter.
See Packet Service Profile Provisioning Examples for provisioning examples.
The PSX supports configuring up to 12 codecs in the Packet Service Profile and Preferred Packet Service Profile. The SBC supports receiving all 12 codecs from the PSX in the PSP and Preferred PSP. This applies to interworking with an external PSX (Advanced ERE deployment scenario). See Routing and Policy Management for deployment scenario details. Additionally, the SBC supports up to 12 codecs over Gateway links to SBCs and/or GSXs. An SBC-POL-RTU license is needed to enable more than four codecs.
rtpmap
, fmtp
, and T38
fax
. The SBC also manages bandwidth for audio streams in pass-through calls. Audio transparency is controlled by the following PSP and Trunk Group parameters/flags.Packet Service Profile:
Enable transcoderFreeTransparency
for the session (enable on either of the PSPs)
Configure audioTransparency
settings
Enable/disable reserveBwForPreferredAudioCommonCodec
SIP Trunk Group:
Enable sdpAttributesSelectiveRelay
on both ingress and egress Trunk Groups that receive the relayed SDP
See SBC SIP Transparency Implementation Guide for transparency implementation details.
Both the
The following
% set profiles media packetServiceProfile <unique_profile_name> aal1PayloadSize <0-999> audioTransparency <unknownCodecBitRate | unknownCodecPacketSize> codec <codecEntry1-codecEntry12> <codec> dataCalls initialPlayoutBufferDelay <5-50> packetSize <10 | 20 | 30 | 40> preferredRtpDataPayloadType <0-127> dtls dtlsCryptoSuiteProfile <profile name> dtlsFlags allowDtlsFallback <disable | enable> enableDtlsSrtp <disable | enable> flags HDCodecPreferred <disable | enable> MatchOfferedCodecGroupIfNbOnly <disable | enable> digitDetectSendEnabled <disable | enable> disallowDataCalls <disable | enable> dscpPassthrough <disable | enable> forceRoutePSPOrder <disable | enable> interworkDtmfWithoutTranscoding <disable | enable> preferNBPassthruOverHDTranscode <disable | enable> reserveBwForPreferredAudioCommonCodec <disable | enable> ssrcRandomize <disable | enable> useDirectMedia <disable | enable> validatePeerSupportForDtmfEvents <disable | enable> honorRemotePrecedence <disable | enable> mediaPacketCos <0-7> packetToPacketControl codecsAllowedForTranscoding otherLeg <amr | efr | evrc | g711a | g711u | g722 | g726 | g729 | g7221 | g7222 | g7231 | ilbc | opus | t38> thisLeg <amr | efr | evrc | g711a | g711u | g722 | g726 | g729 | g7221 | g7222 | g7231 | ilbc | opus | t38> conditionsInAdditionToNoCommonCodec applyFaxToneTreatment <disable | enable> different2833PayloadType <disable | enable> differentDtmfRelay <disable | enable> differentPacketSize <disable | enable> differentSilenceSuppression <disable | enable> honorAnswerPreference <disable | enable> honorOfferPreference <disable | enable> transcode <conditional | determinedByPspForOtherLeg | only | transcoderFreeTransparency> peerAbsenceAction <none | peerAbsenceTrap | peerAbsenceTrapAndDisconnect> preferredRtpPayloadTypeForDtmfRelay <0-128> qosValues msrpDscp <0-255> rtcpOptions rtcp <disable | enable> packetLossAction <none | packetLossTrap | packetLossTrapAndDisconnect> packetLossThreshold <0-32767> terminationForPassThrough <disable | enable> secureRtpRtcp cryptoSuiteProfile <profile_name> flags allowFallback <disable | enable> allowPassthru <disable | enable> enableSrtp <disable | enable> resetEncDecROCOnDecKeyChange <disable | enable> resetROCOnKeyChange <disable | enable> updateCryptoKeysOnModify <disable | enable> sendRoutePSPPrecedence <disable | enable> silenceFactor <0-50> silenceInsertionDescriptor g711SidRtpPayloadType <0-127> heartbeat <disable | enable> t38 dataRateManagementType <type1LocalGenerationOfTcf | type2TransferOfTcf> ecm ecmPreferred <disable | enable> lowSpeedNumberOfRedundantPackets <0 | 1 | 2> maxBitRate <2.4Kbits_s | 4.8Kbits_s | 9.6Kbits_s | 14.4Kbits_s> numberOfRedundantPackets <0 | 1 | 2> protocolVersion <0 | 3> typeOfService <0-255> videoCalls audioOnlyIfVideoIsPrevented <disable | enable> codecListProfile <name> ieee8021QVLanCos <0-7> ipv4Tos <0-255> ipv6TrafficClass <0-255> maxVideoBandwith <0-50000> videoBandwidthReductionFactor <0-100> voiceInitialPlayoutBufferDelay <1-50>
The Packet Service Profile Parameters are as shown:
To configure RTCP options:
% set profiles media packetServiceProfile PSP-1 rtcpOptions rtcp enable % set profiles media packetServiceProfile PSP-1 rtcpOptions packetLossAction packetLossTrap % set profiles media packetServiceProfile PSP-1 rtcpOptions packetLossThreshold 10000 % commit % show profiles media packetServiceProfile PSP-1 rtcpOptions { rtcp enable; packetLossThreshold 10000; packetLossAction packetLossTrap; }
To configure PSP to transcoderFreeTransparency
on both legs:
% set profiles media packetServiceProfile PSP_INT packetToPacketControl transcode transcoderFreeTransparency % set profiles media packetServiceProfile PSP_EXT packetToPacketControl transcode transcoderFreeTransparency
To configure audioTransparecy feature on both legs:
% set profiles media packetServiceProfile PSP_INT audioTransparency unknownCodecBitRate 124 % set profiles media packetServiceProfile PSP_EXT audioTransparency unknownCodecBitRate 124 % set profiles media packetServiceProfile PSP_INT audioTransparency unknownCodecPacketSize 10 % set profiles media packetServiceProfile PSP_EXT audioTransparency unknownCodecPacketSize 10 % set profiles media packetServiceProfile PSP_INT flags reserveBwForPreferredAudioCommonCodec enable % set profiles media packetServiceProfile PSP_EXT flags reserveBwForPreferredAudioCommonCodec enable