SIP trunk configuration examples
This section provides configuration examples of SIP trunk.
Configuring a SIP server group with only one member server
As shown in
private network device, and Router B is a public network device. All calls between the private
network and public network are made through the SIP trunk device.
Figure 62 Network diagram
Configure Router A:
# Specify 2000 as a local number of POTS voice entity 2000.
[RouterA-voice-dial] entity 2000 pots
[RouterA-voice-dial-entity2000] line 1/0
[RouterA-voice-dial-entity2000] match-template 2000
# Configure VoIP voice entity 1000: the called number is 1000, and the IP address of the peer
end is 220.127.116.11 (the address of the interface on the SIP trunk device).
[RouterA-voice-dial] entity 1000 voip
[RouterA-voice-dial-entity1000] address sip ip 18.104.22.168
[RouterA-voice-dial-entity1000] match-template 1000
Configure the SIP trunk device:
# Enable the SIP trunk function.
[TG-voice] sip-trunk enable
# Create SIP server group 1. Add a SIP server into the server group: the index and the IPv4
address of the server are 1 and 10.1.1.2 respectively.
62, the enterprise private network has a SIP trunk device deployed. Router A is a