R0106-HP MSR Router Series Voice Configuration Guide(V7)

59
Configuring DTMF for a VoIP entity
There are two ways to transmit DTMF tones: inband signaling and out-of-band signaling.
Inband signaling sends DTMF tones in RTP packets, and out-of-band signaling sends DTMF tones in SIP
messages, or RFC 2883-compliant RTP packets (NTE mode).
To use the NTE mode, configure command outband nte and the same payload type value on both the
originating and terminating sides. Otherwise, DTMF tones might fail to be transmitted. For more
information about out-of-band DTMF, see "Configuring SIP."
To configure DTMF for a VoIP entity:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter dial program view.
dial-program N/A
4. Create a POTS entity and enter
POTS entity view.
entity entity-number pots N/A
5. Configure out-of-band DTMF.
(Method 1) Configure NTE
mode:
{ Enable NTE mode:
outband nte
{ Configure the value of the
NTE payload type:
rtp payload-type nte value
(Method 2) Configure SIP
mode:
outband sip
Use either method.
By default, inband DTMF is used,
and the value of the NTE payload
type is 101.
When the device is connected to a
device from another vendor, you
cannot set the payload type field to
any value forbidden by that
device. Otherwise, an NTE
negotiation failure might occur.
Setting the DSCP value for a VoIP entity
You can set the DSCP value of IP packets carrying media streams to provide differentiated voice services.
You can configure the ip qos dscp command both globally (in SIP view) and for a specific VoIP entity (in
VoIP entity view).The configuration in VoIP entity view takes precedence over the global configuration. A
VoIP entity uses the global configuration only when the ip qos dscp command is not configured in VoIP
entity view. For information about configuring the DSCP value in SIP view, see "Configuring SIP."
To set the DSCP value for a VoIP entity:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter dial program view.
dial-program N/A
4. Create a VoIP entity and enter
VoIP entity view.
entity entity-number voip N/A
5. Set the DSCP value of IP
packets carrying media
streams.
ip qos dscp { dscp-value |
dscp-value-set } media
The default value is ef (101110),
the global default value.