Two-dial configuration example for the FXO interface

Network requirements

As shown in Figure 9, 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 the two routers to enable Telephone B to establish a call with Telephone A through two dials.

Figure 9: Network diagram

Configuration procedure

  1. 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
    
  2. 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 POTS entity 2001.

    [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
    

Verifying the configuration

# Dial 07552003 from Telephone B.

# After hearing a dial tone, dial 0101001 (Telephone A) from Telephone B to verify that Telephone B can establish calls with Telephone A through two dials.