E&M non-signaling mode configuration example
Network requirements
As shown in Figure 12, configure the PLAR mode for the E&M interface on Router A. When the user of Telephone A picks up the handset, the E&M interface automatically calls Telephone B.
Figure 12: Network diagram
Configuration procedure
Configure Router A:
# Configure the called number as 2000 for VoIP entity 2000, and configure the destination IP address as 2.2.2.2.
<RouterA> system-view [RouterA] voice-setup [RouterA-voice] dial-program [RouterA-voice-dial] entity 2000 voip [RouterA-voice-dial-entity2000] match-template 2000 [RouterA-voice-dial-entity2000] address sip ip 2.2.2.2 [RouterA-voice-dial-entity2000] quit
# Configure the local number as 1000 for POTS entity 1000, and bind E&M interface line 2/3/1 to the POTS entity.
[RouterA-voice-dial] entity 1000 pots [RouterA-voice-dial-entity1000] match-template 1000 [RouterA-voice-dial-entity1000] line 2/3/1 [RouterA-voice-dial-entity1000] return
# Enter the view of the E&M interface line 2/3/1.
<RouterA> system-view [RouterA] subscriber-line 2/3/1
# Configure the immediate start mode (optional, because the default is the immediate start mode).
[RouterA-subscriber-line2/3/1] signal immediate
# Enable the PLAR feature.
[RouterA-subscriber-line2/3/1] private-line 2000
# Enable the E&M non-signaling mode.
[RouterA-subscriber-line2/3/1] open-trunk caller
# Enable E&M control signals pass-through.
[RouterA-subscriber-line2/3/1] passthrough
# Disable the echo cancellation feature.
[RouterA-subscriber-line2/3/1] undo echo-canceler enable
Configure Router B:
# Configure the called number as 1000 for VoIP entity 1000, and configure the destination IP address as 1.1.1.1.
<RouterB> system-view [RouterB] voice-setup [RouterB-voice] dial-program [RouterB-voice-dial] entity 1000 voip [RouterB-voice-dial-entity1000] match-template 1000 [RouterB-voice-dial-entity1000] address sip ip 1.1.1.1 [RouterB-voice-dial-entity1000] quit
# Configure the local number as 2000 for POTS entity 2000, and bind E&M interface line 2/3/1 to the POTS entity.
[RouterB-voice-dial] entity 2000 pots [RouterB-voice-dial-entity2000] match-template 2000 [RouterB-voice-dial-entity2000] line 2/3/1 [RouterB-voice-dial-entity2000] return
# Enter the view of the E&M interface line 2/3/1.
<RouterB> system-view [RouterB] subscriber-line 2/3/1
# Configure the immediate start mode. The default is the immediate start mode.
[RouterB-subscriber-line2/3/1] signal immediate
# Enable the E&M non-signaling mode.
[RouterB-subscriber-line2/3/1] open-trunk called
# Enable E&M control signals pass-through.
[RouterB-subscriber-line2/3/1] passthrough
# Disable the echo cancellation feature.
[RouterB-subscriber-line2/3/1] undo echo-canceler enable
Verifying the configuration
# Pick up the handset of Telephone A to verify that Telephone A can automatically establish calls with Telephone B through the PLAR feature.