|
Table Of Contents
Configuring Cisco SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
Prerequisites for Cisco SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
Restrictions for Cisco SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
Information About Cisco SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
Cisco SIP SRST and Cisco SIP CallManager Express Feature Crossover
How to Configure Cisco SIP SRST Version 3.4
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 SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
Cisco SIP SRST Version 3.4: Example
Configuring Cisco SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
This chapter describes Cisco SRST 3.4 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 SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
• Restrictions for Cisco SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
• Information About Cisco SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
• How to Configure Cisco SIP SRST Version 3.4
• Configuration Examples for Cisco SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
Prerequisites for Cisco SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
•Complete the prerequisites documented in the "Prerequisites for Configuring Cisco SIP SRST" section in the "Cisco IOS SIP SRST Feature Overview" chapter.
•Complete the necessary tasks found in the "Upgrading from Cisco IOS SIP SRST Version 3.0 to Version 3.4" chapter. Specific tasks include the required task that is documented in the "Enabling SIP-to-SIP Connection Capabilities" section on page 20.
•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 SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
See the restrictions documented in the "Restrictions for Configuring Cisco SIP SRST" section in the "Cisco IOS SIP SRST Feature Overview" chapter.
Information About Cisco SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
A Cisco SRST system can now support SIP phones with standard-based RFC 3261 feature support locally and across SIP WAN networks. With Cisco SIP SRST 3.4, 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 SIP SRST 3.4 also uses a back-to-back user agent (B2BUA), which is a separate call agent that has more features than Cisco SIP SRST version 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 SIP SRST using a B2BUA.
Cisco SIP SRST and Cisco SIP CallManager Express Feature Crossover
In Version 3.4 of Cisco SIP SRST there is a voice register dn configuration mode. However, in a typical Cisco 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 SIP SRST environment. The voice register dn commands are most likely to be used in a Cisco SIP CallManager Express (CME) environment. If you work in a Cisco SIP CME environment and would like to know which commands are also applicable to Cisco 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 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 SIP SRST Version 3.4
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 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
With Cisco SIP SRST Version 3.4, 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 20. 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 SIP SRST setup, the call-forward b2bua mailbox command is not used; however it is likely to be used in a Cisco 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 SIP SRST 3.4 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 SIP SRST.
The commands used for SIP phone call blocking are the same commands that are used for SCCP phones on your Cisco 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 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 SRST 3.4 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 SIP SRST Version 3.4 Features Using Back-to-Back User Agent Mode
This section provides the following configuration example.
• Cisco SIP SRST Version 3.4: Example
Note IP addresses and hostnames in examples are fictitious.
Cisco SIP SRST Version 3.4: 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: Thu Nov 10 08:41:03 PST 2005
All contents are Copyright © 1992--2005 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.