Dil ID: 7
Dil Adı: french
Dil Kodu: fr5tayfun Produits de la Marque H3c-technologies
Dünyanın En Büyük
Elektronik Bilgi Kütüphanesi



101
SIP trunk configuration examples
Network requirements
As shown in Figure 42, 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> system-view
[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> system-view
[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.