Example

The following is a sample configuration using the prefix command:

dial-peer voice 1 pots destination-pattern 555

prefix 555

port 1/0/0

In the sample configuration using the prefix command, the device attached to port 1/0/0 needs all seven digits to process the call. On a POTS dial peer, only wildcard-matched digits are forwarded by default. Use the prefix command to send the prefix numbers of 555 before forwarding the four wildcard-matched digits.

The following is a sample configuration using the forward-digits command:

dial-peer voice 1 pots destination-pattern 555..

forward-digits 7

port 1/0/0

In the sample configuration using the forward-digits command, the device attached to port 1/0/0 needs all seven digits to process the call. On a POTS dial peer, only wildcard-matched digits are forwarded by default. The forward-digits command allows the user to specify the total number of digits to forward.

The following is a sample configuration using the number expansion table command:

dial-peer voice 1 pots destination-pattern 5552.

port 1/1/0

In the sample configuration using the number expansion table command, the extension number of 2. is expanded to 5552. before an outbound dial peer is matched. For example, the user dials 2401, but the outbound dial-peer 1 is configured to match 5552401.

The following is a sample configuration using the digit translation command:

translation-rule 5

rule 1 2401 5552401

dial-peer voice 1 pots translate-outgoing called-number 5

In the sample configuration using the translation-rule command, the rule is defined to translate 2401 into 5552401. The dial peer translate-outgoing called-number 5 command notifies the router to use the globally defined translation rule 5 to translate the number before sending the string out the port. It is applied as an outbound translation from the POTS dial peer.

The following example shows a translation rule that converts any called number that starts with 91 and is tagged as an international number into a national number without the 9 before sending it to the PSTN.

translation-rule 20

rule 1 91 1 international national

dial-peer voice 10 pots destination-pattern 91

translate-outgoing called 20 port 1/1:5 forward-digits all

PLAR

This topic describes the use of PLAR connections

PLAR Connection

Private line, automatic ringdown (PLAR) is an autodialing mechanism that permanently associates a voice port with a far-end voice port, allowing call completion to a specific telephone number or PBX. When the calling telephone goes off hook, a predefined network dial peer is automatically matched, which sets up a call to the destination telephone or PBX. The caller does not hear a dial tone and does not have to dial a number. PLAR connections are widely used in the business world. One common use is to connect stockbrokers with trading floors. Timing is critical when dealing with stock transactions; the amount of time it may take to dial a number and get a connection can be costly in some cases. Another common use is in the travel sector, directly connecting travelers with services. Often, at places like airports, the traveler will see display boards advertising taxi companies, car rental companies and local hotels. These displays often have telephones that will connect the traveler directly with the service of choice; the device is preconfigured with the telephone number of the desired service. One obvious difference between these telephones and a normal telephone is that they do not have a dial pad.

As demonstrated in the figure, the following actions must occur to establish a PLAR connection:

1. A user at the remote site lifts the handset.

2. A voice port at the remote site router automatically generates digits 5600 for a dial-peer lookup.

3. The router at the remote site matches digits 5600 to Voice over IP (VoIP) dial peer 5 and sends the setup message with the digits 5600 to IP address 10.18.0.1 as designated in the session target statement.

4. The router at the central site matches received digits 5600 to plain old telephone service (POTS) dial peer 1 and forwards digits 5600 out voice port 1/0:1. At the same time, it sends a call-complete setup message to the router at the remote site because both the inbound and outbound call legs on the central site router were processed correctly.

5. The PBX receives digits 5600 and rings the appropriate telephone.

0 0

Post a comment