(IMS 8.2) CSCF H248 Feature Training
(IMS 8.2) CSCF H248 Feature Training
(IMS 8.2) CSCF H248 Feature Training
IMSV200R006C03
ETSI 283018
The CSCF directly uses H248 to complete the end-to-end NAT, NAPT, Hosted NAT, and
NAPT-PT media control. Thus, the media traversal between the public and private
networks is available and the corresponding bearer control is also implemented.
The CSCF directly uses H248 to control the C-BGF/I-BGF for media transcoding.
AF AF AF AF AF AF
(P- CSCF A) (S- CSCF A) ( IBCF A) ( IBCF B) (S- CSCF B) (P- CSCF B)
Hosted-
C- BGF A Core I- BGF A I- BGF B
Core C- BGF B Hosted-
Nat A Nat A
Network A Network B
A1 A2 A3 A4 A5 B5 B4 B3 B2 B1
Phone A Phone B
In this figure, the P-CSCF/IBCF uses H248 to directly control the C-BGF/I-BGF to
implement the media NAPT-PT, QoS control, and media traversal between the public and
private networks. The network positions of the IBCF and the I-CSCF are the same, and
their functions are also similar. The only difference is that the IBCF controls the NAT
traversal between core network domains.
The P-CSCF/IBCF supports H.248 v2 and H.248 v3, and text and binary codec modes.
The P-CSCF/IBCF supports both multi-stream and single-stream modes.
2.3 Transcoding
TA TC
Access UL Gate Gate Local Core
DL
Local Core Peer Core
H.248
H.248Context
Context
SIP signaling
(SDP)
SIP signaling PCSCF PCSCF SIP signaling
(SDP) (SDP)
Ia interface
(H248)
P-CSCF/IBCF C-BGF/I-BGF
INVITE
SDP Offer1 Add Termination
R1 Context1
Reply
INVITE
SDP Offer2
INVITE 1xx/2xx
SDP Answer2
Add Termination
R2 Context2
Reply
Modify Termination
R3 Context1
Reply
INVITE 1xx/2xx
SDP Answer1
Media Media
SDP OFFER
SDP ANSWER
1 4 2 3
ADD Termination
!/1 [154.4.8.80]:2945 T=1409286145{C=${A=ip/2/$
{M{ST=1{O{MO=IN,RV=OFF,RG=OFF,bcp/bncchar=IP/RTP,ipdc/realm=99},L{v=0
c=IN IP4 $
m=audio $ RTP/AVP 8
}}},E=1409351681{g/cause,nt/netfail}}}}
ADD Reply
!/3 [154.8.1.123]:2945 P=1409286145{C=8{A=ip/2/2501/230{M{ST=1{L{v=0
c=IN IP4 10.16.2.1 ------------------------------A3
m=audio 5000 RTP/AVP 8
}}}}}}
ADD Reply
!/3 [154.8.1.123]:2945 P=1409286149{C=8{A=ip/1/2501/130{M{ST=1{L{v=0
c=IN IP4 192.16.2.1 -----------------------------A2
m=audio 3200 RTP/AVP 8
},R{v=0
c=IN IP4 192.16.1.1 ------------------------------A1
m=audio 4000 RTP/AVP 8
}}}}}}
MOD Termination
!/1 [154.4.8.80]:2945 T=1411383302{C=8{MF=ip/2/2501/230{M{ST=1{O{MO=SR,RV=OFF,RG=OFF,bcp/bncchar=IP/RTP},L{v=0
c=IN IP4 10.16.2.1 --------------------A3
m=audio 5000 RTP/AVP 8
},R{v=0
c=IN IP4 10.16.1.1 --------------------A4
m=audio 3800 RTP/AVP 8
}}}}}}
MOD Reply
!/3 [154.8.1.123]:2945 P=1411383302{C=8{MF=ip/2/2501/230{M{ST=1{L{v=0
c=IN IP4 10.16.2.1
m=audio 5000 RTP/AVP 8
},R{v=0
c=IN IP4 10.16.1.1
m=audio 3800 RTP/AVP 8
}}}}}}
Appendix:
H248Ëõд.txt
2.3 Transcoding
Hosted NAT
An NAT device is added between the terminal and the C-BGF. Thus, the space on the access network side is divided into two
different ones. The NAT device is called hosted NAT.
Latching
In a network with the hosted NAT, the IP address that the hosted NAT assigns for media streams cannot be known in
advance. Therefore, the C-BGF must wait until the terminal sends a package (the hosted NAT then will assign an IP address
in address domain 2), and then learns the initial package to obtain the IP address converted by the hosted NAT. This process
is called media latching.
Relatching
During SDP re-negotiation, once the media connection information changes, the P-CSCF sends a Relatching instruction to the
C-BGCF, requesting the C-BGF to implement the latching again to obtain the IP address after NAT conversion.
Note: Only the P-CSCF supports the hosted NAT device. The IBCF does not support the hosted NAT device. The SE2300
supports the latching instruction but the UMG8900 does not support.
SIP signaling
(SDP)
PCSCF PCSCF
SIP signaling SIP signaling
(SDP) (SDP)
NAT device
Problem
SBC media aging mechanism: If media streams of an session do not pass the SBC within a certain
period (media aging time limit), the SBC automatically deletes the session resources for protection.
During a call hold (callee on hold), if media streams do not pass the SBC and the call hold period
exceeds the media aging time limit, the media streams may become unavailable when the call resumes.
Solution
The SBC retains the media aging mechanism. Based on whether the call hold is implemented, the P-
CSCF delivers different media mapping operation instructions. That is, the P-CSCF includes the
parameter Call Hold Indication in the H248 message sent to the SBC. The parameter value START
(sent when the call hold begins) indicates that the call hold starts; the parameter value END (sent when
the call hold ends) indicates the call hold ends. During call hold, the SBC stops the media aging
detection for the call.
The call hold indication is used for the session level, that is, when a media stream of an session is held,
the SBC stops the aging detection for all media streams of the session.
Note: The SE2300 supports the call hold function and the UMG does not support the call hold function
(The UGM can hold a call for only five minutes).
The P-CSCF/IBCF sends a resource audit request to the C-BGF/I-BGF, to prevent the C-
BGF/I-BGF resources from being hanged up.
If the C-BGF/I-BGF does not receive the AuditValue message from the P-CSCF/IBCF
within a certain period, the C-BGF/I-BGF releases the call.
Upon receiving the AuditValue Reply message from the C-BGF/I-BGF, the P-CSCF/IBCF
stops the timer. If the operation result indicated by the AuditValue Reply message is
“Failed” or the P-CSCF/IBCF does not receive the AuditValue Reply message from the C-
BGF/I-BGF within a specific period, the P-CSCF/IBCF releases the call.
P-CSCF/IBCF C-BGF/I-BGF
AuditValue
R1
R2
Reply
R3
The bearer layer sends a NOTIFY message to the P-CSCF/IBCF when the bearer layer
detects that an session is extreme long or media streams are aged.
The P-CSCF/IBCF receives the NOTIFY message. If all media streams are aged or the
session is extreme long, the P-CSCF/IBCF sends a BYE message to both the originating
and terminating sides; if only certain media streams are aged or the session is extreme
long, the P-CSCF/IBCF determines whether to release the session based on the
configurations of software parameters.
P-CSCF/IBCF C-BGF/I-BGF
Notify
Reply
2.3 Transcoding
Integrated with fixed access and mobile access, the IMS network supports a number of access
technologies. The coding/decoding capabilities of terminals vary with access technologies. When the IMS
network interoperates with another network, the coding and decoding capabilities of the terminals on the
network may also be different. Terminals with different coding and decoding capabilities can interoperate
by using transcoding.
Currently, the CSC3300 products only support transcoding by controlling the MRFP.
Transcoding adopts the two-party call TC flow, which is similar to the NAPT-PT flow. The differences are
as follows:
1. In addition to modifying the SDP information by using the IP address and port number after
the NAT translation, the P-CSCF/IBCF supplements and modifies the codec in the SDP.
2. The codecs that the P-CSCF/IBCF delivers to both sides of the BGF are different.
3. In addition to establishing the NAPT-to-PT mapping, the BGF converts between the codecs
supported by the two sides.
When a codec is added, the codec is added to the end of the original codec of the calling party and
the original codec of the calling party remains unchanged. This minimizes transcoding.
After receiving an Answer message (Codecs 4 and 5), the P-CSCF/IBCF performs transcoding
judgment and processing according to codecs negotiated by the Offer and Answer. For details, see
the basic flow.
The following figure shows the transcoding that the IBCF and I-BGF perform between domains IMS1 and IMS2.
The IBCF delivers an Add request to apply for T1-side resources by using the Ix interface,
supplements the codec list (codec 2) in the SDP information according to the capabilities
(codec 1 and codec 2) of the I-BGF, and then forwards the INVITE message.
R2. The IBCF receives an INVITE response (SDP Answer). According to the result of the
negotiation between the SDP Offer and SDP Answer, the IBCF decides that transcoding
is required. The IBCF sends an Add request that carries the T2-side media information to
apply for T2-side resources.
R3. The IBCF delivers a Mod request that carries the T1-side media information.
R4. According to the media information about endpoints T1 and T2, the I-BGF decides
that transcoding is required.
R5. The IBCF modifies the SDP Answer and forwards the INVITE response.
2. Configure the H248 links between the MGW and the CSCF.
Configuration command:
ADD H248LNK: MGWID=33, TRNST=SCTP, LNKID=0, BSUMN=81, SLOCIP1="154.4.8.80", SLOCPORT=2955, SRMTIP1="154.8.1.123", SRMTPORT=2955;
Function : To configure the H248 links between the MGW and the CSCF
Descriptions of the configuration items:
SLOCIP1: Specifies the IP address of the P-CSCF or IBCF.
SRMTIP1: Specifies the IP address of the MGW.
HOSTNATEN: Specifies whether the HOST NAT device is configured for the P-CSCF.
1. Configure the PCSCF/IBCF to release the session upon receiving the media stream
exceptions reported by the C-BGF/I-BGF
Configuration command:
1. Configure whether the P-CSCF performs transcoding for users on the access network.
Configuration command: