This document describes VoIP in IPv6 (VoIPv6), a feature that adds IPv6 capability to existing VoIP features. This feature adds dual-stack (IPv4 and IPv6) support on voice gateways and media termination points (MTPs), IPv6 support for Session Initiation Protocol (SIP) trunks, and support for Skinny Client Control Protocol (SCCP)-controlled analog voice gateways. In addition, the Session Border Controller (SBC) functionality of connecting a SIP IPv4 or H.323 IPv4 network to a SIP IPv6 network is implemented on a Cisco Unified Border Element to facilitate migration from VoIPv4 to VoIPv6.
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for Implementing VoIP for IPv6
This document assumes that you are familiar with IPv6 and IPv4. See the publications referenced in the
Additional References section for IPv6 and IPv4 configuration and command reference information.
Perform basic IPv6 addressing and basic connectivity as described in Implementing IPv6 Addressing and Basic Connectivity.
Cisco Express Forwarding for IPv6 must be enabled.
SIP is a simple, ASCII-based protocol that uses requests and responses to establish communication among the various components in the network and to ultimately establish a conference between two or more endpoints.
For further information about this feature and information about configuring the SIP voice gateway for VoIPv6, see the Configuring a SIP Voice Gateway for IPv6.
Cisco Unified Border Element in VoIPv6
The Cisco Unified Border Element feature adds IPv6 capability to existing VoIP features. This feature adds dual-stack support on voice gateways and MTP, IPv6 support for SIP trunks, and support for SCCP-controlled analog voice gateways. Real-time control protocol (RTCP) Pass-through and T.38 Fax over IPv6 have also been added to Cisco UBE. For more information on this feature, see the "Configuring RTCP Pass-through and T.38 Fax Support on Cisco UBE for IPv6" section on page 19
SIP is a simple, ASCII-based protocol that uses requests and responses to establish communication among the various components in the network and to ultimately establish a conference between two or more endpoints.
Users in a SIP network are identified by unique SIP addresses. A SIP address is similar to an e-mail address and is in the format of sip:userID@gateway.com. The user ID can be either a username or an E.164 address. The gateway can be either a domain (with or without a hostname) or a specific Internet IPv4 or IPv6 address.
A SIP trunk can operate in one of three modes: SIP trunk in IPv4-only mode, SIP trunk in IPv6-only mode, and SIP trunk in dual-stack mode, which supports both IPv4 and IPv6.
A SIP trunk uses the Alternative Network Address Transport (ANAT) mechanism to exchange multiple IPv4 and IPv6 media addresses for the endpoints in a session. ANAT is automatically enabled on SIP trunks in dual-stack mode. The ANAT Session Description Protocol (SDP) grouping framework allows user agents (UAs) to include both IPv4 and IPv6 addresses in their SDP session descriptions. The UA is then able to use any of its media addresses to establish a media session with a remote UA.
A Cisco Unified Border Element can interoperate between H.323/SIP IPv4 and SIP IPv6 networks in media flow-through mode. In media flow-through mode, both signaling and media flows through the Cisco Unified Border Element, and the Cisco Unified Border Element performs both signaling and media interoperation between H.323/SIP IPv4 and SIP IPv6 networks (see the figure below).
Figure 1
H.323/SIP IPv4--SIP IPv6 Interoperating in Media Flow-Through Mode
Perform the tasks in the following sections to configure a SIP voice gateway for IPv6:
Virtual routing and forwarding (VRF) is not supported in IPv6 calls.
Shutting Down or Enabling VoIPv6 Service on Cisco Gateways
Perform this task to shut down or enable VoIPv6 service on Cisco gateways.
SUMMARY STEPS
1.enable
2.configureterminal
3.voiceservicevoip
4.shutdown
[forced]
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
voiceservicevoip
Example:
Router(config)# voice service voip
Enters voice service VoIP configuration mode.
Step 4
shutdown
[forced]
Example:
Router(config-voi-serv)# shutdown forced
Shuts down or enables VoIP call services.
Shutting Down or Enabling VoIPv6 Submodes on Cisco Gateways
Perform this task to shut down or enable VoIPv6 submodes on Cisco gateways.
SUMMARY STEPS
1.enable
2.configureterminal
3.voiceservicevoip
4.sip
5.callservicestop [forced] [maintain-registration
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
voiceservicevoip
Example:
Router(config)# voice service voip
Enters voice service VoIP configuration mode.
Step 4
sip
Example:
Router(config-voi-serv)# sip
Enters SIP configuration mode.
Step 5
callservicestop [forced] [maintain-registration
Example:
Router(config-serv-sip)# call service stop
Shuts down or enables VoIPv6 for the selected submode.
Configuring the Protocol Mode of the SIP Stack
Perform this task to configure the SIP stack's protocol mode.
Before You Begin
SIP service should be shut down before configuring the protocol mode. After configuring the protocol mode as IPv6, IPv4, or dual-stack, SIP service should be reenabled.
ANAT is automatically enabled on SIP trunks in dual-stack mode. Perform this task to disable ANAT in order to use a single-stack mode.
SUMMARY STEPS
1.enable
2.configureterminal
3.voiceservicevoip
4.sip
5.noanat
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
voiceservicevoip
Example:
Router(config)# voice service voip
Enters voice service VoIP configuration mode.
Step 4
sip
Example:
Router(config-voi-serv)# sip
Enters SIP configuration mode.
Step 5
noanat
Example:
router(conf-serv-sip)# no anat
Disables ANAT on a SIP trunk.
Configuring the Source IPv6 Address of Signaling and Media Packets
Users can configure the source IPv4 or IPv6 address of signaling and media packets to a specific interface's IPv4 or IPv6 address. Thus, the address that goes out on the packet is bound to the IPv4 or IPv6 address of the interface specified with the bind command.
The bind command also can be configured with one IPv6 address to force the gateway to use the configured address when the bind interface has multiple IPv6 addresses. The bind interface should have both IPv4 and IPv6 addresses to send out ANAT.
When you do not specify a bind address or if the interface is down, the IP layer still provides the best local address.
Perform this task to configure the source IPv6 address of signaling and media packets.
SUMMARY STEPS
1.enable
2.configureterminal
3.voiceservicevoip
4.sip
5.bind {control | media | all} sourceinterfaceinterface-id [ipv6-addressipv6-address
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
voiceservicevoip
Example:
Router(config)# voice service voip
Enters voice service VoIP configuration mode.
Step 4
sip
Example:
Router(config-voi-serv)# sip
Enters SIP configuration mode.
Step 5
bind {control | media | all} sourceinterfaceinterface-id [ipv6-addressipv6-address
Example:
Router(config-serv-sip)# bind control source- interface FastEthernet0/0
Binds the source address for signaling and media packets to the IPv6 address of a specific interface.
Enables SIP gateways to register E.164 numbers on behalf of analog telephone voice ports, IP phone virtual voice ports, and SCCP phones with an external SIP proxy or SIP registrar.
Step 5
retryregisterretries
Example:
Router(config-sip-ua)# retry register 10
Configures the total number of SIP register messages that the gateway should send.
Step 6
timersregistermilliseconds
Example:
Router(config-sip-ua)# timers register 500
Configures how long the SIP UA waits before sending register requests.
Configuring Outbound Proxy Server Globally on a SIP Gateway
Perform this task to configure an outbound-proxy server globally on a SIP gateway.
Specifies the SIP outbound proxy globally for a Cisco IOS voice gateway using an IPv6 address.
Verifying SIP Gateway Status
SUMMARY STEPS
1.showsip-uacalls
2.showsip-uaconnections
3.showsip-uastatus
DETAILED STEPS
Step 1
showsip-uacalls
The showsip-uacalls command displays active user agent client (UAC) and user agent server (UAS) information on SIP calls:
Router# showsip-uacalls
SIP UAC CALL INFO
Call 1
SIP Call ID : 8368ED08-1C2A11DD-80078908-BA2972D0@2001::21B:D4FF:FED7:B000
State of the call : STATE_ACTIVE (7)
Substate of the call : SUBSTATE_NONE (0)
Calling Number : 2000
Called Number : 1000
Bit Flags : 0xC04018 0x100 0x0
Example:
CC Call ID : 2
Source IP Address (Sig ): 2001:DB8:0:ABCD::1
Destn SIP Req Addr:Port : 2001:DB8:0:0:FFFF:5060
Destn SIP Resp Addr:Port: 2001:DB8:0:1:FFFF:5060
Destination Name : 2001::21B:D5FF:FE1D:6C00
Number of Media Streams : 1
Number of Active Streams: 1
RTP Fork Object : 0x0
Media Mode : flow-through
Media Stream 1
State of the stream : STREAM_ACTIVE
Stream Call ID : 2
Stream Type : voice-only (0)
Stream Media Addr Type : 1709707780
Negotiated Codec : (20 bytes)
Codec Payload Type : 18
Negotiated Dtmf-relay : inband-voice
Dtmf-relay Payload Type : 0
Media Source IP Addr:Port: [2001::21B:D4FF:FED7:B000]:16504
Media Dest IP Addr:Port : [2001::21B:D5FF:FE1D:6C00]:19548
Options-Ping ENABLED:NO ACTIVE:NO
Number of SIP User Agent Client(UAC) calls: 1
SIP UAS CALL INFO
Number of SIP User Agent Server(UAS) calls: 0
Step 2
showsip-uaconnections
Use the showsip-uaconnections command to display SIP UA transport connection tables:
Example:
Router# show sip-ua connections udp brief
Total active connections : 1
No. of send failures : 0
No. of remote closures : 0
No. of conn. failures : 0
No. of inactive conn. ageouts : 0
Router# show sip-ua connections udp detail
Total active connections : 1
No. of send failures : 0
No. of remote closures : 0
No. of conn. failures : 0
No. of inactive conn. ageouts : 0
---------Printing Detailed Connection Report---------
Note:
** Tuples with no matching socket entry
- Do 'clear sip <tcp[tls]/udp> conn t ipv4:<addr>:<port>'
to overcome this error condition
++ Tuples with mismatched address/port entry
- Do 'clear sip <tcp[tls]/udp> conn t ipv4:<addr>:<port> id <connid>'
to overcome this error condition
Remote-Agent:2001::21B:D5FF:FE1D:6C00, Connections-Count:1
Remote-Port Conn-Id Conn-State WriteQ-Size
=========== ======= =========== ===========
5060 2 Established 0
Step 3
showsip-uastatus
Use the showsip-uastatus command to display the status of the SIP UA:
Example:
Router# show sip-ua status
SIP User Agent Status
SIP User Agent for UDP : ENABLED
SIP User Agent for TCP : ENABLED
SIP User Agent for TLS over TCP : ENABLED
SIP User Agent bind status(signaling): DISABLED
SIP User Agent bind status(media): DISABLED
SIP early-media for 180 responses with SDP: ENABLED
SIP max-forwards : 70
SIP DNS SRV version: 2 (rfc 2782)
NAT Settings for the SIP-UA
Role in SDP: NONE
Check media source packets: DISABLED
Maximum duration for a telephone-event in NOTIFYs: 2000 ms
SIP support for ISDN SUSPEND/RESUME: ENABLED
Redirection (3xx) message handling: ENABLED
Reason Header will override Response/Request Codes: DISABLED
Out-of-dialog Refer: DISABLED
Presence support is DISABLED
protocol mode is ipv6
SDP application configuration:
Version line (v=) required
Owner line (o=) required
Timespec line (t=) required
Media supported: audio video image
Network types supported: IN
Address types supported: IP4 IP6
Transport types supported: RTP/AVP udptl
Configuring H.323 IPv4-to-SIPv6 Connections in a Cisco Unified Border Element
An organization with an IPv4 network can deploy a Cisco Unified Border Element on the boundary to connect with the service provider's IPv6 network (see the figure below).
Figure 2
Cisco Unified Border Element Interoperating IPv4 Networks with IPv6 Service Provider
A Cisco Unified Border Element can interoperate between H.323/SIP IPv4 and SIP IPv6 networks in media flow-through mode. In media flow-through mode, both signaling and media flows through the Cisco Unified Border Element, and the Cisco Unified Border Element performs both signaling and media interoperation between H.323/SIP IPv4 and SIP IPv6 networks (see the figure below).
Figure 3
IPv4 to IPv6 Media Interoperating Through Cisco IOS MTP
The Cisco Unified Border Element feature adds IPv6 capability to existing VoIP features. This feature adds dual-stack support on voice gateways and MTP, IPv6 support for SIP trunks, and SCCP-controlled analog voice gateways. In addition, the SBC functionality of connecting SIP IPv4 or H.323 IPv4 network to a SIP IPv6 network is implemented on an Cisco Unified Border Element to facilitate migration from VoIPv4 to VoIPv6.
Perform this task to configure H.323 IPv4-to-SIPv6 connections in an Cisco Unified Border Element.
Before You Begin
Cisco Unified Border Element must be configured in IPv6-only or dual-stack mode to support IPv6 calls.
Note
A Cisco Unified Border Element interoperates between H.323/SIP IPv4 and SIP IPv6 networks only in media flow-through mode.
>
SUMMARY STEPS
1.enable
2.configureterminal
3.voiceservicevoip
4.allow-connectionsfromtypetototype
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
voiceservicevoip
Example:
Router(config)# voice service voip
Enters voice service VoIP configuration mode.
Step 4
allow-connectionsfromtypetototype
Example:
Router(config-voi-serv)# allow-connections h323 to sip
Allows connections between specific types of endpoints in a VoIPv6 network.
Arguments are as follows:
from-type --Type of connection. Valid values:
h323,
sip.
to-type --Type of connection. Valid values:
h323,
sip.
Configuring MTP Used with Voice Gateways
Cisco IOS MTP trusted relay point (TRP) supports media interoperation between IPv4 and IPv6 networks (see the figure below). This functionality is used when an IPv4 phone (registered to Cisco Unified Communications Manager, formerly known as Cisco Unified Call Manager) communicates with an IPv6 phone (registered to another Cisco Unified Communications Manager). In this case, one of the Cisco Unified Communications Managers inserts a Cisco IOS MTP to perform the IPv4-to-IPv6 media translation between the phones.
MTP for IPv4-to-IPv6 media translation operates only in dual-stack mode. Communication between Cisco IOS MTP and Cisco Unified Communications Manager occurs over SCCP for IPv4 only.
Figure 4
IPv4 to IPv6 Media Interoperating Through Cisco IOS MTP
The VoIPv6 feature includes IPv4 and IPv6 dual-stack support on voice gateways and MTP, IPv6 support for SIP trunks, and SCCP-controlled analog phones. In addition, connecting a SIP IPv4 or H.323 IPv4 network to a SIP IPv6 network is implemented on Cisco Unified Border Element.
Perform this task to configure IPv6 with media interoperating using Cisco Unified Communications Manager-controlled MTP:
MTP for IPv4-to-IPv6 media translation operates in dual-stack mode only.
A SIP trunk can be configured over IPv4 only, over IPv6 only, or in dual-stack mode. In dual-stack mode, ANAT is used to describe both IPv4 and IPv6 media capabilities.
Configuring MTP for IPv4-to-IPv6 Translation
Perform this task to configure MTP for IPv4-to-IPv6 translation.
Router(config)# sccp ccm 2001:DB8:C18:1::102 identifier 2 version 7.0
Adds a Cisco Unified CallManager server to the list of available servers and set various parameters--including IP address, IPv6 address, or Domain Name System (DNS) name, port number, and version number.
Note
SCCP communication between Cisco IOS MTP and Cisco Unified Border Element is supported only for an IPv4-only network. Do not use the ipv6-address
argument with this command if you are configuring for the Cisco Unified Border Element.
Step 4
sccpccmgroupgroup-number
Example:
Router(config)# sccp ccm group 1
Creates a Cisco CallManager group and enters SCCP Cisco CallManager configuration mode
Configuring RTCP Pass-Phrough and T.38 Fax Support on the Cisco UBE for IPv6
Real-time control protocol (RTCP) pass-through and T.38 fax support on the Cisco Unified Border Element (Cisco UBE) for IPv6 provides support for RTCP pass-through and T.38-based fax calls on Cisco UBE for IPv6.
IPv4 and IPv6 addresses embedded within RTCP packets, for example RTCP CNAME, are passed on to Cisco UBE (ISR) without being masked. On the Cisco UBE ASR1000 these addresses are masked.
The Cisco UBE ASR 1000 does not support printing of RTCP debugs.
Note
RTCP is passed through by default; no configuration is required for RTCP pass-through.
Specifies the global default ITU-T T.38 standard fax protocol to be used for all VoIP dial peers.
Step 7
sip
Example:
Router(conf-voi-serv)# sip
Enters SIP configuration mode.
Step 8
bindcontrolsource-interfacetypenumber
Example:
Router(conf-serv-sip)# bind control source-interface GigabitEthernet 0/0
Binds Session Initiation Protocol (SIP) signaling packets and specifies an interface as the source address of SIP packets.
Step 9
bindmediasource-interfacetypenumber
Example:
Router(conf-serv-sip)# bind media source-interface GigabitEthernet 0/0
Binds only media packets to the IPv4 or IPv6 address of a specific interface and specifies an interface as the source address of SIP packets.
Step 10
noanat
Example:
Router(conf-serv-sip)# no anat
Enables Alternative Network Address Types (ANAT) on a SIP trunk.
Step 11
end
Example:
Router(conf-serv-sip)# end
Exits SIP configuration mode and returns to the privileged EXEC mode.
Configuring IPv6 Support for Cisco UBE
Perform this task to configure IPv6 support for Cisco UBE.
Note
In Cisco UBE, IPv4-only and IPv6-only modes are not supported when endpoints are dual-stack. In this case, Cisco UBE must also be configured in dual-stack mode.
Router# show call active voice compact
<callID> A/O FAX T<sec> Codec type Peer Address IP R<ip>:<udp>
Total call-legs: 2
9 ANS T10 g711ulaw VOIP P2222222222 2208:......:1115:16808
10 ORG T10 g711ulaw VOIP P5555555555 2208:......:1116:17326
Configuration Examples for Implementing VoIP over IPv6
This example shows how to configure the SIP trunk to use dual-stack mode, with IPv6 as the preferred mode. The SIP service must be shut down before any changes are made to protocol mode configuration.
RObust Header Compression (ROHC): Framework and Four Profiles: RTP, UDP, ESP, and Uncompressed
RFC 3759
RObust Header Compression (ROHC): Terminology and Channel Mapping Examples
RFC 4091
The Alternative Network Address Types (ANAT) Semantics for the Session Description Protocol (SDP) Grouping Framework
RFC 4092
Usage of the Session Description Protocol (SDP) Alternative Network Address Types (ANAT) Semantics in the Session Initiation Protocol (SIP)
Technical Assistance
Description
Link
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.
Feature Information for Implementing VoIP for IPv6
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1
Feature Information for Implementing VoIP for IPv6
Feature Name
Releases
Feature Information
VoIP for IPv6
12.4(22)T
VoIPv6 adds IPv6 capability to existing VoIP features. VoIPv6 requires IPv6 and IPv4 dual-stack support on voice gateways and MTP, IPv6 support for SIP trunks, and SCCP-controlled analog voice phones. In addition, the SBC functionality of connecting SIP IPv4 or H.323 IPv4 network to SIP IPv6 network is implemented on a Cisco Unified Border Element to facilitate migration from VoIPv4 to VoIPv6.
Cisco UBE RTCP voice pass-through for IPv6
15.2(1)T
RTCP pass-through on Cisco UBE adds IPv6 capability to the existing feature.
No commands were introduced or modified.
T.38 Fax Support on Cisco UBE for IPv6
15.2(1)T
T.38 fax support on Cisco UBE adds IPv6 capability to the existing feature.
No commands were introduced or modified.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL:
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.