DNS プロシージャーによる SIP サーバーの探索
Session Initiation Protocol (SIP) では、 クライアント用のドメイン・ネーム・サーバー (DNS) プロシージャーを使用して SIP Uniform Resource Identifier (URI) を解決することができます。
このタスクについて
WebSphere® Application Server は、RFC 3263 標準をサポートしています。
このため、
DNS を介して SIP URI をネクスト・ホップの IP アドレス、ポート、およびトランスポート・プロトコルに
解決できます。
注: SIP は、1 次クライアントが失敗した場合にサーバーがバックアップ・クライアントに応答を送信するための
DNS プロシージャーの使用をサポートしません。
以下のステップに従って、WebSphere Application Server が RFC 3263 標準をサポートするように構成します。
手順
- WebSphere Application Server を開始します。
- 管理コンソールから、「サーバー」を展開し、 とクリックします。
- 「一般プロパティー」の下で、 「DNS NAPTR レコードを使用した SIP サーバーの検索を使用可能にする (Enable locating SIP servers using DNS NAPTR records)」チェック・ボックスにチェック・マークを付けてから、 「プライマリー DNS サーバー名 (Primary DNS server name)」フィールドと「セカンダリー DNS サーバー名 (Secondary DNS server name)」フィールドに入力します。
- 「適用」をクリックして、変更を保存します。
- WebSphere Application Server を再始動します。
次のタスク
RFC 3263 サポートを SIP コンテナーで機能させるためには、 DNS サーバーを構成する必要があります。次の例は、DNS サーバー上で RFC 3263 サポートを構成するための、 BIND db ファイルです。
; Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
; Copyright (C) 2001 Internet Software Consortium.
;
; Permission to use, copy, modify, and distribute this software for any
; purpose with or without fee is hereby granted, provided that the above
; copyright notice and this permission notice appear in all copies.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
; PERFORMANCE OF THIS SOFTWARE.
; $Id: include.db,v 1.2.206.1 2004/03/06 10:22:13 marka Exp $
; Test $INCLUDE current domain name and origin semantics
example.com. 43200 IN SOA ns.example.com. email.example.com. ( 2003032001 10800 3600 604800 86400 )
;
example.com. 43200 IN NS ns.example.com.
;
ns.example.com. 43200 IN A 10.0.0.20
sipserver1.example.com. 43200 IN A 10.0.0.21
sipserver2.example.com. 43200 IN A 10.0.0.22
sipserver3.example.com. 43200 IN A 10.0.0.23
;
router.example.com. 43200 IN CNAME sipserver3
;
sipserver1.example.com. 43200 IN AAAA fec0:0:0:0:0:0:0:abcd
sipserver2.example.com. 43200 IN AAAA fec0:0:0:0:0:0:0:abba
;
_sip._udp.example.com. 43200 IN SRV 2 0 5060 sipserver1.example.com.
_sip._udp.example.com. 43200 IN SRV 2 0 5060 sipserver2.example.com.
_sip._tcp.example.com. 43200 IN SRV 1 4 5060 sipserver1.example.com.
_sip._tcp.example.com. 43200 IN SRV 1 2 5060 sipserver2.example.com.
_sips._tcp.example.com. 43200 IN SRV 0 1 5061 sipserver1.example.com.
_sips._tcp.example.com. 43200 IN SRV 0 0 5061 sipserver2.example.com.
;
example.com. 43200 IN NAPTR 0 0 "s" "SIPS+D2T" "" _sips._tcp.example.com.
example.com. 43200 IN NAPTR 1 0 "s" "SIP+D2T" "" _sip._tcp.example.com.
example.com. 43200 IN NAPTR 2 0 "s" "SIP+D2U" "" _sip._udp.example.com.