HP MSR2000/3000/4000 Router Series Voice Configuration Guide

89
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter SIP view.
sip N/A
4. Add the P-Asserted-Identity or
P-Preferred-Identity header
field into SIP messages.
asserted-id { pai | ppi }
By default, SIP messages do not
carry the P-Asserted-Identity or
P-Preferred-Identity header field.
Displaying and maintaining SIP
Use display commands in any view.
Task Command
Display SIP UA registration status information.
display voice sip register-status
Display PSTN cause-to-SIP status mappings . display voice sip map { pstn-sip | sip-pstn }
Display SIP calling information. display voice sip call
SIP UA configuration examples
Configuring direct SIP calling
Network requirements
As shown in Figure 34, configure direct SIP calling on Router A and Router B so the phones 1111 and
2222 can call each other.
Figure 34 Network diagram
Configuration procedure
1. Configure Router A:
# Configure an IP address for Ethernet 2/1.
<RouterA> system-view
[RouterA] interface ethernet 2/1
[RouterA-Ethernet2/1] ip address 192.168.2.1 255.255.255.0
[RouterA-Ethernet2/1] quit
# Configure call destination address 192.168.2.2 and number 2222 for VoIP entity 2222.
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2222 voip