|
Table Of Contents
Prerequisites for Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
Restrictions for Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
Information About Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
Cisco Unified SIP SRST and Cisco SIP CallManager Express Feature Crossover
How to Configure Cisco Unified SIP SRST
Configuring SIP Phone Features
Configuring SIP-to-SIP Call Forwarding
Configuring Call Blocking Based on Time of Day, Day of Week, or Date
Configuration Examples for Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
Cisco Unified SIP SRST: Example
Configuring Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode (for Version 3.4 and Version 4.0 Only)
Note Prior to version 4.0, the name of this product was Cisco SIP SRST.
This chapter describes Cisco Unified Cisco Unified Survivable Remote Site Telephony (SRST) support for standardized RFC 3261 features for SIP phones. Features include call blocking and call forwarding.
Note The Cisco IOS Voice Configuration Library includes a standard library preface, glossary, and feature and troubleshooting documents and is located at http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/vcl.htm.
Contents
• Prerequisites for Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
• Restrictions for Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
• Information About Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
• How to Configure Cisco Unified SIP SRST
• Configuration Examples for Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
Prerequisites for Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
•Complete the prerequisites documented in the "Prerequisites for Configuring Cisco Unified SIP SRST" section in the "Cisco Unified SIP SRST Feature Overview" chapter.
•Complete the necessary tasks found in the "Getting Started" chapter. Specific tasks include the required task that is documented in the "Enabling SIP-to-SIP Connection Capabilities" section on page 21.
•Configure the SIP registrar. The SIP registrar gives users control of accepting or rejecting registrations. To configure acceptance of incoming SIP Register messages, see the "Configuring the SIP Registrar" section on page 24.
Restrictions for Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
See the restrictions documented in the "Restrictions for Configuring Cisco Unified SIP SRST" section in the "Cisco Unified SIP SRST Feature Overview" chapter.
Information About Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
A Cisco Unified SRST system can now support SIP phones with standard-based RFC 3261 feature support locally and across SIP WAN networks. With Cisco Unified SIP SRST, SIP phones can place calls across SIP networks with similar features, as SCCP phones do. For example, most SCCP phone features such as caller ID, speed dial, and redial are supported now on SIP networks, which gives users the opportunity to choose SCCP or SIP.
Cisco Unified SIP SRST also uses a back-to-back user agent (B2BUA), which is a separate call agent that has more features than Cisco SIP SRST 3.0, which used a redirect server that only accepted and forwarded calls. The main advantage of a B2BUA call agent is in call forwarding, because it forwards calls on behalf of the phone. In addition, it maintains a presence as call middleman in the call path.
Cisco SIP SRST 3.4 supports the following call combinations:
•SIP phone to SIP phone
•SIP phone to PSTN / router voice port
•SIP phone to SCCP phone
See Figure 1 on page 6 and Figure 2 on page 7 for an illustration of Cisco Unified SIP SRST using a B2BUA.
Cisco Unified SIP SRST and Cisco SIP CallManager Express Feature Crossover
Cisco Unified SIP SRST uses is a voice register dn configuration mode. However, in a typical Cisco Unified SIP SRST setup, voice register dn commands are not used, so they are not discussed in this book. Although you are not restricted from using voice register dn commands, they are not likely to be needed in a Cisco Unified SIP SRST environment. The voice register dn commands are most likely to be used in a Cisco Unified SIP CallManager Express (CME) environment. If you work in a Cisco Unified SIP CME environment and would like to know which commands are also applicable to Cisco Unified SIP SRST, Table 5 lists Version 3.4 commands for CME and SRST. Commands marked under the column "Cisco (SIP) CME Mode Only" show up if mode cme is configured in voice register global configuration mode; these commands apply to Cisco CME only.
Procedures for configuring Cisco Unified SIP CME and complete descriptions of all CME and voice register dn commands are found in the Cisco CallManager Express Version 3.4 documentation.
Note Table 5 is not all-inclusive; additional commands may exist.
How to Configure Cisco Unified SIP SRST
This section contains the following procedures:
• Configuring SIP Phone Features (optional)
• Configuring SIP-to-SIP Call Forwarding (required)
• Configuring Call Blocking Based on Time of Day, Day of Week, or Date (required)
• SIP Call Hold and Resume (no confguration necessary)
Configuring SIP Phone Features
Once a voice register pool has been set, this procedure adds optional features to increase functionality. Some features can be made per pool or globally.
In voice register pool configuration, you can now configure several new options per pool (a pool can be one phone or a group of phones). There is also a new voice register global configuration mode for Cisco Unified SIP SRST. In voice register global mode, you can globally assign characteristics to phones.
SUMMARY STEPS
1. enable
2. configure terminal
3. voice register global tag
4. max-pool max-voice-register-pools
5. application application-name
6. external ring {bellcore-dr1 | bellcore-dr2 | bellcore-dr3 | bellcore-dr4 | bellcore-dr5}
7. exit
8. voice register pool tag
9. no vad
10. codec codec-type [bytes]
11. end
DETAILED STEPS
Configuring SIP-to-SIP Call Forwarding
SIP-to-SIP call forwarding (call routing) is available. Call forwarding is provided either by the phone or by using a back-to-back user agent (B2BUA), which allows call forwarding on any dial peer. Calls into a SIP device may be forwarded to other SIP or SCCP devices (including Cisco Unity, third-party voice-mail systems, or an auto attendant or IVR system such as IPCC and IPCC Express). In addition, SCCP IP phones may be forwarded to SIP phones.
Cisco Unity or other voice messaging systems connected by a SIP trunk or SIP user agent are able to pass a message-waiting indicator (MWI) when a message is left. The SIP phone then displays the MWI when indicated by the voice messaging system.
Note SIP-to-H.323 call forwarding is not supported.
To configure SIP-to-SIP call forwarding, you must first allow connections between specific types of endpoints in a Cisco IP-to-IP gateway. The allow-connections command grants this capability. For more information on setting the allow-connections command, see the "Enabling SIP-to-SIP Connection Capabilities" section on page 21. Once the SIP-to-SIP connections are allowed, you can configure call forwarding under an individual SIP phone pool. Any of the following commands can be used to configure call forwarding, according to your needs:
•Under voice register pool
–call-forward b2bua all directory-number
–call-forward b2bua busy directory-number
–call-forward b2bua mailbox directory-number
–call-forward b2bua noan directory-number [timeout seconds]
In a typical Cisco Unified SIP SRST setup, the call-forward b2bua mailbox command is not used; however it is likely to be used in a Cisco Unified SIP CallManager Express (CME) environment. Detailed procedures for configuring the call-forward b2bua mailbox command are found in Cisco CallManager Express Version 3.4 documentation.
SUMMARY STEPS
1. enable
2. configure terminal
3. voice register pool tag
4. call-forward b2bua all directory-number
5. call-forward b2bua busy directory-number
6. call-forward b2bua mailbox directory-number
7. call-forward b2bua noan directory-number timeout seconds
8. end
DETAILED STEPS
Configuring Call Blocking Based on Time of Day, Day of Week, or Date
Call blocking prevents the unauthorized use of phones and is implemented by matching a pattern of up to 32 digits during a specified time of day, day of week, or date. Cisco Unified SIP SRST provides SIP endpoints the same time-based call blocking mechanism that is currently provided for SCCP phones. The call blocking feature supports all incoming calls, including incoming SIP and analog FXS calls.
Note Pin-based exemptions and the "Login" toll-bar override are not supported in Cisco Unified SIP SRST.
The commands used for SIP phone call blocking are the same commands that are used for SCCP phones on your Cisco Unified SRST system. The Cisco SRST session application accesses the current after-hours configuration under call-manager-fallback mode and applies it to calls originated by Cisco SIP phones that are registered to the Cisco SRST router. The commands used in call-manager-fallback mode that set block criteria (time/date/block pattern) are the following:
•after-hours block pattern pattern-tag pattern [7-24]
•after-hours day day start-time stop-time
•after-hours date month date start-time stop-time
When a user attempts to place a call to digits that match a pattern that has been specified for call blocking during a time period that has been defined for call blocking, the call is immediately terminated and the caller hears a fast busy.
In SRST (call-manager-fallback configuration mode), there is no phone- or pin-based exemption to after-hours call blocking. However, in Cisco Unified SIP SRST (voice register pool mode), individual IP phones can be exempted from all call blocking using the after-hours exempt command.
SUMMARY STEPS
1. enable
2. configure terminal
3. call-manager-fallback
4. after-hours block pattern tag pattern [7-24]
5. after-hours day day start-time stop-time
6. after-hours date month date start-time stop-time
7. exit
8. voice register pool tag
9. after-hour exempt
10. end
DETAILED STEPS
Examples
The following example defines several patterns of digits for which outgoing calls are blocked. Patterns 1 and 2, which block calls to external numbers that begin with 1 and 011, are blocked on Monday through Friday before 7 a.m. and after 7 p.m. Pattern 3 blocks calls to 900 numbers 7 days a week, 24 hours a day.
call-manager-fallback
after-hours block pattern 1 91
after-hours block pattern 2 9011
after-hours block pattern 3 91900 7-24
after-hours day mon 19:00 07:00
after-hours day tue 19:00 07:00
after-hours day wed 19:00 07:00
after-hours day thu 19:00 07:00
after-hours day fri 19:00 07:00
The following example exempts a Cisco SIP phone pool from the configured blocking criteria:
voice register pool 1
after-hour exempt
Verification
To verify the feature's configuration, enter one of the following commands:
•show voice register dial-peer—Displays all the dial peers created dynamically by phones that have registered. This command also displays configurations for after hours blocking and call forwarding.
•show voice register pool <tag>—Displays information regarding a specific pool.
•debug ccsip message—Debugs basic B2BUA calls.
SIP Call Hold and Resume
Cisco Unified SRST supports the ability for SIP phones to place calls on hold and to resume from calls placed on hold. This also includes support for a consultative hold where A calls B, B places A on hold, B calls C, and B disconnects from C and then resumes with A. Support for call hold is signaled by SIP phones using "re-INVITE c=0.0.0.0" and also by the receive-only mechanism.
No configuration is necessary.
Note Music on hold (MOH) is not supported for call hold invoked from a SIP phone. A caller hears only silence when placed on hold by a SIP phone.
Configuration Examples for Cisco Unified SIP SRST Features Using Back-to-Back User Agent Mode
This section provides the following configuration example.
• Cisco Unified SIP SRST: Example
Note IP addresses and hostnames in examples are fictitious.
Cisco Unified SIP SRST: Example
This section provides a configuration example to match the configuration tasks in the previous sections.
Router# show running-config
Building configuration... Current configuration : 1462 bytes configuration mode exclusive manual version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption service internal ! boot-start-marker boot-end-marker ! logging buffered 8000000 debugging ! no aaa new-model ! resource policy ! clock timezone edt -5 clock summer-time edt recurring ip subnet-zero ! ! ! ip cef ! ! ! voice-card 0 no dspfarm ! ! voice service voip allow-connections h323 to h323 allow-connections h323 to sip allow-connections sip to h323 allow-connections sip to sip sip registrar server expires max 600 min 60 ! ! ! voice register global max-dn 10 max-pool 10 ! ! Define call forwarding under a voice register pool voice register pool 1 id mac 0012.7F57.60AA number 1 1000 call-forward b2bua all 2412 call-forward b2bua busy 2413 call-forward b2bua noan 2414 timeout 30 codec g711ulaw ! voice register pool 2 id mac 0012.7F3B.9025 number 1 2800 codec g711ulaw ! voice register pool 3 id mac 0012.7F57.628F number 1 2801 codec g711ulaw ! ! ! interface GigabitEthernet0/0 ip address 10.0.2.99 255.255.255.0 duplex auto speed auto ! interface GigabitEthernet0/1 no ip address shutdown duplex auto speed auto ! ip classless ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0 ! ip http server ! ! ! control-plane ! ! ! dial-peer voice 1000 voip destination-pattern 24.. session protocol sipv2 session target ipv4:10.0.2.5 codec g711ulaw ! ! Define call blocking under call-manager-fallback mode call-manager-fallback
max-conferences 4 gain -6 after-hours block pattern 1 2417
after-hours date Dec 25 12:01 20:00 ! ! line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 login ! scheduler allocate 20000 1000 ntp server 10.0.2.10 ! end
Posted: Mon May 1 14:13:21 PDT 2006
All contents are Copyright © 1992--2006 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.