Sip trunk configuration examples, Network requirements, Configuration procedure – H3C Technologies H3C MSR 5600 User Manual
Page 111
101
SIP trunk configuration examples
Network requirements
As shown in
, configure the SIP trunk device to forward calls between the private network and
public network.
Figure 42 Network diagram
Configuration procedure
1.
Configure Router A:
# Specify local number 2000 on POTS entity 2000.
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2000 pots
[RouterA-voice-dial-entity2000] line 1/0
[RouterA-voice-dial-entity2000] match-template 2000
[RouterA-voice-dial-entity2000] quit
# Configure the called number as 1000, and the destination IP address as 1.1.1.2 (the address of
the interface on the SIP trunk device) on VoIP entity 1000.
[RouterA-voice-dial] entity 1000 voip
[RouterA-voice-dial-entity1000] address sip ip 1.1.1.2
[RouterA-voice-dial-entity1000] match-template 1000
2.
Configure the SIP trunk device:
# Enable SIP-to-SIP calling.
[TG] voice-setup
[TG-voice] allow-connections sip to sip
[TG-voice] sip
# Create a SIP trunk account that contains number 2000, username 2000, password 2000, and
realm abc.
[TG-voice-sip] credentials number 2000 username 2000 password simple 2000 realm abc
# Specify the registrar 10.1.1.2 for the SIP trunk account.