FXO interface PLAR configuration example
Network requirements
As shown in Figure 10, Router A and Router B are connected through an IP network and can reach each other. The PBX is configured with a trunk number 07552003.
Configure PLAR for the FXO interface of Router B. When the user of Telephone B dials 07552003, the FXO interface automatically calls Telephone A.
Figure 10: Network diagram
Configuration procedure
On Router A, configure the local number as 0101001 for POTS entity 1001, and bind FXS interface line 2/1/1 to the POTS entity.
<RouterA> system-view [RouterA] voice-setup [RouterA-voice] dial-program [RouterA-voice-dial] entity 1001 pots [RouterA-voice-dial-entity1001] match-template 0101001 [RouterA-voice-dial-entity1001] line 2/1/1
Configure Router B:
# Configure the called number as 0101001 for VoIP entity 010, 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 010 voip [RouterB-voice-dial-entity10] match-template 0101001 [RouterB-voice-dial-entity10] address sip ip 1.1.1.1 [RouterB-voice-dial-entity10] quit
# Configure the local number as 07552001 for POTS entity 2001, and bind FXO interface line 2/1/1 to the POTS entity.
[RouterB-voice-dial] entity 2001 pots [RouterB-voice-dial-entity2001] match-template 07552001 [RouterB-voice-dial-entity2001] line 2/1/1
# Configure the number sending mode as all.
[RouterB-voice-dial-entity2001] send-number all
# Enable the PLAR feature and configure the delay off-hook mode for the FXO interface.
[RouterB] subscriber-line 2/1/1 [RouterB-subscriber-line2/1/1] private-line 0101001 [RouterB-subscriber-line2/1/1] hookoff-mode delay
Verifying the configuration
# Dial 07552003 from Telephone B to verify that Telephone B can automatically establish calls with Telephone A through the PLAR feature.