Each time a Sonus SBC 1000/2000 receives Whenever a
(SBC) receives an ISDN Progress/Alert/Connect or a SIP 183/180/200 message, it is translated to the outgoing leg of the call. Although it may appear that incoming messages are simply copied from incomging to outgoing leg, in fact, they are run through an internal translation table to determine precisely what to send (on the outgoing leg).
...
Looking at the diagram below:
- We can see an SIP INVITE to the Sonus SBC 1000/2000,
- Which results in the Sonus SBC 1000/2000 generating an ISDN Setup.
- As the ISDN network routes the call, it returns a PROGRESS to the Sonus SBC 1000/2000.
- In turn, the Sonus SBC 1000/2000 sends a 183 to the SIP endpoint.
Whether it sends the 183 with or without SDP, or whether it even sends a 183, is controlled by the Sonus SBC 1000/2000's internal, pre-programmed translation table. The internal translation table controls the translation for ISDN Progress/Alert/Connect messages, as well as SIP 18x/200 messages for calls ISDN to SIP, SIP to ISDN, and SIP to SIP.
...
| Image Modified |
|
How
...
Does the Message Translation Table work?
Although the internal translation table works for the majority of installations, it may be necessary to customize a translation. This is accomplished by creating an entry in the Message Translation table that
...
Below a Progress with no Progress Indicator (PI=0) is shown with it's matching Incoming Message configuration. Similarly, a Progress with PI=1 (Not end to end ISDN) is shown with it's matching Incoming Message configuration.
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Incoming Message Matching |
---|
| Image Modified |
|
Special Considerations for Incoming Matching
Info |
---|
title | What is _SDP Media Negotiation_? |
---|
|
SIP uses SDP to negotiate media connections. To establish a common media framework (codec, endpoint addresses, etc), an endpoint will send an SDP Offer - a list of the media that the endpoint can support. The recipient will Answer the SDP Offer with a list of media attributes that it endpoint will support for this particular session. Expand |
---|
| Click here to see an example of Media Negotiation |
---|
| Click here to see an example of Media Negotiation |
---|
| In the diagram below, an INVITE with SDP is sent to the Sonus SBC 1000/2000. This SDP is an Offer - a list of the media that the endpoint is offering to support. Later, the Sonus SBC 1000/2000 replies with a 183 with SDP, essentially Answering the Offer with a media list that is acceptable for communication. Once an SDP Offer has been Answered, the media is said to be Negotiated. Both sides are now able to send media based upon the negotiated SDP parameters. Caption |
---|
0 | Figure |
---|
1 | INVITE With SDP Sent To to Sonus SBC 1000/2000 |
---|
| |
|
|
The Media Input Matching Type
Some applications cannot accept additional SDPs once the media has been negotiated, so the Sonus SBC 1000/2000 includes an additional Incoming Message criteria that permits a translation to be matched based on whether media negotiation has been completed.
...
In the example below, the Early Media Status is set to Not Negotiated. As the SIP SDP Offer has not yet been answered, the media is indeed not yet negotiated and, therefore, the match passes. If the remaining Incoming Message matches as well, the translation entry will be used to translate the message to the SIP side.
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Early Media Status Set |
---|
|
|
...
| Image Modified |
|
In the example below, the Early Media Status is set to Negotiated. Since the media has yet to be negotiated (no SDP Answer has been sent), the match fails. That particular translation entry fails. The next translation entry, if there is one, will be checked.
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Early Media Status |
---|
|
|
...
| Image Modified |
|
In the example below, the media has been negotiated therefore Early Media Status will be matched. If the rest of the Incoming Message translation is matched, that translation will be used.
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Early Media Status Matched |
---|
| Image Modified |
|
Info |
---|
Expand |
---|
| The same Early Media Status configuration also works for SIP to SIP calls. Click here to see the Incoming Message configuration for SIP messages |
---|
| The same Early Media Status configuration also works for SIP to SIP calls. Click here to see the Incoming Message configuration for SIP messages |
---|
| Caption |
---|
0 | Figure |
---|
1 | Media Not Negotiated |
---|
| |
Caption |
---|
|
|
Caption |
---|
0 | Figure |
---|
1 | Not Match Early Media Status Of of Not Negotiated |
---|
| |
|
|
Early 183 and Negotiated Media
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Early 183 Enabled |
---|
| Image Modified |
|
Info |
---|
Setting the Early Media Status to ANY causes the translation to ignore the media state. |
...
- The first 183 matches the Incoming Message configuration and the corresponding Progress is sent based upon the Outgoing configuration.
- The second 183 also matches, but a Progress is not sent as the Outgoing translation configuration is set for No on Subsequent.
- The next SIP packet, 180 Ringing w/SDP, matches the Incoming Message and is translated accordingly. The SDP indicates early media is available, so the Sonus SBC 1000/2000 begins to receive/send media
- The subsequent 180 Ringing w/ SDP also matches in the Incoming configuration; however, it is not translated as the Outgoing is configured to No on Cut Through.
Panel |
---|
|
Caption |
---|
| Image Modified |
|
Info |
---|
The translation table above contains just two entries. Each time a packet arrives, each entry is tried sequentially in top-to-bottom order. |
...
The Media Cut Through parameter controls how the Sonus SBC 1000/2000 handles early media for calls that have:
...
Because the Media Cut Through is part of Message Translation (which is applied at the call route), it is possible to override the Signal Group-level Play Ringback setting. In the table below, note how the Media Cut Through configuration interacts with Sonus SBC 1000/2000's Ringback setting.
Ringback Configuration/ Media Cut Through | Yes on Early Media | Yes | No |
---|
Auto | Local Ringback until 1st Inband Media | Inband Media | Local Ringback |
Always | Local Ringback | Local Ringback | Local Ringback |
Never | Inband media | Inband Media | Always silent |
Panel |
---|
Remember that the Play Ringback function is only activated when the Sonus SBC 1000/2000 receives either ALERT or 180. |
...
Info |
---|
For ISDN-originated calls, configure the Media Cut Through to Yes on Early Media if you want the caller to hear inband ringing associated with 183w/SDP. |
Mismatching Input Translation Criteria
Below are some additional examples of ISDN messages and which Incoming Message configurations are matched and not matched.
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Incoming Message Configurations Matched |
---|
| Image Modified |
|
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Incoming Message Configurations Not Matched |
---|
| Image Modified |
|
Info |
---|
If no match is found, or no table is assigned to the call route, the message is translated using the internal translation table. |
Examples of Full Translations
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Full Translation Example 1 |
---|
| Image Modified |
|
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Full Translation Example 2 |
---|
| Image Modified |
|
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Full Translation Example 3 |
---|
| Image Modified |
|
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Full Translation Example 4 |
---|
| Image Modified |
|
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Full Translation Example 5 |
---|
| Image Modified |
|
Info |
---|
The above translation is a commonly used to generate ringback when the inbound leg does not provide ALERT or 180. |
...
Translation Tables are invoked at the Call Route level. The call route (below) is configured to use the Message Translation Table called msg xlation.
Panel |
---|
|
Caption |
---|
| Image Modified |
|
The msg xlation table contains two translation entries (detail for the second entry is displayed).
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | msg xlation Table |
---|
| Image Modified |
|
When a route containing a message translation table is used to route a call, each reply message is checked again the entries in the selected table.
...
For a listing of the pre-programmed Message Translations on the Sonus SBC 1000/2000, see Message Translation Reference.