October 30, 2024

H.248-based VoIP service Configure Huawei OLT

H.248-based VoIP service Configure Huawei OLT:

Service Requirements:

In an office located in China, the  MA5600T/MA5603T/MA5608Tthat adopts the H.248 protocol is newly deployed. Data plan and configuration, however, are not performed on the MGC (softswitch) connected to the MA5600T/MA5603T/MA5608T. The MA5600T/MA5603T/MA5608T is required to provide the following VoIP services: [boxads]

  • The common phone services are provisioned to 32 users (phones 0-31).
  • The polarity-reversal accounting is adopted.

Technology Diagram H.248-based VoIP service:

H.248-based VoIP service Configure Huawei OLT
H.248-based VoIP service Configure Huawei OLT

Prerequisite:

  • According to the actual network, a route from the MA5600T/MA5603T/MA5608T to the MGC must be configured to ensure that the MA5600T/MA5603T/MA5608Tand the MGC are reachable from each other.
  • Electronic switch 0 must be in  location-1(indicating that the system goes upstream through only the upstream board). Electronic switch 1 must be in location-0(indicating that the VoIP service is supported). For details about how to configure the electronic switch, see electro-switch.

Procedure:

Step 1: Add the upstream VLAN interface.

According to the data plan, configure standard VLAN 20 as the media and signaling upstream VLAN, add upstream port 0/19/0 to the VLAN, and configure the IP address of the Layer 3 interface to 10.10.10.10, which facilitates the configuration of the media and signaling IP address
pools.

Huawei-OLT(config)#vlan 20 standard
Huawei-OLT(config)#port vlan 20 0/19 0
Huawei-OLT(config)#interface vlanif 20
Huawei-OLT(config-if-vlanif20)#ip address 10.10.10.10 24
Huawei-OLT(config-if-vlanif20)#quit

[adsense]

Step 2: Configure the media and signaling IP address pools.

Add the IP address of the VLAN Layer 3 interface configured in the previous step to the media and signaling IP address pools respectively, which facilitates the selection of media and signaling IP addresses used for the services from the IP address pools. According to the data plan, IP address 10.10.10.10 is added to the media and signaling IP address pools, and the gateway IP address corresponding to the media IP address is 10.10.10.1.

Huawei-OLT(config)#voip
Huawei-OLT(config-voip)#ip address media 10.10.10.10 10.10.10.1
Huawei-OLT(config-voip)#ip address signaling 10.10.10.10
Huawei-OLT(config-voip)#quit

NOTE

  • You can configure the attributes of the H248 or MG interface only when the media IP address and the signaling IP address exist in the media and signaling IP address pools.
  •  The media IP address and the signaling IP address can be different. You can plan the IP addresses according to the actual network.

Step 3: Add an MG interface.

Add an MG interface to communicate with the MGC, which ensures that the MGC can control the call connection through the MG interface. According to the data plan, add MG interface 0, and configure the interface attributes.

Huawei-OLT(config)#interface h248 0

Are you sure to add MG interface?(y/n)[n]:y
Huawei-OLT(config-if-h248-0)#if-h248 attribute mg-media-ip1 10.10.10.10 mgip 10.10.10.10 mgport 2944 primary-mgc-ip1 10.10.20.20 primary-mgc-port 2944 code text transfer udp

Step 4: Configure the ringing mapping of MG interface 0.

Configure the user ringing mode. According to the data plan, the break-make ratios of the cadence ringing and the initial ringing are both 1:4. Therefore, the value of parameter cadence is 0, and the value of parameter initial ring is 4.

Huawei-OLT(config-if-h248-0)#mg-ringmode add 0 0 4

Step 5: Configure the TID format of PSTN users on MG interface 0.

Configure the TID generation mode. According to the data plan, the terminal prefix of PSTN users needs to be huawei, and the TID template adopts layering template 6.

Huawei-OLT(config-if-h248-0)#tid-format pstn prefix huawei template 6

Step 6: Enable the MG interface.

Reset the MG interface to make the MG interface register with the MGC (or to make the attributes of the MG interface take effect), so that the MG interface can work in the normal state. The MG interface can be enabled in different ways (see Parameters of the reset command). For a newly configure MG interface, enable the MG interface through cold start.

Huawei-OLT(config-if-h248-0)#reset coldstart
Are you sure to reset MG interface?(y/n)[n]:y
Huawei-OLT(config-if-h248-0)#quit

Step 7: Query the running status of the MG interface.

After the MG interface is interconnected with the MGC, the MG interface should be in the normal state, indicating that the MG interface can work in the normal state.

Huawei-OLT(config)#display if-h248 all

display if-h248 all
display if-h248 all

Step 8: Confirm the service board.

Confirm the ASPB board that carries services to ensure that the board can work in the normal state.

Huawei-OLT(config)#board confirm 0/3

Step 9: Configure the PSTN user data.

Add POTS users (phones 0-31) to ensure that users can go online.

Huawei-OLT(config)#esl user
Huawei-OLT(config-esl-user)#mgpstnuser batadd 0/3/0 0/3/31 0
Huawei-OLT(config-esl-user)#quit

Step 10: Configure the polarity reversal accounting function.

Configure the physical attributes of the PSTN port to which the users belong to support the polarity reversal pulse, so that the users can support the polarity reversal accounting.

Huawei-OLT(config)#pstnport
Huawei-OLT(config-pstnport)#pstnport attribute batset 0/3/0 0/3/31 reverse-pole-pulse enable
Huawei-OLT(config-pstnport)#quit

Step 11: Save the data.

Huawei-OLT(config)#save

[bodyads]

Full configuration H.248-based VoIP service:

Huawei-OLT(config)#vlan 20 standard
Huawei-OLT(config)#port vlan 20 0/19 0
Huawei-OLT(config)#interface vlanif 20
Huawei-OLT(config-if-vlanif20)#ip address 10.10.10.10 24
Huawei-OLT(config-if-vlanif20)#quit

Huawei-OLT(config)#voip
Huawei-OLT(config-voip)#ip address media 10.10.10.10 10.10.10.1
Huawei-OLT(config-voip)#ip address signaling 10.10.10.10
Huawei-OLT(config-voip)#quit

Huawei-OLT(config)#interface h248 0

Are you sure to add MG interface?(y/n)[n]:y
Huawei-OLT(config-if-h248-0)#if-h248 attribute mg-media-ip1 10.10.10.10 mgip 10.10.10.10 mgport 2944 primary-mgc-ip1 10.10.20.20 primary-mgc-port 2944 code text transfer udp

 Huawei-OLT(config-if-h248-0)#mg-ringmode add 0 0 4

Huawei-OLT(config-if-h248-0)#tid-format pstn prefix huawei template 6

Huawei-OLT(config-if-h248-0)#reset coldstart
Are you sure to reset MG interface?(y/n)[n]:y
Huawei-OLT(config-if-h248-0)#quit

Huawei-OLT(config)#board confirm 0/3

Huawei-OLT(config)#esl user
Huawei-OLT(config-esl-user)#mgpstnuser batadd 0/3/0 0/3/31 0
Huawei-OLT(config-esl-user)#quit

Huawei-OLT(config)#pstnport
Huawei-OLT(config-pstnport)#pstnport attribute batset 0/3/0 0/3/31 reverse-pole-pulse enable
Huawei-OLT(config-pstnport)#quit

Huawei-OLT(config)#save

Look Like bellow format in OLT:

H.248-based VoIP service Configuration Huawei OLT
H.248-based VoIP service Configuration Huawei OLT

Shahed

Hi! I am Shahed Israr. I try to help GPON Technology users with their queries and provide them with relevant and accurate information to the best of my ability. My main goal is to assist and enhance GPON Technology user and help people find the answers they're looking for quickly and easily.

Follow Me:
TwitterFacebookLinkedInPinterestGoogle PlusDiggYouTubeRedditDelicious

Visited 240 times, 1 visit(s) today

Comments

comments

Shahed

Hi! I am Shahed Israr. I try to help GPON Technology users with their queries and provide them with relevant and accurate information to the best of my ability. My main goal is to assist and enhance GPON Technology user and help people find the answers they're looking for quickly and easily.

View all posts by Shahed →

One thought on “H.248-based VoIP service Configure Huawei OLT

  1. I am not fully sure, because i am not implement this topic. but you can try it & if any problem occur please feedback this article.

    Thanks for your valuable comments.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

error: Content is protected !!