R0106-HP MSR Router Series Voice Configuration Guide(V7)
103
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
Display information about SIP connections. display voice sip connection { tcp | tls }
Disconnect a specific SIP connection. reset voice sip connection { tcp | tls } id conn-id
SIP UA configuration examples
Configuring direct SIP calling
Network requirements
As shown in Figure 35, configure direct SIP calling on Router A and Router B so the phones 1111 and
2222 can call each other.
Figure 35 Network diagram
Configuration procedure
1. Configure Router A:
# Configure an IP address for GigabitEthernet 2/1/1.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ip address 192.168.2.1 255.255.255.0
[RouterA-GigabitEthernet2/1/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
[RouterA-voice-dial-entity2222] address sip ip 192.168.2.2
[RouterA-voice-dial-entity2222] match-template 2222
[RouterA-voice-dial-entity2222] quit
# Configure local number 1111 for POTS entity 1111 and bind FXS interface 2/2/1 to the POTS
entity.
[RouterA-voice-dial] entity 1111 pots