(IMS 8.2) CSCF H248 Feature Training

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 43

Security Level:

IMS8.2 CSCF H248 Feature

Wang Jian (ID: 00114435)


www.huawei.com

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential


References

 IMSV200R006C03

SOR.Func.H248.001 CSCF H.248


Media Control Capability Solutions

 ETSI 283018

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 3


Upon completion of this course, you will be able
to understand:
 Background of the CSCF H248 media control
 Implementation principles of the CSCF H248
media control
 Data configuration of the CSCF H248 media
control

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 4


Chapter 1 Background of the CSCF H248
Media Control

Chapter 2 Implementation principles of the


CSCF H248 Media Control

Chapter 3 Data configurations of the CSCF


H248 Media Control

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 5


Chapter 1 Background of the CSCF H248
Media Control

1.1 Background and Reason of the CSCF


H248 Media Control

1.2 Application Scenarios of the CSCF H248


Media Control

1.3 Networking Schemes of the CSCF H248


Media Control

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 6


Background and Reason of the CSCF
H248 Media Control

 In versions earlier than 6.0C03, the CSCF controls the BGF to


implement media NAT and QoS functions through the SPDF.
Therefore, the SPDF must be deployed on the network, which
increases the networking complexity and deployment cost.
 In 6.0C03, the CSCF directly uses H248 to implement media control.
Thus, the SPDF is not required. This reduces the networking
complexity and also lowers the IMS deployment cost.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 7


Application Scenarios of the CSCF H248 Media Control

 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.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 8


Networking Schemes of CSCF H248 Media Control

AF AF AF AF AF AF
(P- CSCF A) (S- CSCF A) ( IBCF A) ( IBCF B) (S- CSCF B) (P- CSCF B)

Ia/Ix Ia/Ix Ia/Ix Ia/Ix

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.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 9


Chapter 2 Implementation Principles
of the CSCF H248 Media Control

2.1 Media NAT

2.2 Latching/Call Hold/Audit/Notify

2.3 Transcoding

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 10


Media NAT: Basic Concepts

1. Inner domain and Outer domain


Inner domain: For the P-CSCF, the inner domain is the domain where the access resides. For the IBCF, the inner
domain is the home IMS domain, namely, the local domain.
Outer domain: For the P-CSCF, the outer domain is the domain where the core side resides. For the IBCF, the outer
domain is the domain where the external network resides.
2. Local BGF and Remote BGF
Local: BGF
Remote: Peer BGF
3. SDP direction
Inner to outer: from the access side to the core side for the P-CSCF; from the local domain to the outer domain for
the IBCF.
Outer to inner: from the core side to the access side for the P-CSCF; from the outer domain to the local domain for
the IBCF.
4. TA, TC, and Context
TA: Termination end of the P-CSCF access side (outer domain for the IBCF)
TC: Termination end of the P-CSCF core side (local domain for the IBCF)
Context: Correlation between TA and TC

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 11


Media NAT: BGF NAPT-PT Model

TA TC
Access UL Gate Gate Local Core

 
DL
Local Core Peer Core

H.248
H.248Context
Context

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 12


Media NAT: Initial Session Establishment (1)

Example: Media NAT for the originating P-CSCF

SIP signaling
(SDP)
SIP signaling PCSCF PCSCF SIP signaling
(SDP) (SDP)

Ia interface
(H248)

Local end Local end


Peer end Inner Outer Peer end
UE1 TA C TC UE2
SBC
192.16.1.1 192.16.2.1 10.16.2.1 10.16.1.1
Port 4000 Port 3200 Port 5000 Port 3800
A1 A2 A3 A4

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 13


Media NAT: Initial Session Establishment (2)

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

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 14


Media NAT: Initial Session Establishment (3)
R1:
1. Upon receiving an INVITE(SDP Offer1) message, the P-CSCF sends a ADD Termination request to the
BGF to apply for the IP address and port number of the TC.
2. Based on the SDP direction and domain application instruction, the BGF assigns a local TC IP address and
includes the IP address in the REPLY message sent to the P-CSCF.
3. The P-CSCF changes the SDP to the TC address returned by the BGF and sends out the INVITE (SDP
Offer2) message.
R2:
1: Upon receiving the INVITE 1xx/2xx (SDP Answer2) message, the P-CSCF sends the ADD Termination
request to the BGF to apply for the TA address. The ADD Termination request contains the REMOTE
address of the caller.
2. Based on the SDP direction and domain application instruction, the BGF assigns a local TA address and
records the correlation between the local TA address and the remote address of the caller.
R3:
1. Upon receiving the response (containing the applied TA address) to the ADD Termination request, the P-
CSCF sends a Modify Termination message to the BGF, to update the correlation between the local
address and remote address of the TC.
2. The BGF records the correlation between the local TC address contained in the INVITE request and the
called remote address contained in the INVITE 1xx/2xx message.
3. The P-CSCF records the correlation between the TA/TC and Local/Remote address, changes the SDP to
the TA address returned by the BGF, and then forwards the INVITE 1xx/2xx (SDP Answer1) message.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 15


Media NAT: Initial Session Establishment (4)
SDP Offer:
1. UE1 sends an INVITE request carrying the SDP to the P-CSCF. The SDP contains the UE1 address: A1 192.16.1.1:4000.
2. The originating P-CSCF obtains the information such as SDP direction (inner to outer) and outer domain name, and then sends a ADD Termination message to the SBC.
3. Based on the SDP direction (inner to outer), the SBC determines that the address of the media upstream interface (on the core network side) must be applied; based on the
outer domain name, the SBC assigns a upstream interface address in the mapping network segment, that is, A3, and includes A3 to the REPLY message sent to the
originating P-CSCF.
4. Based on A3 returned by the SBC, the originating P-CSCF changes the address in the SDP to A3 10.16.2.1:5000 (after NAT conversion) and sends the address to the
called UE2 through the S-I-S-P procedure.
5. UE2 receives the INVITE message. The SDP contained in the INVITE message indicates the peer media address A3 10.16.2.1:5000, that is, the caller IP address after the
NAT conversion.
SDP Answer:
1. UE2 sends a 183 message. In the 183 message, the UE2-P-S-I-S-P SDP contains the UE2 IP address A4 (original called address), that is, 10.16.1.1:3800.
2. The originating P-CSCF obtains the information such as SDP direction (outer to inner), Inner domain name, and UE1 IP A1. Then, the originating P-CSCF sends the ADD
Termination message to the SBC.
3. Based on the SDP direction (outer to inner), the SBC determines that the address of the media downstream interface (on the access network side) must be applied; based
on the inner domain name, the SBC assigns a downstream interface address in the mapping network segment, that is, A2, and includes A2 to the REPLY message sent to
the originating P-CSCF. The SBC then records the mapping (A1,A2) between A2 (local address) and A1 (remote address).
4. Upon receiving the ADD Reply message from the SBC, the originating P-CSCF returns the Modify Termination message carrying the UE2 IP A4 and A3 (obtained from the
SDP offer) to update the correlation between A3 and A4. Then, the SBC records the correlation between A3 and A4 (A3,A4). Thus, the address pair (A1,A2) (A3,A4) is
stored on the SBC for replacing communication addresses of media streams.
5. Based on the address of the media downstream interface A2 contained in the ADD Reply message from the SBC, the originating P-CSCF changes the address in the SDP
to the IP address after NAT conversion, that is, A2 192.16.2.1:3200, and then sends A2 to the calling UE1.
6. UE1 receives the 183 message. The SDP in the message indicates the peer media address A2 192.16.2.1:3200.

SDP OFFER

SDP ANSWER

1 4 2 3

192.16.1.1 192.16.2.1 SBC 10.16.2.1 10.16.1.1


Port 4000 Port 3200 Port 5000 Port 3800
A1 A2 A3 A4

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 16


Media NAT: Initial Session Establishment (5)

Example: H248 Messages Exchanged in the Previous Slide


1. ADD Termination and ADD Reply messages exchanged for applying the A3 address in the SDP offer
procedure:

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
}}}}}}

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 17


Media NAT: Initial Session Establishment (6)
2. ADD Termination and ADD Reply messages exchanged for applying the A2 address in the SDP answer procedure:
ADD Termination
!/1 [154.4.8.80]:2945 T=1409286149{C=8{A=ip/1/${M{ST=1{O{MO=SR,RV=OFF,RG=OFF,bcp/bncchar=IP/RTP,ipdc/realm=11},L{v=0
c=IN IP4 $
m=audio $ RTP/AVP 8
},R{v=0
c=IN IP4 192.16.1.1 --------------------------------------A1
m=audio 4000 RTP/AVP 8
}}},E=1409351684{g/cause,nt/netfail}}}}

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
}}}}}}

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 18


Media NAT: Initial Session Establishment (7)
3. MOD Termination and MOD Reply messages exchanged for updating the A2 address in the SDP answer procedure:

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
}}}}}}

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 19


Media NAT

 Appendix:

H248Ëõд.txt

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 20


Chapter 2 Implementation Principles
of the CSCF H248 Media Control

2.1 Media NAT

2.2 Latching/Call Hold/Audit/Notify

2.3 Transcoding

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 21


Latching (1)

 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

Media Media streams


UE1 SBC UE2
streams

Address domain 1 Address domain 2 Address domain 3

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 22


Latching (2)

1. H248 message: Latching instruction


!/1 [154.4.8.80]:2955 T=1409286157{C=11{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
},R{v=0
c=IN IP4 10.10.10.10
m=audio 100 RTP/AVP 8
}}},E=1409351687{g/cause,nt/netfail},SG{ipnapt/latch{SY=BR,napt=LATCH}}}}}

2. H248 message: Relatching instruction


!/1 [154.4.8.80]:2945
T=1411383313{C=10{MF=ip/2/2501/130{M{ST=1{O{MO=IN,RV=OFF,RG=OFF,bcp/bncchar=IP/RTP},L{v=0
c=IN IP4 10.10.10.10
m=audio 100 RTP/AVP 8
}}},SG{ipnapt/latch{SY=BR,napt=RELATCH}}}}}

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 23


Call Hold (1)

 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).

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 24


Call Hold (2)
1. H248 message: Hold start indication
!/1 [154.4.8.80]:2945
T=1411383333{C=12{MF=ip/2/2501/130{M{TS{hi/fhi=START},ST=1{O{MO=SO,RV=OFF,RG=OFF,bcp/bncchar=IP/RT
P},L{v=0
c=IN IP4 10.10.10.10
m=audio 100 RTP/AVP 0
}},ST=10{O{MO=SR,RV=OFF,RG=OFF,bcp/bncchar=IP/RTP},L{v=0
c=IN IP4 10.10.10.10
m=video 200 UDP -
}}}}}}
2. H248 message: Hold end indication
!/1 [154.4.8.80]:2945
T=1411383351{C=12{MF=ip/2/2501/130{M{TS{hi/fhi=END},ST=1{O{MO=SR,RV=OFF,RG=OFF,bcp/bncchar=IP/RTP},L
{v=0
c=IN IP4 10.10.10.10
m=audio 100 RTP/AVP 0
}},ST=10{O{MO=SR,RV=OFF,RG=OFF,bcp/bncchar=IP/RTP},L{v=0
c=IN IP4 10.10.10.10
m=video 200 UDP -
}}}}}}

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 25


Audit (1)

 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

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 26


Audit (2)

1. H248 message: audit request


!/1 [154.4.8.80]:2945 T=1417019497{C=18{AV=ip/2/2501/130{AT{}}}}

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 27


Notify(1): Event Report

 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

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 28


Notify(2): Event Report

1. H248 message: nt/netfail (media aging) indication


!/1 [154.8.1.123]:2945 T=21{C=14{N=ip/2/2501/130{OE=1409351693{nt/netfail{ST=1}}}}}

2. H248 message: g/cause (session extreme long) indication


!/1 [154.8.1.123]:2945 T=24{C=16{N=ip/2/2501/130{OE=1409351697{g/cause}}}}

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 29


Chapter 2 Implementation principles
of the CSCF H248 Media Control

2.1 Media Nat

2.2 Latching/Call hold/Audit/Notify

2.3 Transcoding

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 30


Transcoding: Overview

 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.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 31


Transcoding: Operating Principle

 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.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 32


Transcoding: Basic Flow

The following figure shows the transcoding that the IBCF and I-BGF perform between domains IMS1 and IMS2.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 33


Transcoding: Basic Flow (2)

 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.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 34


Chapter 3 Configuration Related to
CSCF H248 Media Control

3.1 MGW Configuration

3.2 PCSCF Configuration

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 35


MGW Configuration
1. Configure the MGW.
 Configuration commands:
ADD MGW: ENTITYPE=P-CSCF, MGWID=33, TRNST=SCTP, MGWTYPE=SBC, CODECTYPE=TEXT, SPCATTR=SUPH248V3-1&SUPCODECCFG-
1&SUPMULTISTREAM-1;
 Function: To configure the MGW and its attributes
 Descriptions of the configuration items:
 ENTITYPE: Specifies the type of a network entity, for example, P-CSCF or BCF (IBCF).
 MGWTYPE: Specifies the type of an MGW, for example, SBC, UMG, or MRFP.
 CODECTYPE : Specifies whether the MGW supports the text or binary codec.
 MGWID: Identifies an MGW. It is used for CSCF products. The MGW ID ranges from 0 to 299. The IDs from 0 to 31 are reserved for the MRFP and 32-299 are
reserved for the SBCs, UMG8900s, and MRFPs controlled by the P-CSCF/IBCF.
 SPCATTR: Specifies the attributes supported by the MGW. For the P-CSCF or IBCF, only three options, that is, whether to support the IPDC, whether to support
multi-streams are available, and whether to support H248 V3, can be configured.
1) If the MGW is configured to support the IPDC, the inner or outer domain name is delivered through the ipdc/realm message; if the MGW is configured not to
support the IPDC, the inner or outer domain name is delivered through the interface field. For example, if the SDP direction is inner to outer and the core
network domain name is 99, then the termination ID delivered to the SBC is ip/2/99/$ (ip/2/$, ipdc/realm=99 if the IPDC is supported).
2) If the MGW is configured to support multi-streams, up to two m lines (BC components support up to two m lines each time) can be executed at a time for
operations related to the MGW; if the MGW is configured not to support multi-streams, only one m line can be executed at a time.
3) If H248 v3 support is configured, the MGW type must be SBC.

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.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 36


MGW Configuration (2)

3. Configure the transcoding capability set supported by the MRFP:


 Configuration command:
ADD MRFPRES: MRFPID=177, ACODEC=G711A-1&G711u-1, VCODEC=H263-1;
 Function: The P-CSCF/IBCF performs transocding judgment and processing based on the codecs in the SDP and the
transcoding capability set supported by the MRFP. (For example, in the case the SDP Offer carries Codec1 and the
MRFP supports Codec1 and Codec2, the P-CSCF/IBCF determines that transcoding can be performed and adds Codec2
to the SDP. In the case the SDP Offer carries Codec3 and the MRFP supports Codec1 and Codec2, the P-CSCF/IBCF
determines that transcoding cannot be performed and therefore does not modify t the SDP).
 Configuration item description:
 MRFPID: MRFP ID, which must be the same as the MGW ID specified in ADD MGW.
 ACODEC: Type of the audio codec that the MRFP can convert. For the P-CSCF and IBCF, only G711A,
G711u, G723_1, G729, AMR, AMR-WB, EVRC, and EVRCB can be configured.
 VCODEC: Type of the video codec that the MRFP can convert. For the P-CSCF and IBCF, only H263, H264,
and MPEG4 can be configured.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 37


Chapter 3 Data Configurations for the
CSCF to Support the H248 Interface

3.1 MGW Configurations

3.2 P-CSCF Configurations

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 38


P-CSCF Configurations: Basic
Configurations for Media NAT
Note: The configurations of the P-CSCF are basically the same as those for the P-CSCF to control bearers through the PDF. The only difference
is that the media domain name configuration needs to be noted .
1. Configure the attributes of the access network.
 Configuration command:
ADD PACN: ANID=1, ADDRID=0, ANDN="an1", ANT=LAN, UEIP="154.8.1.123", UEMASK="255.255.0.0", MEDNAT=Y, MEDIAV4DN="11";
 Function: To configure the access network ID to 1, enable media NAT for the access network, and set the media domain name of the access domain
(inner domain) to 11
 Descriptions of the configuration items:
 MEDNAT: Specifies that the media NAT is required for the access network.
 MEDIAV4DN: Specifies the media domain name of an access domain (inner domain). If the device type of the corresponding MGW is MRFP or
UMG8900, only numbers 1 to 99 can be configured.
2. Configure the attributes of the core network domain.
 Configuration command:
ADD PLNI: PID=0, PLNIID=0, MEDV4DN=“99";
 Function: To configure the media domain name of the core network domain (inner domain) to 99
 Descriptions of the configuration items:
 MEDIAV4DN: Specifies the media domain name of the core network domain (outer domain). If the device type of the corresponding MGW is MRFP
or UMG8900, only numbers 1 to 99 can be configured.
3. Configure the access network device.
 Configuration command:
ADD PADA: ANID=1, PADAID=1, DEVT=MGW, DEVID=33;
 Function: To configure the access network ID to 1, assign the MGW, and set MGW ID to 33

 Descriptions of the configuration item:


 DEVID: specifies the ID of an MGW, that is, the MGW ID configured by running ADD MGW.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 39


P-CSCF Configurations: Latching Configurations

1. Configure whether the P-CSCF allows the HOST NAT device.


 Configuration command:

MOD PCSCF: PID=0, HOSTNATEN=Y;


 Function: To configure whether the P-CSCF allows the HOST NAT device

 Descriptions of the configuration item:

 HOSTNATEN: Specifies whether the HOST NAT device is configured for the P-CSCF.

2. Configure the attributes of the access network.


 Configuration command:

MOD PACN: ANID=1, ISHOSTNAT=Y;


 Function: To configure whether the HOST NAT device is configured for the access network

 Descriptions of the configuration item:

 ISHOSTNAT: Specifies whether the HOST NAT device exists.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 40


PCSCF/IBCF Configurations: Session Release
Because of Exceptions of Media Streams

1. Configure the PCSCF/IBCF to release the session upon receiving the media stream
exceptions reported by the C-BGF/I-BGF
 Configuration command:

MOD SFP: INSPN=BCPARA4, MODTYPE=P1, BIT=0, BITVAL=0;


 Function: To configure the PCSCF/IBCF to release the session when the C-BGF/I-BGF
reports the exceptions that certain media streams are aged or an session is extreme long.
 Descriptions of the configuration item:

 Set the least significant bit of software parameter 4 of the BC to 1

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 41


P-CSCF Configurations: Transcoding Configuration

1. Configure whether the P-CSCF performs transcoding for users on the access network.
 Configuration command:

MOD PACN: ANID=1, TCPOINT=AUDIOCODEC-1&AUDIOPTIME-1&VIDEOCODEC-1&VIDEOPARAM-1;


 Function: Configure whether the P-CSCF performs transcoding for the users on the access network and in which scenarios transcoding is
required.
 Descriptions of the configuration item:
 TCPOINT: Based on the configuration and the SDP contents, the P-CSCF determines whether to instruct the bearer device to perform
transcoding.
1) AUDIOCODEC: Audio codec. The P-CSCF supplements the audio codec supported by the MGW (MRFP) in the current session to
the SDP Offer. After receiving the corresponding SDP Answer, the P-CSCF determines whether transcoding is required according
to the first codec in the media row. The judgment principles are as follows: If the codec already exists in the SDP Offer, no
transcoding is performed. If the codec is the one supplemented by the P-CSCF, transcoding needs to be performed.
2) AUDIOPTIME: Audio packaging time. According to the audio packaging time parameter in the audio media row in the SDP Offer a
nd SDP Answer, the P-CSCF determines whether the packaging time needs to be converted. If the packaging time setting in the S
DP Offer and that in the SDP Answer is different, the packaging time needs to be converted.
3) VIDEOCODEC: Video codec. The P-CSCF supplements the video codec supported by the MGW (MRFP) in the current session to
the SDP Offer. After receiving an SDP Answer, the P-CSCF determines whether transcoding is required according to the first code
c in the media row. The judgment principles are as follows: If the codec already exists in the SDP Offer, no transcoding is perform
ed. If the codec is the one supplemented by the P-CSCF, transcoding needs to be performed.
4) VIDEOPARAM: Video parameter. According to the video parameters, such as the resolution, frame rate, and bit rate, in the video
media row in the SDP Offer and that in the SDP Answer, the P-CSCF determines whether video parameter conversion is required.
If the video parameters in the SDP Offer and those in the SDP Answer are different, the video parameters need to be converted.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 42


IBCF Configurations: Transcoding Configuration

1. Configure whether the IBCF performs transcoding.


 Configuration command:
MOD BBCP: BCPID=1, TCPOINT=AUDIOCODEC-1&AUDIOPTIME-1&VIDEOCODEC-1&VIDEOPARAM-1;
 Function: Configure whether the IBCF performs transcoding and in which scenarios transcoding is required.
 Descriptions of the configuration item:
 TCPOINT: Based on the configuration and the SDP contents, the IBCF determines whether to instruct the bearer device to
perform transcoding.
1) AUDIOCODEC: Audio codec. The IBCF supplements the audio codec supported by the MGW (MRFP) in the current session
to the SDP Offer. After receiving the corresponding SDP Answer, the IBCF determines whether transcoding is required
according to the first codec in the media row. The judgment principles are as follows: If the codec already exists in the SDP
Offer, no transcoding is performed. If the codec is the one supplemented by the IBCF, transcoding needs to be performed.
2) AUDIOPTIME: Audio packaging time. According to the audio packaging time parameter in the audio media row in the SDP O
ffer and SDP Answer, the IBCF determines whether the packaging time needs to be converted. If the packaging time setting i
n the SDP Offer and that in the SDP Answer is different, the packaging time needs to be converted.
3) VIDEOCODEC: Video codec. The IBCF supplements the video codec supported by the MGW (MRFP) in the current session
to the SDP Offer. After receiving an SDP Answer, the IBCF determines whether transcoding is required according to the first
codec in the media row. The judgment principles are as follows: If the codec already exists in the SDP Offer, no transcoding i
s performed. If the codec is the one supplemented by the IBCF, transcoding needs to be performed.
4) VIDEOPARAM: Video parameter. According to the video parameters, such as the resolution, frame rate, and bit rate, in the v
ideo media row in the SDP Offer and that in the SDP Answer, the IBCF determines whether video parameter conversion is re
quired. If the video parameters in the SDP Offer and those in the SDP Answer are different, the video parameters need to be
converted.

HUAWEI TECHNOLOGIES CO., LTD. HUAWEI Confidential Page 43


Thank you!
www.huawei.com

You might also like