E1 R2 signaling and digital E&M signaling configuration example
Network requirements
As shown in Figure 23, Telephones in City A and City B communicate with each other through voice routers (Router A and Router B) across an IP network, as shown in the network diagram.
In City A, Router A is connected to a PBX with an E1 subscriber line on which R2 signaling travels, and to the telephone at 0101003 with an FXS voice subscriber line.
In City B, Router B is connected to a PBX with an E1 subscriber line on which digital E&M signaling (in the delay start mode) travels.
One-stage dialing mode is configured on the two routers.
Figure 23: Network diagram
Configuration procedure
Configure Router A:
# Configure the IP address 1.1.1.1/24 for the interface Ethernet 2/1.
<RouterA> system-view [RouterA] interface ethernet 2/1 [RouterA-Ethernet2/1] ip address 1.1.1.1 255.255.255.0 [RouterA-Ethernet2/1] quit
# Create a TS set on the interface Ethernet 1/1.
<RouterA> system-view [RouterA] controller e1 1/1 [RouterA-E1 1/1] timeslot-set 1 timeslot-list 1-31 signal r2 [RouterA-E1 1/1] quit
# Create a POTS voice entity corresponding to telephone number 010-1003 for the FXS interface.
[RouterA] system-view [RouterA] voice-setup [RouterA-voice] dial-program [RouterA-voice-dial] entity 1003 pots
# Configure a target match-template for the POTS voice entity.
[RouterA-voice-dial-entity1003] match-template 0101003
# Associate the POTS voice entity with FXS subscriber line 3/0.
[RouterA-voice-dial-entity1003] line 3/0 [RouterA-voice-dial-entity1003] quit
# Create a POTS voice entity for the E1 interface.
[RouterA-voice-dial] entity 1001 pots
# Configure a target match-template pointing to telephone number 010-1001 for the POTS voice entity.
[RouterA-voice-dial-entity1001] match-template 0101001
# Associate the POTS voice entity with subscriber line 1/1:1.
[RouterA-voice-dial-entity1001] line 1/1:1 [RouterA-voice-dial-entity1001] send-number all [RouterA-voice-dial-entity1001] quit
# Create a POTS voice entity corresponding to telephone number 010-1002 for the E1 interface.
[RouterA-voice-dial] entity 1002 pots
# Configure a target match-template for the POTS voice entity.
[RouterA-voice-dial-entity1002] match-template 0101002
# Associate the POTS voice entity with subscriber line 1/1:1.
[RouterA-voice-dial-entity1002] line 1/1:1 [RouterA-voice-dial-entity1002] send-number all
# Create a VoIP voice entity.
[RouterA-voice-dial-entity1002] entity 0755 voip
# Configure a target match-template for the VoIP voice entity.
[RouterA-voice-dial-entity755] match-template 0755....
# Configure the target address of the VoIP voice entity.
[RouterA-voice-dial-entity755] address ip 2.2.2.2
Configure Router B:
# Configure the IP address 2.2.2.2/24 for the interface Ethernet 2/1.
<RouterB> system-view [RouterB] interface ethernet 2/1 [RouterB-Ethernet2/1] ip address 2.2.2.2 255.255.255.0 [RouterB-Ethernet2/1] quit
# Create a TS set on interface E1 1/1.
[RouterB] system-view [RouterB] controller e1 1/1 [RouterB-E1 1/1] timeslot-set 1 timeslot-list 1-31 signal e&m-delay [RouterB-E1 1/1] quit
# Create a POTS voice entity corresponding to telephone number 0755-2001 for the E1 interface.
[RouterB] voice-setup [RouterB-voice] dial-program [RouterB-voice-dial] entity 2001 pots
# Configure a target match-template for the POTS voice entity.
[RouterB-voice-dial-entity2001] match-template 07552001
# Associate the POTS voice entity with FXS subscriber line 1/1:1.
[RouterB-voice-dial-entity2001] line 1/1:1 [RouterB-voice-dial-entity2001] send-number all [RouterB-voice-dial-entity2001] quit
# Create a POTS voice entity corresponding to telephone number 0755-2002 for the E1 interface.
[RouterB-voice-dial] entity 2002 pots
# Configure a target match-template for the POTS voice entity.
[RouterB-voice-dial-entity2002] match-template 07552002
# Associate the POTS voice entity with subscriber line 1/1:1.
[RouterB-voice-dial-entity2002] line 1/1:1 [RouterB-voice-dial-entity2002] send-number all [RouterB-voice-dial-entity2002] quit
# Create a VoIP voice entity.
[RouterB-voice-dial] entity 010 voip
# Configure a target match-template for the VoIP voice entity.
[RouterB-voice-dial-entity10] match-template 010....
# Configure the target address of the VoIP voice entity.
[RouterB-voice-dial-entity10] address ip 1.1.1.1