Utilización de procedimientos DNS para ubicar servidores SIP
SIP (Session Initiation Protocol) puede utilizar procedimientos DNS (Sistema de nombres de dominio) para que un cliente resuelva un URI (identificador universal de recursos) de SIP.
Acerca de esta tarea
WebSphere Application Server proporciona soporte para el estándar
RFC
3263. Esto permite resolver un URI de SIP mediante DNS en la dirección IP, el puerto y el protocolo de
transporte del siguiente salto de contacto.
Nota: SIP no admite el uso
de procedimientos DNS para que un servidor envíe una respuesta a un cliente
de copia de seguridad si el cliente produce un error.
Complete estos pasos para configurar WebSphere Application Server para que admita el estándar RFC 3263.
Procedimiento
- Inicie WebSphere Application Server.
- En la consola administrativa, expanda Servidores y pulse .
- En Propiedades generales, seleccione el recuadro de selección Habilitar localización de servidores SIP utilizando los registros NAPTR DNS. y, a continuación, rellene los campos Nombre de servidor DNS primario y Nombre de servidor DNS secundario.
- Pulse Aplicar para guardar los cambios.
- Reinicie WebSphere Application Server.
Qué hacer a continuación
Debe configurar el servidor DNS para que el soporte de RFC 3263 funcione para el contenedor SIP. El siguiente ejemplo es un archivo BIND db para configurar el soporte de RFC 3263 en un servidor DNS.
; 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.