Configuring SIP Voice Gateway For IPv6
Configuring SIP Voice Gateway For IPv6
Introduction on page 1
Configuring a SIP Voice Gateway for IPv6 on page 1
Configuration Examples for Implementing VOIP over IPv6 on page 7
1. Configuring the SIP Trunk on page 7
2. Configuring the Source IPv6 Address of Signaling and Media Packets on page 8
3. Configuring the SIP Server on page 8
4. Configuring the Session Target on page 8
5. Configuring SIP Register Support on page 8
6. Configuring H.323 IPv4 to SIPv6 Connections in a Cisco Unified Border Element: on
page 9
7. Configuring MTP for IPv4-to-IPv6 Translation on page 9
Verify on page 10
Related Information on page 10
Introduction
This document covers the Procedure for Configuring the SIP Voice Gateway for IPV6 with
examples.
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:[email protected]. 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.
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
1
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 as shown in the below diagram.
Procedure
Router> enable
Router # configure terminal
Router(config)# voice service voip
Router(config-voi-serv)# shutdown forced
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
2
Router> enable
Router # configure terminal
Router(config)# voice service voip
Router(config-voi-serv)# sip
Router(config-serv-sip)# call service stop
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.
Router> enable
Router # configure terminal
Router(config)# sip-ua
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
3
Router> enable
Router # configure terminal
Router(config)# voice service voip
Router(config-voi-serv)# sip
Router(conf-serv-sip)# no anat
Step5: 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 interfaces 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.
Router> enable
Router # configure terminal
Router(config)# voice service voip
Router(config-voi-serv)# sip
Router> enable
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
4
Router(config-sip-ua)# sip-serveripv6:[2001:0DB8:0:0:8:800:200C:417A]
Syntax: sip-server {dns:[host-name] | ipv4:ipv4-address | ipv6:[ipv6-address][:port-num]}
Router> enable
Router # configure terminal
Router(config)# dial-peer voice 29 voip
Syntax: dial-peer voice tag {mmoip | pots | vofr | voip}
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
5
Router> enable
Router # configure terminal
Router(config)# sip-ua
Router> enable
Router # configure terminal
Router(config)# voice service voip
Router(config-voi-serv)# sip
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
6
Router> enable
Router # configure terminal
Router(config)# voice service voip
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
7
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
8
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
9
Verify
Verifying SIP Gateway Status
The show sip-ua calls command displays active user agent client (UAC) and user agent
server (UAS) information on SIP calls:
Router# show sip-ua calls
Use the show sip-ua connections command to display SIP UA transport connection tables:
Router# show sip-ua connections udp brief
Router# show sip-ua connections udp detail
Use the show sip-ua status command to display the status of the SIP UA:
Router# show sip-ua status
Related Information
Troubleshooting and Debugging VOIP Calls:Basics
Implementing IPv6 Addressing and Basic connectivity
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
10