In this section:
The
Tones and announcements are configured by allocating a percentage of DSP cores to tones/announcements. If no transcoding is used, you may allocate up to 100% toward tones/announcements.
See DSP Channel Densities for SBC 5000 and 7000 Series for a comparison of different DSP card configurations for
Announcements are customized by provisioning announcement packages using Media Profile on the
When using an external PSX, the PSX returns the tones/announcement profile and announcement or tone to be played in policy/trigger response. The
Announcement files are stored in the directory: /var/log/sonus/sbx/announcements
For more information on configuring tones and announcements, see following:
When the SBC is configured to use an external PSX, there may be instances when hunt groups, or Automatic Call Distribution (ACD) groups, do not always operate as expected when the Tone and Announcement profile is used. A call can remain on-hold even after answering the call. PSX 09.02.01R000 and later can be configured using the parameters End To End Ack
and No CDR Change In End To End Ack
to resolve this. End To End Ack
must be enabled before enabling No CDR Change In End To End Ack
flag. See PSX Manager User Guide for configuration details.
The
Tones are customized by provisioning tone packages and tone profiles. The tone profile feature supports tone generation methods as described in Table 1.
For details to configure tone profiles, see below:
The
The
The
When configured to operate with an external PSX, local ring back tones are provisioned on the PSX on a per-trunk group basis. The PSX returns this information in a policy response.
In a pass-through call scenario, the
The call flow has the following configurations:
In a transcode call scenario, the
Delayed Ring Back Tones (DRBT) is when the SBC feeds a tone on receipt of a provisional response. However, it is delayed based on the monitoring criteria defined. When RTP/Media monitoring fails, (i.e. the SBC did not receive adequate RTP packets in the configurable monitoring timer window), the SBC will start generating early-media/tone locally.
An optional variation of DRBT is to play the ring back tone only if a 180 was received. This covers the scenarios where there is no need to generate early-media/tone by SBC unless the peer is already in a ringing state.
The SBC Core supports playing announcements that are stored in G.711ULaw format. The SBC Core is enhanced to support playing compressed tones directly without allocating DSP resources by playing the tones from the pre-encoded files with various combinations of tones and codec types. The tone files are created for the required tone types with different codec combinations and stored as .wav
files in the SBC. All these tones are stored with a ptime of 20 milliseconds.
The SBC Core includes the media profile tonesAsAnnouncement
which uses the following parameters to configure the announcement file to play LRBT for each codec entry:
toneType
codecType
segmentId
The existing Tone Profile references the toneType
in the tonesAsAnnouncement
profile, whereas the new object toneCodecEntry
references the codecType
. With this enhancement, the user can associate default Tone Profile or can create a customized Tone Profile and assign it to the toneType
of the toneAsAnnouncementProfile
. The flag announcementBasedTones
is included in toneAndAnnouncementProfile
configuration to play LRBT without using DSP resources.
The SBC supports playing tones for eight groups of codecs. If the required tone playback falls under one of the following codecs and the flag annoucementBasedTones
is enabled, the SBC must avoid allocating DSP resources and play a tone as an announcement. If the required tone playback does not fall under one of the following codecs and the flag annoucementBasedTones
is enabled, the SBC does not fall back to the DSP mode and continues the call without playing the tones.
amrwbOctetAligned (AMR-WB-OA, 9 variants)
amrBandwidthEfficient (AMR-NB-BWE, 8 variants)
amrOctetAligned (AMR-NB-OA, 8 variants)
EVS
The SBC supports play tone as announcements for tone type defRing only.
The SBC supports playing default ringtones with 45 different types of codec variants.
The compressed tone files are stored in the standard .wav
file format. The SBC uses the same naming convention for the compressed tone files as the announcement files. For example, in a sDDDDD.wav
file, where DDDDD is a decimal number from 1 to 65,535, the decimal number represents the segment ID of the file.
The announcement and the tone files share the 5-bit segment ID space, and thus, every file name must have a unique segment ID. The compressed tone files are stored in the same directory path as the announcement files (
/var/log/sonus/sbx/announcements)
. The tone file is played continuously until the tone is stopped due to a trigger.
The following table provides the .wav
file mapping information for the application announcements:
The .wav
files for tones other than g711 a and u law are in
The SBC supports playing tones when an Alert-Info (AI) header is received in the Legacy Mobile Station Domain (LMSD) format (Alert-Info: <http:/LMSD/tone?sig-id=rt>). The SBC is enhanced to play the LRBT without using DSP resources whenever it receives 180 with Session Description Protocol (SDP) answer with AI header (Alert-Info: <http:/LMSD/tone?sig-id=rt>). The Al header, present in the 180 ringing with SDP, carries the tone package information required by the SBC to play LRBT. To support this feature, the existing LRBT framework is enhanced.
The SBC supports generating LRBT when:
acceptAlertInfo
is enabled on the egress TG.announcementBasedTone
in the toneAndAnnouncementProfile
associated with the ingress TG is enabled.The SBC supports fallback to LMSD inter-working state, if the flag acceptAlertInfo
is enabled and the playing tone is failed. If the flag acceptAlertInfo
is not enabled, the SBC continues to process the call without playing a tone.
The SBC plays tones using the “lock down" preferred codec when the following flags are enabled:
sendOnlyPreferredCodec
(IPSP)
honorRemotePrecedence
(PSP)announcementBasedTones
The codec that is used for playing tone towards the ingress leg is based on whether the session is established as pass-through or transcoded. If the SBC receives SDP answer from the egress peer, the selected codec is the egress peer's preferred codec. However, the ingress peer's preferred codec is used to play the tone, if the session outcome is transcoding.
The SBC plays tones when it receives 180 responses with SDP for the egress peer preferred codec. When the 180 response is received without SDP from the egress peer, the SBC plays LRBT based on the existing LRBT implementation using the ingress peer preferred codec.
The SBC is enhanced to stop playing LRBT upon receipt of any of the following messages:
For more information on Tone and Announcement feature, refer to:
The SBC supports the following AI to PEM interworking functionality using the flag Tone playing is not dependent upon AI and PEM headers interworking. When a tone is configured on the SBC, If the flag When all the tone playing criteria are fulfilled, the SBC inserts PEM header as SENDRECV (PEM: SENDRECV) and sends it towards the ingress network. When the SBC fails to play tone, the SBC inserts PEM header as INACTIVE (PEM: INACTIVE) and sends it towards the ingress network. When tone is not configured on the SBC; and the IPSP flag If the flag The SBC supports interworking between a network supporting PEM header to a network supporting Al header. To support this functionality, the flag In case of PEM to AI interworking, the PEM must be supported on the egress leg. Explicit Early-Media-Authorization signifies that a given network publishes P-Early-Media header support in the INVITE request and requires "authorized" early media. These networks, unless explicit Early-Media-Authorization is received, discard early media from UAS. These networks expect the P-Early-Media header in the provisional responses from UAS to determine that early media received after this response is deemed to come from an authorized source. The SBC uses the following "early-media-authorization" status' on a per TG level: Note: The default status of early media authorization status shall be "No". The SBC supports PEM to AI interworking when PEM header is supported on the Trunk Group towards which 180 provisional response message is received and When the SBC receives 180 response with PEM header, while forwarding 180 response: If the SBC plays tone, the SBC inserts AI:rt and MSC plays the local tone The SBC supports PEM to PEM interworking when PEM header is supported on the Trunk Group towards which 180 provisional response message is received and PEM is supported on the Trunk Group towards which 180 provisional response message is sent. The SBC has flexibility for tone generation criteria, such as: The toneGenerationCriteria profile specifies conditions under which tone is generated. The conditions are as follows: For more information, refer to PSX-27491 Early Media Interworking The SBC monitors the RTP packets when all or either of the following conditions are met. Monitoring functionality is enhanced to cover additional interworking scenarios and allows the flexibility to monitor more than one RTP packet. The basic criteria for monitoring to begin is an SDP answer received from peer. The following configuration parameters are provided: If the packets_received count in the monitoring period is: CDMA MSCs, that are deployed currently, have certain inherent limitations with regard to Early Media. MSC’s exhibit the following behavior: The SBC is enhanced to play LRBT locally without considering PEM header. To achieve this functionality, the flag The SBC plays tone locally when it receives: The SBC is enhanced to continue playing the ringback tone after receiving an UPDATE message from the User Agent Server (UAS), rather than stopping the tone. The SBC then monitors the egress leg, stops the tone, if it receives an RTP packet or 200 OK message and opening the audio path in both directions. The UAS sends an UPDATE message, a codec upgrade, or a media hold. If the UPDATE message is due to a codec upgrade, the SBC continues playing the ringback tone using the new codec. If the SBC is not configured to continue playing the ringback tone after UPDATE, the caller may hear a very short ringback tone followed by a long period of silence until the final response is received. To achieve this functionality, the flag The SBC supports early media authorization in UPDATE, 200 OK to UPDATE, and PRACK messages towards the Trunk Group that supports PEM. UPDATE without PEM and forwards UPDATE without PEM header, when SBC is not playing tone. UPDATE without PEM and forwards UPDATE with PEM=sendrecv header, when SBC is playing tone (when RTP monitoring is configured). aiToPemInterworking
:aiToPemInterworking
is disabled, the SBC plays tone based on the LMSD format. For more information, refer to Tones and Announcements. aiToPemInterworking
is enabled, the SBC supports interworking between AI and PEM headers. The SBC plays tone when it receives AI header with sig-id=rt in the 180 provisioning response (either first 180 response or subsequent 180 response) from the Mobile Switching Center (MSC) (CDMA network). acceptAlertInfo
is enabled on the egress TG, and the INVITE message is received with PEM: SUPPORTED,aiToPemInterworking
is disabled, the SBC falls back to the existing LMSD interwoking functionality. For more information, refer to LMSD Interworking without Tones. aiToPemInterworking
is enabled, the SBC supports interworking between AI header (received in the LMSD format) and PEM header.
P-Early Media to Alert-Info Header Interworking
aiToPemInterworking
is used in the IP Signaling Profile. The SBC performs PEM to AI interworking once the 180 response is received with PEM header, while forwarding 180 response. If the peer does not explicitly provide early media authorization using a PEM header in 180 response with SDP answer, the SBC monitors the RTP traffic from the egress TG and performs a cut-through if RTP is received from the egress. To support this functionality, the flag monitorRTP
is added to the SIP Trunk Group.Explicit Early-Media-Authorization or Gating
Interworking between PEM and AI Headers
acceptAlertInfo
flag is enabled on the Trunk Group towards which 180 provisional response message is sent.if the SBC plays tone, the SBC inserts AI header with sig-id=null.In case of subsequent 180 response without SDP and PEM header is not received in previous provisional response, the PEM is assumed to be inactive:if the SBC does not play tone, the SBC inserts AI header with sig-id=rt.if the SBC plays tone, the SBC inserts AI header with sig-id=null.In case of subsequent 180 response with or without SDP and PEM header is received in previous provisional response:if the SBC does not play tone and previous PEM is inactive, the SBC inserts AI header with sig-id=rt.if the SBC does not play tone and previous PEM is sendonly or sendrecv, the SBC inserts AI header with sig-id=null. if the SBC plays tone, the SBC inserts AI header with sig-id=null. PEM to PEM Interworking
monitorRTP
is enabled, the SBC forwards 180 response without PEM and monitors RTP.monitorRTP
is enabled, the SBC inserts PEM sendrecv provided any of the previous provisional response did not receive PEM while sending 180 response towards ingress.if the SBC receives PEM with sendrecv/sendonly, the SBC does not play tone and relays the received PEM header towards ingress.Tone Generation Profile
Monitoring RTP
defaultGatingMethod
is set as none
. For more information on the flag defaultGatingMethod
, refer to SIP Trunk Group - Media - CLI. Monitoring Profile
Calls Originated from CDMA
Playing Tone Locally
withOrWithOutSdp
is added to the toneAndAnnouncementProfile
. withOrWithOutSdp
is not available for Forced and Dynamic LRBT flavors.SBC does not Stop Playing Tone when UPDATE is Received from the UAS
monitorRtpOnEgressUpdate
is added to the egressIpAttributes
of the IP Signaling Profile.