Table Of Contents
Appendix A: Configuring Cisco Unified SIP SRST Features Using Redirect Mode
Contents
Prerequisites for Cisco Unified SIP SRST Features Using Redirect Mode
Restrictions for Cisco Unified SIP SRST Features Using Redirect Mode
Information About Cisco Unified SIP SRST Features Using Redirect Mode
How to Configure Cisco Unified SIP SRST Features Using Redirect Mode
Configuring Call Redirect Enhancements to Support Calls Between SIP IP Phones for Cisco Unified SIP SRST
Configuring Call Redirect Enhancements to Support Calls Globally
Configuring Call Redirect Enhancements to Support Calls on a Specific VoIP Dial Peer
Configuring Sending 300 Multiple Choice Support
Configuration Examples for Cisco Unified SIP SRST Features Using Redirect Mode
Cisco Unified SIP SRST: Example
Where to Go Next
Appendix A: Configuring Cisco Unified SIP SRST Features Using Redirect Mode
Revised: February 3, 2011
Note
This chapter applies to version 3.0 only.
This chapter describes Cisco Unified Session Initiation Protocol (SIP) Survivable Remote Site Telephony (SRST) features using redirect mode.
Contents
•
Prerequisites for Cisco Unified SIP SRST Features Using Redirect Mode
•
Restrictions for Cisco Unified SIP SRST Features Using Redirect Mode
•
Information About Cisco Unified SIP SRST Features Using Redirect Mode
•
How to Configure Cisco Unified SIP SRST Features Using Redirect Mode
•
Configuration Examples for Cisco Unified SIP SRST Features Using Redirect Mode
•
Where to Go Next
Prerequisites for Cisco Unified SIP SRST Features Using Redirect Mode
Complete the prerequisites documented in the "Prerequisites for Configuring Cisco Unified SIP SRST" section in the "Cisco Unified SCCP and SIP SRST Feature Overview" section.
Restrictions for Cisco Unified SIP SRST Features Using Redirect Mode
See the restrictions documented in the "Restrictions for Configuring Cisco Unified SIP SRST" section section in the "Cisco Unified SCCP and SIP SRST Feature Overview" section.
Information About Cisco Unified SIP SRST Features Using Redirect Mode
Cisco Unified SIP SRST provides backup to an external SIP proxy server by providing basic registrar and redirect services. These services are used by a SIP IP phone in the event of a WAN connection outage when the SIP phone is unable to communicate with its primary SIP proxy. The Cisco Unified SIP SRST device also provides PSTN gateway access for placing and receiving PSTN calls.
To make maximum use of the Cisco Unified SIP SRST service, the local SIP IP phones should support dual (concurrent) registration with both their primary SIP proxy or registrar and the
Cisco Unified SIP SRST backup registrar. Cisco Unified SIP SRST works for the following types of calls:
•
Local SIP IP phone to local SIP phone, if the main proxy is unavailable.
•
Additional services like class of restriction (COR) for local SIP IP phones to the outgoing PSTN. For example, to block outgoing 1-900 numbers.
How to Configure Cisco Unified SIP SRST Features Using Redirect Mode
This section contains the following procedures:
•
Configuring Call Redirect Enhancements to Support Calls Between SIP IP Phones for Cisco Unified SIP SRST (required)
•
Configuring Sending 300 Multiple Choice Support (required)
Configuring Call Redirect Enhancements to Support Calls Between SIP IP Phones for Cisco Unified SIP SRST
The call redirect enhancement supports calls from a local SIP phone to another local SIP phone through the Cisco IOS voice gateway. Prior to this enhancement, an attempt by a SIP phone to contact another local SIP phone using the Cisco IOS voice gateway as if it were a SIP proxy or redirect server would fail. However, the Cisco IOS voice gateway can now act as a SIP redirect server. The voice gateway responds to the originator with a SIP Redirect message, allowing the SIP phone that originated the call to establish a call to its destination.
The redirect ip2ip (voice service) and redirect ip2ip (dial-peer) commands allow you to enable the SIP functionality, globally or on a specific inbound dial peer. The default application on Cisco Unified SIP SRST supports IP-to-IP redirection.
•
Configuring Call Redirect Enhancements to Support Calls Globally
•
Configuring Call Redirect Enhancements to Support Calls on a Specific VoIP Dial Peer
Configuring Call Redirect Enhancements to Support Calls Globally
To enable global IP-to-IP call redirection for all VoIP dial peers, use voice service configuration mode.
Note
When IP-to-IP redirection is configured in dial-peer configuration mode, the configuration for the specific dial peer takes precedence over the global configuration entered under voice service configuration mode.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
voice service voip
4.
redirect ip2ip
5.
end
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
• Enter your password if prompted.
|
Step 2
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3
|
voice service voip
Example:
Router(config)# voice service voip
|
Enters voice service configuration mode.
|
Step 4
|
redirect ip2ip
Example:
Router(config-voi-srv)# redirect ip2ip
|
Redirects SIP phone calls to SIP phone calls globally on a gateway using the Cisco IOS voice gateway.
|
Step 5
|
end
Example:
Router(config-voi-srv)# end
|
Returns to privileged EXEC mode.
|
Configuring Call Redirect Enhancements to Support Calls on a Specific VoIP Dial Peer
To enable IP-to-IP call redirection for a specific VoIP dial peer, configure it on an inbound dial peer in dial-peer configuration mode. The default application on Cisco Unified SIP SRST supports IP-to-IP redirection.
Note
When IP-to-IP redirection is configured in dial-peer configuration mode, the configuration for the specific dial peer takes precedence over the global configuration entered under voice service configuration mode.
Restrictions
The redirect ip2ip command must be configured on an inbound dial peer of the gateway.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
dial-peer voice tag voip
4.
application application-name
5.
redirect ip2ip
6.
end
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
• Enter your password if prompted.
|
Step 2
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3
|
dial-peer voice tag voip
Example:
Router(config)# dial-peer voice 25 voip
|
Enters dial-peer configuration mode.
• tag—A number that uniquely identifies the dial peer (this number has local significance only).
• voip—Indicates that this is a VoIP peer using voice encapsulation on the POTS network and is used for configuring redirect.
|
Step 4
|
application application-name
Example:
Router(config-dial-peer)# application session
|
Enables a specific application on a dial peer.
• For SIP, the default Tool Command Language (Tcl) application (from the Cisco IOS image) is session and can be applied to both VoIP and POTS dial peers.
• The application must support IP-to-IP redirection.
|
Step 5
|
redirect ip2ip
Example:
Router(config-dial-peer)# redirect ip2ip
|
Redirects SIP phone calls to SIP phone calls on a specific VoIP dial peer using the Cisco IOS voice gateway.
|
Step 6
|
end
Example:
Router(config-dial-peer)# end
|
Returns to privileged EXEC mode.
|
Configuring Sending 300 Multiple Choice Support
Prior to Cisco IOS Release 12.2(15)ZJ, when a call was redirected, the SIP gateway would send a 302 Moved Temporarily message. The first longest match route on a gateway (dial-peer destination pattern) was used in the Contact header of the 302 message. With Release 12.2(15)ZJ, if multiple routes to a destination exist for a redirected number (multiple dial peers are matched), the SIP gateway sends a 300 Multiple Choice message, and the multiple routes in the Contact header are listed.
The configuration below allows users to choose the order in which the routes appear in the Contact header.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
voice service voip
4.
sip
5.
redirect contact order [best-match | longest-match]
6.
end
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
• Enter your password if prompted.
|
Step 2
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3
|
voice service voip
Example:
Router(config)# voice service voip
|
Enters voice service configuration mode.
|
Step 4
|
sip
Example:
Router(config-voi-srv)# sip
|
Enters SIP configuration mode.
|
Step 5
|
redirect contact order [best-match | longest-
match]
Example:
Router(conf-serv-sip)# redirect contact order
best-match
|
Sets the order of contacts in the 300 Multiple Choice message. The keywords are defined as follows:
• best-match—(Optional) Uses the current system configuration to set the order of contacts.
• longest-match—(Optional) Sets the contact order by using the destination pattern longest match first, and then the second longest match, the third longest match, and so on. This is the default.
|
Step 6
|
end
Example:
Router(config-serv-sip)# end
|
Returns to privileged EXEC mode.
|
Configuration Examples for Cisco Unified SIP SRST Features Using Redirect Mode
This section provides the following configuration example:
•
Cisco Unified SIP SRST: Example
Cisco Unified SIP SRST: Example
This section provides a configuration example to match the configuration tasks in the previous sections.
! Sets up the registrar server and enables IP-to-IP redirection and 300
! Multiple Choice support.
registrar server expires max 600 min 60
redirect contact order best-match
! Configures the voice-class codec with G.711uLaw and G729 codecs. The codecs are
! applied to the voice register pools.
codec preference 1 g711ulaw
codec preference 2 g729br8
! The voice register pools define various pools that are used to match
! incoming REGISTER requests and create corresponding dial peers.
cor incoming call91 1 91011
translate-outgoing called 1
proxy 10.2.161.187 preference 1 monitor probe icmp-ping
alias 1 94... to 91011 preference 8
id ip 192.168.0.3 mask 255.255.255.255
cor outgoing call95 1 91021
proxy 10.2.161.187 preference 1
id network 10.2.161.0 mask 255.255.255.0
number 1 95... preference 1
cor incoming call95 1 95011
cor outgoing call95 1 95011
proxy 10.2.161.187 preference 1 monitor probe icmp-ping
id network 10.2.161.0 mask 255.255.255.0
number 1 94... preference 1
cor incoming everywhere default
cor outgoing everywhere default
proxy 10.2.161.187 preference 1
! Configures translation rules to be applied in the voice register pools.
! Sets up proxy monitoring.
! Configures COR values to be applied to the voice register pool.
dial-peer cor list call95
dial-peer cor list call94
dial-peer cor list call91
dial-peer cor list everywhere
! Configures a voice port and a POTS dial peer for calls to and from the PSTN endpoints.
dial-peer voice 91500 pots
destination-pattern 91500
Where to Go Next
For additional information, see the "Additional References" section in the "Cisco Unified SCCP and SIP SRST Feature Overview" chapter.