Cisco Configuring Connection Plar For Voip Gateways

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Cisco − Configuring Connection PLAR for VoIP Gateways

Cisco − Configuring Connection PLAR for VoIP Gateways

Table of Contents
Configuring Connection PLAR for VoIP Gateways........................................................................................1
Introduction.............................................................................................................................................1
Before You Begin...................................................................................................................................1
Conventions...............................................................................................................................1
Prerequisites...............................................................................................................................1
Components Used......................................................................................................................1
Background Theory...................................................................................................................1
Connection Modes: PLAR Vs Trunk.........................................................................................2
Connection PLAR Mode Design Considerations and Limitations............................................3
Configure................................................................................................................................................3
Network Diagram......................................................................................................................3
Configurations...........................................................................................................................4
Verify......................................................................................................................................................5
Command Summary..................................................................................................................5
Debug and Show Commands.....................................................................................................6
Sample show Output..................................................................................................................6
Troubleshoot...........................................................................................................................................7
Related Information................................................................................................................................7

i
Configuring Connection PLAR for VoIP Gateways
Introduction
Before You Begin
Conventions
Prerequisites
Components Used
Background Theory
Connection Modes: PLAR Vs Trunk
Connection PLAR Mode Design Considerations and Limitations
Configure
Network Diagram
Configurations
Verify
Command Summary
Debug and Show Commands
Sample show Output
Troubleshoot
Related Information

Introduction
This document provides a sample configuration for connecting PLAR for VoIP gateways.

Before You Begin


Conventions
For more information on document conventions, see the Cisco Technical Tips Conventions.

Prerequisites
There are no specific prerequisites for this document.

Components Used
This configuration was developed and tested using a Cisco 2610 router and a Cisco 3600 router running Cisco
IOS Release 12.1(1) with IP Plus feature set.

The information presented in this document was created from devices in a specific lab environment. All of the
devices used in this document started with a cleared (default) configuration. If you are working in a live
network, ensure that you understand the potential impact of any command before using it.

Background Theory
Private−line automatic ringdown (PLAR) circuits have statically configured endpoints and do not require user
dialing to connect calls. The connection plar command provides a mechanism to create a switched Voice
over IP (VoIP) call without digit dialing. PLAR connections are often referred to as a "bat−phone" type of
application, where a phone (or DS0) goes off−hook and a remote phone rings (or remote DS0 goes off−hook)

Cisco − Configuring Connection PLAR for VoIP Gateways


without digits being dialed. This is a useful tool for customer requirements such as:


Providing an Off−Premises eXtension (OPX) from a private branch exchange (PBX). Connection
PLAR would allow remote users on Foreign Exchange Station (FXS) ports to look to a central PBX
like physical extensions.


Providing dial−tone from a remote PBX. Many customers want to offer toll−bypass VoIP services
without having the routers providing dial−tone or changing their existing dialplan. This would allow
stations at remote sites to look like they are physically connected stations to a PBX.

Connection PLAR mode is available for VoIP on the following platforms:


Cisco 2600 & 3600


Cisco 7200/7500


Cisco MC3810

Connection Modes: PLAR Vs Trunk


The following are the main similarities and differences between connection PLAR mode and connection trunk
mode:


Connection trunk mode is a permanent connection, the VoIP call is always connected independently
of the plain old telephone service (POTS) port being on−hook or off−hook.


Connection PLAR mode is a switched VoIP call, the call is setup on an as−needed basis. With
connection PLAR, no bandwidth is consumed while the phone is on hook. When a phone connected
to a POTS dial peer is taken off−hook, the call is automatically connected and the remote phone
begins to ring.


Both Connection Trunk and connection PLAR modes have statically configured endpoints and do not
require user dialing to connect calls.


Connection trunk mode allows supplemental call signaling such as hookflash or point−to−point
hoot−n−holler to be passed over the IP network between the two telephony devices.

Note: Connection PLAR can now support hookflash signaling by configuring hookflash relay.

A hookflash indication is a brief on−hook condition that occurs during a call. It is created by quickly pressing
and releasing the hook on your telephone. PBXs and telephone switches are frequently programmed to
intercept hookflash indications and use them as a way to allow a user to invoke supplemental services.

Cisco − Configuring Connection PLAR for VoIP Gateways


For more information on hookflash relay refer to: Cisco H.323 Version 2 Phase 2 and H.323 Version 2
Support

For more information on hoot−n−holler refer to: Cisco Hoot & Holler over IP Solution and Cisco Hoot and
Holler over IP

For more information on Connection Trunk refer to: Voice: Configuring Connection Trunk

Connection PLAR Mode Design Considerations and Limitations



A connection PLAR is a switched VoIP call. A switched VoIP call is like an SVC (Switched Virtual
Circuit), it is setup on an as−needed basis.


A connection PLAR can work between any type of signaling (recEive and transMit (E®M;), Foreign
Exchange Office (FXO), and/or FXS), and between any combination of analog and digital interfaces.


A connection PLAR for VoIP supports PLAR−OPX (such as is used on the MC3810) after Cisco
IOS® Software Release 12.0(7)XK, 12.1(2)T or later. This feature is used to roll−over the call to
voice−mail if the remote phone does not answer.


A connection PLAR does not collect digits from the connected telephony device, so it can be
deployed without changes to the existing dialplan.


A connection PLAR can be configured for a single direction (calling in one direction), or in both
directions of the VoIP call legs.


A connection PLAR is defined per voice−port. This means that the voice−port can not operate both in
connection trunk mode and collect dialed−digits mode.

Configure
In this section, you are presented with the information to configure the features described in this document.

Note: To find additional information on the commands used in this document, use the Command Lookup
Tool ( registered customers only) .

Network Diagram
This document uses the network setup shown in the diagram below.

Cisco − Configuring Connection PLAR for VoIP Gateways


Configurations
The configuration below shows a typical configuration using the connection PLAR mode between two routers
with a digital T1 interface connected to a PBX at one end and a remote router configured with a analog FXS
interface connected to a telephony device at the other end. Also, the connection PLAR is only configured to
call in one direction (from maui−slt−01 to maui−vgw−01).

maui−slt−01 (2600)
version 12.1
service timestamps debug datetime msec
service timestamps log datetime msec

!
hostname maui−slt−01
!
voice−card 1
!

controller T1 1/0
framing esf
linecode b8zs

ds0−group 1 timeslots 1 type fxo−loop−start


ds0−group 2 timeslots 2 type fxo−loop−start

! −− These two commands create two logical voice−ports:


! −− voice−port 1/0:1 and voice−port 1/0:2.

!
voice−port 1/0:1
connection plar 2000

! −− This command starts a PLAR switched VoIP call using digits (2000)
! −− to match a VoIP dial−peer when the voice−port 1/0:1 goes off−hook.

!
voice−port 1/0:2
connection plar 2001

! −− The digits are generated internally by the router


! −− and are not received from the voice−port.

!
dial−peer voice 1 pots
destination−pattern 1000
port 1/0:1
!
dial−peer voice 2 pots
destination−pattern 1001
port 1/0:2
!
dial−peer voice 3 voip
destination−pattern 200.

! −− matches the connection plar strings 2000 and 2001

dtmf−relay h245−alphanumeric
session target ipv4:192.168.100.1
!

Cisco − Configuring Connection PLAR for VoIP Gateways


interface Serial0/1
ip address 192.168.100.2 255.255.255.0

maui−vgw−01 (3600)
version 12.1
service timestamps debug datetime msec
service timestamps log datetime msec

!
hostname maui−vgw−01
!

voice−card 3

!
voice−port 1/1/0

! −− This is a FXS port.

!
voice−port 1/1/1

! −− This is a FXS port.

!
dial−peer voice 1 pots
destination−pattern 2000
port 1/1/0

! −− This dial−peer terminates the connection PLAR from maui−slt−01's


! −− voice−port 1/0:1. When the router receives digits 2000 in a
! −− call−setup, it will take port 1/1/0 off−hook and complete the call.

!
dial−peer voice 3 pots
destination−pattern 2001
port 1/1/1
!
dial−peer voice 2 voip
destination−pattern 100. dtmf−relay h245−alphanumeric
session target ipv4:192.168.100.2

! −− When the router receives digits from a POTS peer that starts with
! −− 100 and is follow one more string characters (0−9, A−Z,*,# or .),
! −− it creates a VoIP call to the router with IP address: 192.168.100.2

!
interface Serial0/0
ip address 192.168.100.1 255.255.255.0
clockrate 256000

Verify
This section provides information you can use to confirm your configuration is working properly.

Command Summary

Cisco − Configuring Connection PLAR for VoIP Gateways


connection plar − Use this command to specify a PLAR connection. PLAR is handled by associating
a peer directly with an interface; when an interface goes off−hook, the peer is used to set up the
second call leg and conference them together without the caller having to dial any digits. Configure
this command at the voice−port configuration mode.


dtmf−relay [cisco−rtp] [h245−signal] [h245−alphanumeric] − Since the router will not interpret
digits from a telephony device, by default, all digits will be passed through the compressed VoIP
audio−path. Low−bitrate coder−decoders (CODECs) such as G.729 and G.723.1 are highly optimized
for voice patterns, and tend to distort dual tone multifrequency (DTMF) tones. The dtmf relay
command solves this problem by transporting DTMF tones out of band, or separate from the encoded
voice stream. For more information on dtmf−relay and its options refer to: H.323 Version 2 Support.

Debug and Show Commands


Certain show commands are supported by the Output Interpreter Tool ( registered customers only) , which allows
you to view an analysis of show command output.


show voice port − This commands displays information about the voice port configuration. Use this
command to verify that the port is up, connection PLAR is enabled, and the connection PLAR string
is correct.


show call active voice − This command displays the contents of the active call table, which shows all
of the calls currently connected through the router.


debug voip ccapi inout − This command is useful to troubleshoot end−to−end VoIP calls.

For more information on troubleshooting VoIP calls refer to: Troubleshoot & Debug VoIP Calls − the Basics
and VoIP Debug Commands.

Sample show Output


maui−slt−01#show voice port 1/0:1

Foreign Exchange Office


Type of VoicePort is FXO
Operation State is DORMANT
Administrative State is UP
The Last Interface Down Failure Cause is Administrative Shutdown
Description is not set
Noise Regeneration is enabled
Non Linear Processing is enabled
Music On Hold Threshold is Set to −38 dBm
In Gain is Set to 0 dB
Out Attenuation is Set to 0 dB
Echo Cancellation is enabled
Echo Cancel Coverage is set to 8 ms
Connection Mode is plar
Connection Number is 2000
Initial Time Out is set to 10 s
Interdigit Time Out is set to 10 s
Call−Disconnect Time Out is set to 60 s
Ringing Time Out is set to 180 s

Cisco − Configuring Connection PLAR for VoIP Gateways


Region Tone is set for US

Analog Info Follows:


Currently processing Voice
Maintenance Mode Set to None (not in mtc mode)
Number of signaling protocol errors are 0
Impedance is set to 600r Ohm

Voice card specific Info Follows:


Signal Type is loopStart
Number Of Rings is set to 1
Supervisory Disconnect active
Hook Status is On Hook
Ring Detect Status is inactive
Ring Ground Status is inactive
Tip Ground Status is inactive
Dial Type is dtmf
Digit Duration Timing is set to 100 ms
InterDigit Duration Timing is set to 100 ms
Pulse Rate Timing is set to 10 pulses/second
InterDigit Pulse Duration Timing is set to 750 ms

Troubleshoot
There is currently no specific troubleshooting information available for this configuration.

Related Information
• Troubleshoot & Debug VoIP Calls − the Basics
• VoIP Debug Commands
• Voice, Telephony and Messaging TAC eLearning Solutions
• Technical Support − Cisco Systems

All contents are Copyright © 1992−2002 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.

Updated: Dec 03, 2002 Document ID: 14368

Cisco − Configuring Connection PLAR for VoIP Gateways

You might also like