Configuring dtmf for a voip entity – H3C Technologies H3C MSR 5600 User Manual
Page 68
58
Step Command
Remarks
5.
Specify a codec for the VoIP
entity.
codec { g711alaw | g711ulaw |
g723r53 | g723r63 | g726r16 |
g726r24 | g726r32 | g726r40 |
g729a | g729br8 | g729r8 }
[ bytes payload-size ]
By default, no codecs are
configured.
To configure codecs for a VoIP entity (method 2):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter voice view.
voice-setup
N/A
3.
Create a codec template.
voice class codec tag
By default, no codec templates
exist.
4.
Assign a priority to a codec in
the codec template.
codec preference priority
{ g711alaw | g711ulaw |
g723r53 | g723r63 | g726r16 |
g726r24 | g726r32 | g726r40 |
g729a | g729br8 | g729r8 }
[ bytes payload-size ]
By default, no codecs exist in a
template.
Repeat this command to assign
priorities to more codecs.
5.
Return to voice view.
quit
N/A
6.
Enter dial program view.
dial-program
N/A
7.
Create a VoIP entity and enter
VoIP entity view.
entity entity-number voip N/A
8.
Bind the codec template to the
VoIP entity.
voice-class codec tag
By default, the binding does not
exist.
Configuring DTMF for a VoIP entity
There are two ways to transmit DTMF tones: in-band signaling and out-of-band signaling.
In-band signaling sends DTMF tones in RTP packets, and out-of-band signaling sends DTMF tones in SIP
messages, or RFC 2883-compliant RTP messages (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