R2511-HP MSR Router Series Voice Configuration Guide(V5)

300
# Configure VoIP voice entity 300 to Router B.
[RouterA-voice-dial] entity 300 voip
[RouterA-voice-dial-entity300] match-template 300
[RouterA-voice-dial-entity300] address sip ip 1.1.1.2
[RouterA-voice-dial-entity300] outband sip
2. Configure Router B:
# Configure POTS voice entity 500.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 500 pots
[RouterB-voice-dial-entity500] match-template 500
[RouterB-voice-dial-entity500] line 1/0
[RouterB-voice-dial-entity500] quit
# Configure IVR voice entity 300 and specify node 10 as the root node.
[RouterB-voice-dial] entity 300 ivr
[RouterB-voice-dial-entity300] match-template 300
[RouterB-voice-dial-entity300] ivr-root 10
[RouterB-voice-dial-entity300] quit
[RouterB-voice-dial] quit
# Specify media resource IDs for media resource files:
{ Specify 10001 for the file cfa0:/wav/g729r8/welcome.wav
{ Specify 10002 for the file cfa0:/wav/g729r8/timeout.wav
{ Specify 10003 for the file cfa0:/wav/g729r8/input_error.wav
[RouterB-voice] ivr-system
[RouterB-voice-ivr] media-file g729r8
[RouterB-voice-ivr-g729r8] set-media 10001 file cfa0:/wav/g729r8/welcome.wav
[RouterB-voice-ivr-g729r8] set-media 10002 file cfa0:/wav/g729r8/timeout.wav
[RouterB-voice-ivr-g729r8] set-media 10003 file cfa0:/wav/g729r8/input_error.wav
[RouterB-voice-ivr-g729r8] quit
# Configure global error processing and timeout processing methods:
{ If the timeout value expires before the subscriber dials at Telephone A, Router B plays the audio file
timeout.wav for the subscriber. If the timeout value expires for four times, Router B terminates the call.
{ If the subscriber dials a wrong number at Telephone A, Router B plays the audio file input_error.wav the
subscriber. If the subscriber dials wrong numbers for three times, Router B terminates the call.
[RouterB-voice-ivr] ivr-timeout repeat 4 expires 5 media-play 10002
[RouterB-voice-ivr] ivr-input-error repeat 3 media-play 10003
# Configure Call node 10:
{ After the IVR access number 300 is matched, the audio file welcome.wav is played.
{ After the subscriber dials 0 at Telephone A, the secondary call to Telephone B is executed.
{ [RouterB-voice-ivr] node 10 call
[RouterB-voice-ivr-node10] media-play 10001
[RouterB-voice-ivr-node10] extension 0 call 500
3. Verify configurations: