- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-GPON VoIP configuration | 146.41 KB |
Restrictions and guidelines: GPON VoIP configuration
Configuring the IAD module on an ONU
Configuring the voice VLAN operation mode on an ONU
Bringing up a VoIP port on an ONU
Configuring heartbeat parameters for the voice service on an ONU
Configuring the fax and modem services' transmission modes on an ONU
Specifying SIP registrar servers for an ONU
Specifying SIP proxy servers for an ONU
Configuring SIP digit maps for an ONU
Specifying the port number of the SIP media gateway for an ONU
Specifying the outbound SIP server for an ONU
Display and maintenance commands for GPON VoIP
GPON VoIP configuration examples
Example: Configuring SIP voice for ONUs attached to an OLT
Configuring GPON VoIP
Restrictions and guidelines: GPON VoIP configuration
Support for the features depends on the ONU model.
GPON is supported only on the default MDC. For more information about the default MDC, see MDC configuration in Virtual Technologies Configuration Guide.
Before you configure the IAD module on an ONU, complete one or multiple of the following tasks:
· Configuring the voice VLAN operation mode on an ONU
· Configuring the fax and modem services' transmission modes on an ONU
· Specifying SIP registrar servers for an ONU
· Specifying SIP proxy servers for an ONU
· Configuring SIP digit maps for an ONU
· Specifying the port number of the SIP media gateway for an ONU
· Specifying the outbound SIP server for an ONU
Configuring basic GPON VoIP
GPON VoIP tasks at a glance
To configure basic GPON VoIP, perform the following tasks:
1. Configuring the IAD module on an ONU
2. Configuring the voice VLAN operation mode on an ONU
3. Bringing up a VoIP port on an ONU
4. (Optional.) Configuring heartbeat parameters for the voice service on an ONU
5. (Optional.) Configuring the fax and modem services' transmission modes on an ONU
Configuring the IAD module on an ONU
About this task
The Integrated Access Device (IAD) module acts as the gateway of the VoIP or FoIP media. Under the control of the SIP server or the Media Gateway Controller (MGC), IAD converts the analog voice data to IP data, transmits the IP data over the IP network, and completes call exchange between the calling and called parties.
You can configure the IP address of the IAD module on an ONU remotely.
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Configure the IP address of the IAD module on the ONU.
¡ Manually assign an IP address.
iad address ip-address { mask-length | mask } gateway gateway
¡ Obtain an IP address through DHCP.
iad address dhcp-alloc
By default, no IP address is configured for the IAD module of an ONU.
Configuring the voice VLAN operation mode on an ONU
About this task
The voice VLAN feature enables the device to transmit voice packets on an ONU in a dedicated VLAN. Use this feature to guarantee the transmission of voice packets when a network congestion occurs.
The device supports the following voice VLAN modes:
· Transparent mode—The ONU directly sends voice packets to the OLT without tagging the packets. As a best practice, do not use this mode.
· VLAN tagging mode—The ONU tags voice packets with a VLAN ID.
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Configure the operation mode for the voice VLAN feature.
¡ Configure transparent mode.
undo voice vlan
¡ Configure VLAN tagging mode.
voice vlan cvlan-id [ priority priority ]
By default, the voice VLAN feature operates in transparent mode.
Bringing up a VoIP port on an ONU
About this task
You can remotely bring up a VoIP port on an ONU from an OLT.
An ONU might identify physical VoIP ports as POTS or FXS interfaces. Support for POTS and FXS interfaces depends on ONU model.
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Bring up a VoIP port on the ONU.
undo voip-port port-number shutdown
By default, VoIP ports on an ONU are shut down.
Configuring heartbeat parameters for the voice service on an ONU
About this task
An ONU sends a keepalive packet to the SIP server or MGC at the specified time interval (heartbeat interval). If the ONU does not receive a response from the server after the specified number of heartbeat intervals, the ONU considers the link to the SIP server or MGC disconnected.
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Configure heartbeat parameters for the voice service on an ONU.
voip heartbeat cycle interval
By default, the heartbeat interval is 60 seconds and the heartbeat count is 3 for the voice service on an ONU.
Configuring the fax and modem services' transmission modes on an ONU
About this task
An ONU supports the following transmission modes for the fax and modem services:
· T.38—Fax-dedicated transmission mode. The ONU encodes the fax signals into data and then sends the data to the peer device over an IP network. The peer fax machine decodes the data into fax signals upon receiving the data. This mode features in low bandwidth usage and high transmission efficiency.
· Transparent—Pass-through transmission mode, also called T30 mode. The ONU directly sends the fax signals to the peer fax machine over a PSTN network. This mode features in simple implementation and low transmission latency. However, it might suffer from packet loss and network jitter.
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Configure the transmission mode for the fax and modem services on the ONU.
voip fax-modem transmission-mode { t38 | transparent }
By default, the transparent mode is used for the fax and modem services on an ONU.
Configuring GPON SIP
GPON SIP tasks at a glance
To configure GPON SIP, perform the following tasks:
1. Specifying SIP registrar servers for an ONU
2. Specifying SIP proxy servers for an ONU
3. Configuring SIP digit maps for an ONU
5. (Optional.) Specifying the port number of the SIP media gateway for an ONU
6. (Optional.) Specifying the outbound SIP server for an ONU
Specifying SIP registrar servers for an ONU
About this task
A SIP registrar server receives and manages registration from SIP users on Onus.
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Specify SIP registrar servers for the ONU. Choose the options to configure as needed:
¡ Specify the primary SIP registrar server.
voip sip registrar-server ip ip-address [ port port ]
¡ Specify the backup SIP registrar server.
voip sip registrar-server standby ip ip-address [ port port ]
By default, no SIP registrar servers are specified for an ONU.
4. (Optional.) Set the SIP user registration interval for the ONU.
voip sip registration-interval interval
By default, an ONU registers SIP users with the SIP registrar server at the interval of 3600 seconds.
As a best practice, use the default setting.
Specifying SIP proxy servers for an ONU
About this task
A SIP proxy server forwards requests and responses from SIP users, performs AAA on SIP users, and provides call control.
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Specify SIP proxy servers for the ONU. Choose the options to configure as needed:
¡ Specify the primary SIP proxy server.
voip sip proxy-server ip ip-address [ port port ]
¡ Specify the backup SIP proxy server.
voip sip proxy-server standby ip ip-address [ port port ]
By default, no SIP proxy servers are specified for an ONU.
Configuring SIP digit maps for an ONU
About this task
A digit map is a dial plane used to restrict outgoing calls that can be placed on an ONU. If the dialed number does not meet the requirements of a digit map, the call cannot be placed.
A digit map can include the following characters:
· Digits 0 to 9.
· DTMF signs—Pound sign (#), asterisk sign (*), A, B, C, and D. These are functional keys on telephones.
· Wildcard character—X. It is used to match any digit.
· Range characters—Includes left square bracket ([), right square bracket (]), and hyphen (-). For example, range [*#] indicates asterisk sign (*) or pound sign (#) and range [0-9] indicates any digit in the range of 0 to 9.
· Position character—Dot (.). If a dot is included in a digit map, it indicates that the preceding digit appears one or more times.
· Digit map delimiter—Vertical bar (|). A digit map can include multiple dial plans separated by the delimiter, for example, 1xxx|3xxx.
· Timer—T, S, or L.
Restrictions and guidelines
The device issues the configured digit maps to ONUs. Support for digit maps depends on the ONU model. Interpretation of digit maps varies by ONU model.
To allow an ONU to place any call number, configure only one digit map [0-9*#]..
If you configure the content multiples times for the same digit map, the most recent configuration takes effect.
You can configure a maximum of 8 digit maps.
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Configure a digit map for the ONU.
voip digit-map map-name map-content
By default, no digit maps are configured for an ONU.
Default digit maps exist on some ONUs. Calls can be directly placed on these ONUs and no digit maps are required to be configured. Support for default digit maps depends on ONU model.
Adding SIP users to an ONU
Restrictions and guidelines
The SIP users to be added to an ONU must use phone numbers as well as username and password that have already been registered with the SIP registrar server.
Only one SIP user can be added to a VoIP port and a SIP user can be added to only one VoIP port.
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Add a SIP user to a VoIP port on the ONU.
voip-port port-number sip account phone-number username username password { cipher | simple } password
By default, no SIP user is added to any VoIP ports on an ONU.
Specifying the port number of the SIP media gateway for an ONU
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Specify the port number of the SIP media gateway for the ONU.
voip sip mg-port port
By default, the port number is 5060 for the SIP media gateway on an ONU.
Specifying the outbound SIP server for an ONU
Procedure
1. Enter system view.
system-view
2. Enter ONU interface view.
interface onu interface-number
3. Specify the outbound SIP server for the ONU.
voip sip outbound-server ip ip-address [ port port ]
By default, no outbound SIP server is specified for an ONU.
Display and maintenance commands for GPON VoIP
Execute display commands in any view.
Task |
Command |
Display information about the IAD module on an ONU. |
display pon iad interface interface-type interface-number |
Display the status of a VoIP port on an ONU. |
display pon interface interface-type interface-number voip-port port-number status |
Display the SIP configuration on an ONU. |
display pon voip sip interface interface-type interface-number |
GPON VoIP configuration examples
Example: Configuring SIP voice for ONUs attached to an OLT
Network configuration
Configure SIP on the OLT so telephones attached to ONU 1 and ONU 2 can register with the SIP registrar server and then can call each other.
The OLT uses VLAN 100 to transmit voice data.
Procedure
# Create VLAN 100 and its VLAN interface. Then, assign IP addresses to the interfaces on the OLT and make sure the OLT and the SIP server can reach each other. (Details not shown.)
# Enable auto ONU binding on slot 1. Then, the OLT will automatically create ONU interfaces ONU 1/0/1:1 and ONU 1/0/1:2.
<OLT> system-view
[OLT] ftth
[OLT-ftth] onu bind auto slot 1
[OLT-ftth] quit
# Assign OLT 1/0/1 to VLAN 100 as a tagged member.
[OLT] interface olt 1/0/1
[OLT-Olt1/0/1] port hybrid vlan 100 tag
[OLT-Olt1/0/1] quit
# Configure ONU 1/0/1:1 and ONU 1/0/1:2 as trunk ports, and assign them to all VLANs.
[OLT] interface range onu 1/0/1:1 to onu 1/0/1:2
[OLT-if-range] port link-type trunk
[OLT-if-range] port trunk permit vlan all
# Configure the VLAN tagging operation mode for the voice VLAN feature on ONU 1 and ONU 2.
[OLT-if-range] voice vlan 100
# Bring up VoIP port 1 on ONU 1 and ONU 2.
[OLT-if-range] undo voip-port 1 shutdown
# Specify the SIP registrar server at 192.168.3.60 for ONU 1 and ONU 2.
[OLT-if-range] voip sip registrar-server ip 192.168.3.60
# Specify the SIP proxy server at 192.168.3.60 for ONU 1 and ONU 2.
[OLT-if-range] voip sip proxy-server ip 192.168.3.60
# Configure digit map map1 for ONU 1 and ONU 2 to allow four-digit call numbers starting with 3 to be dialed out.
[OLT-if-range] voip digit-map map1 3xxx
[OLT-if-range] quit
# Configure the IP address and gateway address of the IAD module on ONU 1 as 192.168.2.11/24 and 192.168.2.1, respectively.
[OLT] interface onu 1/0/1:1
[OLT-Onu1/0/1:1] iad address 192.168.2.11 24 gateway 192.168.2.1
# Add SIP user with phone number 3001 as well as username 3001 and password 3001 in plaintext form to ONU 1.
[OLT-Onu1/0/1:1] voip-port 1 sip account 3001 username 3001 password simple 3001
[OLT-Onu1/0/1:1] quit
# Configure the IP address and gateway address of the IAD module on ONU 1 as 192.168.2.12/24 and 192.168.2.1, respectively.
[OLT] interface onu 1/0/1:2
[OLT-Onu1/0/1:2] iad address 192.168.2.12 24 gateway 192.168.2.1
# Add SIP user with phone number 3002 as well as username 3002 and password 3002 in plaintext form to ONU 1.
[OLT-Onu1/0/1:2] voip-port 1 sip account 3002 username 3002 password simple 3002
[OLT-Onu1/0/1:2] quit
Verifying the configuration
# Register SIP users on ONU 1 and ONU 2 with the SIP registrar server and then place a call from 3001 to 3002. The call can be established. (Details not shown.)