内容

概要

このドキュメントでは、VoIP ゲートウェイの Private-line automatic ringdown(PLAR)を接続する場合の設定例について説明します。

前提条件

要件

このドキュメントに特有の要件はありません。

使用するコンポーネント

この構成は、Cisco IOS® ソフトウェア リリース 12.1(1) が稼働し、IP Plus 機能セットを備えた Cisco 2610 ルータおよび Cisco 3600 ルータを使用して開発およびテストされています。

このドキュメントの情報は、特定のラボ環境にあるデバイスに基づいて作成されました。このドキュメントで使用するすべてのデバイスは、初期(デフォルト)設定の状態から起動しています。対象のネットワークが実稼働中である場合には、どのようなコマンドについても、その潜在的な影響について確実に理解しておく必要があります。

表記法

ドキュメントの表記法の詳細は、「シスコ テクニカル ティップスの表記法」を参照してください。

背景理論

PLAR 回線にはエンドポイントが静的に設定されており、コールを接続するためにユーザがダイヤルする必要はありません。connection plar コマンドは、ディジットをダイヤルする必要のないスイッチ型 Voice over IP(VoIP)コールを確立するメカニズムを提供します。PLAR 接続は「bat-phone」型アプリケーションとも呼ばれます。電話(または DS0)がオフフックになると、ディジットがダイヤルされなくてもリモート側の電話が鳴ります(またはリモート DS0 がオフフックになります)。これは、次のようなことを必要とするお客様に便利な機能です。

接続 PLAR モードは次のプラットフォームの VoIP に使用できます。

接続モード:PLAR とトランクの比較

接続 PLAR モードと接続トランク モードの類似点と相違点を次に示します。

フックフラッシュは、コールの途中でごく短いオンフック状態が発生することで示されます。電話機のフックをすばやく押して離すとこの状態になります。PBX や電話交換機ではフックフラッシュの発生を代行受信するようなプログラミングがしばしば行われ、これによってユーザが補足サービスを起動できるようにしています。

フックフラッシュ リレーの詳細は、『Cisco H.323 バージョン 2 フェーズ 2』および『H.323 バージョン 2 のサポート』を参照してください。

hoot-n-holler の詳細は、『シスコ Hoot & Holler over IP ソリューション』および『シスコ Hoot & Holler over IP』を参照してください。

接続 PLAR モードの設計での考慮点と制限

設定

このセクションでは、このドキュメントで説明する機能を設定するために必要な情報を提供しています。

注:この文書で使用されているコマンドの詳細を調べるには、「Command Lookup ツール」を使用してください(登録ユーザのみ)。

ネットワーク図

このドキュメントでは次の図に示すネットワーク構成を使用しています。

plar_config.gif

設定

次の設定では、2 台のルータ間で接続 PLAR モードを使用する一般的な設定について説明しています。これらのルータは、一方の端ではデジタル T1 インターフェイスが PBX に接続され、もう一方の端では、アナログ FXS インターフェイスが設定されたリモートのルータがテレフォニー デバイスに接続されています。また、接続 PLAR は、1 方向のコールに対してのみ(maui-slt-01 から 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 that uses 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
!
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 an FXS port.

!
voice-port 1/1/1

!--- This is an 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 !--- takes port 1/1/0 off-hook and completes 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 follows one more !--- string of 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

確認

ここでは、設定が正しく機能していることを確認するために使用する情報を示します。

コマンドの概要

debug コマンドと show コマンド

一部の show コマンドはアウトプット インタープリタ ツールによってサポートされています(登録ユーザ専用)。このツールを使用することによって、show コマンド出力の分析結果を表示できます。

VoIP コールのトラブルシューティングの詳細については、次を参照してください。『VoIP コールのトラブルシューティングとデバッグ - 基本』および『VoIP デバッグ コマンド』。

show のサンプル出力

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
 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

トラブルシュート

現在、この設定に関する特定のトラブルシューティング情報はありません。

関連情報