Huawei v200r001 Network Router User Manual


 
User Manual - Configuration Guide (Volume 3)
Versatile Routing Platform
Chapter 1
VoIP Configuration
1-8
Note:
The configuration commands here are addressed to the router, and the “Incoming” and “Outgoing” are
also defined in respect of router. Therefore, the POTS dial-peer uses the destination-pattern to define the
phone number of the phone set connected with the local router voice port, while the VoIP dial-peer uses
the destination-pattern to define the called number.
Please use the command
dial-peer voice voip
in the global configuration mode, and
use other configurations in the dial-peer configuration mode.
Table VC-1-3 VoIP dial-peer configuration commands
Operations Commands
Configure the VoIP dial-peer and enter the VoIP
configuration
dial-peer voice number voip
Delete the VoIP dial-peer no dial-peer voice number
Configure the codec mode codec { 1st-priority-level | 2nd-priority-level | 3rd-
priority-level | 4th-priority-level } { g711alaw |
g711ulaw | g723r53 | g723r63 | g729r8 }
Restore the codec default value no codec { 1st-priority-level | 2nd-priority-level |
3rd-priority-level | 4th-priority-level }
Configure phone number destination-pattern string
Delete phone number no destination-pattern
Set IP packet precedence ip precedence priority-number
Restore the IP packet precedence to the default value no ip precedence
Configure the target IP address session target { ipv4:a.b.c.d | ras }
Delete the configured IP address no session target
Disable the VoIP dial-peer shutdown
Enable the VoIP dial-peer no shutdown
Configure the technical prefix of the H.323 gateway tech-prefix string
Delete the technical prefix of the H.323 gateway no tech-prefix
Enable the silence detection vad
Disable the silence detection no vad
By default, the command
no tech-prefix
(i.e., do not configure the technical prefix of
the H.323 gateway at the beginning) validates, and the command
no vad
(Disable the
silence detection) validates.
The default of the configuration command
codec
(voice codec mode) is
g729r8
. The
default of the configuration command
ip precedence
(IP packet precedence) is 0.
1.2.3 Configuring Dial Terminator
The dial terminator configuration can notify the router that, on receiving the keystroke
input, the dialing is finished and it will begin to make mode match and find the called
end.
Please make the following configurations in the global configuration mode: