|
Table Of Contents
param dial-by-extension-option
paramspace callsetup after-hours-exempt
pattern (voice register dialplan)
pattern trunk-to-ext no-answer
phone-redirect-limit (voice register global)
pin (voice logout-profile and voice user-profile)
preference (voice register dn)
preference (voice register pool)
Cisco Unified CME Commands: P
Last Updated: July 19, 2007First Published: February 27, 2006
This chapter contains commands to configure and maintain Cisco Unified Communications Manager Express (formally known as Cisco Unified CallManager Express). The commands are presented in alphabetical order. Some commands required for configuring Cisco Unified Communications Manager Express (Cisco Unified CME) may be found in other Cisco IOS command references. Use the command reference master index or search online to find these commands.
paging
To define an extension (ephone-dn) as a paging extension that can be called to broadcast an audio page to a set of Cisco IP phones, use the paging command in ephone-dn configuration mode. To disable this feature, use the no form of this command.
paging [ip multicast-address port udp-port-number]
no paging [ip]
Syntax Description
Defaults
No paging number is established.
Command Modes
Ephone-dn configuration
Command History
Usage Guidelines
To configure a set of phones to receive an audio page, follow these steps:
1. Use the paging command in ephone-dn configuration mode to define a number that people can dial to send a page. The following example defines a paging-dn tag (21) and extension number (34455) to dial to send a page.
ephone-dn 21
paging
number 34455
2. Use the paging-dn command in ephone configuration mode to assign the same paging-dn tag that you defined in Step 1 to all the phones that you want to receive the page. This set of phones is called a "paging set." You can have more than one paging set in a Cisco CME system. The following example assigns the paging-dn tag from Step 1 (21) to two phones (3 and 4) so that they will receive audio pages.
ephone 3
paging-dn 21
ephone 4
paging-dn 21
The paging command configures an ephone-dn as an extension that people can dial to broadcast audio pages to a specified set of idle Cisco IP phones. The extension associated with this command does not appear on any ephone; it is a "dummy" extension. The dn-tag associated with this extension becomes the paging-dn tag for this paging set.
When a person dials the number assigned to the dummy extension and speaks into the phone, the audio stream is sent as a page to the paging set (the set of all phones that have been configured with this paging-dn tag as an argument to the paging-dn command). Idle phones in the paging set automatically answer the paging call in one-way speakerphone mode. Paging sets can be joined into a single combined paging group with the paging group command.
The optional ip keyword and multicast-address argument define a paging multicast address for this paging set. If an IP multicast address is not configured, IP phones are paged individually using IP unicast transmission (to a maximum of ten IP phones). The recommended operation is with an IP multicast address. When multiple paging-dn tags are configured using the paging command, each paging-dn tag should use a unique IP multicast address.
Note IP phones do not support multicast at 224.x.x.x addresses.
Each ephone-dn and paging-dn tag that is used for paging can support a maximum of ten distinct targets (IP addresses and interfaces). A multicast address counts as a single target for each physical interface in use (regardless of the number of phones connected via the interface). Paging using a single IP multicast address that requires output on three different Ethernet interfaces represents use of three counts out of the maximum ten. Each unicast target counts as a single target, such that paging that does not use multicast at all is limited to paging ten phones. For example, ten IP phones paged through multicast on Fast Ethernet interface 0/1.1 plus five IP phones paged through multicast on Fast Ethernet interface 0/1.2 are counted as two targets.
For simultaneous paging to more than one paging ephone-dn, Cisco recommends that you use different IP multicast addresses (not just different port numbers) for paging configuration.
Examples
The following example creates a paging extension number that uses IP multicast paging:
Router(config)# ephone-dn 20
Router(config-ephone-dn) number 2000
Router(config-ephone-dn) paging ip 239.0.1.1 port 2000
A more complete configuration example follows, in which paging sets 20 and 21 are created. Pages to extension 2000 are multicast to ephones 1 and 2. Pages to extension 2001 are multicast to ephones 3 and 4.
ephone-dn 1
number 2345
ephone-dn 2
number 2346
ephone-dn 3
number 2347
ephone-dn 4
number 2348
ephone-dn 20
number 2000
paging ip 239.0.1.20 port 2000
ephone-dn 21
number 2001
paging ip 239.0.1.21 port 2000
ephone 1
button 1:1
paging-dn 20
ephone 2
button 1:2
paging-dn 20
ephone 3
button 1:3
paging-dn 21
ephone 4
button 1:4
paging-dn 21
Related Commands
paging group
To create a combined paging group from two or more previously established paging sets, use the paging group command in ephone-dn configuration mode. To remove a paging group, use the no form of this command.
paging group paging-dn-tag, paging-dn-tag...
no paging group
Syntax Description
Defaults
Paging is disabled on all Cisco IP phones.
Command Modes
Ephone-dn configuration
Command History
Usage Guidelines
Use this command to combine previously defined sets of phones associated with individual paging extensions (ephone-dns) into a combined group to enable a single page to be sent to large numbers of phones at once. To remove a paging group, use the no form of the command. All paging-dn tags included in the list must have already been defined as paging-dns using the paging command.
The use of paging groups allows phones to participate in a small local paging set (for example, paging to four phones in a company's shipping and receiving department) but also supports company-wide paging when needed (for example, by combining the paging sets for shipping and receiving with the paging sets for accounting, customer support, and sales into a single paging group).
Examples
In the following example, paging sets 20 and 21 are defined and then combined into paging group 22. Paging set 20 has a paging extension of 2000. When someone dials extension 2000 to deliver a page, the page is sent to Cisco IP phones (ephones) 1 and 2. Paging set 21 has a paging extension of 2001. When someone dials extension 2001 to deliver a page, the page is sent to ephones 3 and 4. Paging group 22 combines sets 20 and 21, and when someone dials its paging extension, 2002, the page is sent to all the phones in both sets and to ephone 5, which is directly subscribed to the combined paging group.
ephone-dn 20
number 2000
paging ip 239.0.1.20 port 2000
ephone-dn 21
number 2001
paging ip 239.0.1.21 port 2000
ephone-dn 22
number 2002
paging ip 239.0.2.22 port 2000
paging group 20,21
ephone 1
button 1:1
paging-dn 20
ephone 2
button 1:2
paging-dn 20
ephone 3
button 1:3
paging-dn 21
ephone 4
button 1:4
paging-dn 21
ephone 5
button 1:5
paging-dn 22
Related Commands
paging-dn
To create a paging extension (paging-dn) to receive audio pages on a Cisco Unified IP phone in a Cisco Unified CME system, use the paging-dn command in ephone or ephone-template configuration mode. To disable this feature, use the no form of this command.
paging-dn paging-dn-tag {multicast | unicast}
no paging-dn
Syntax Description
Command Default
Paging is disabled on all Cisco Unified IP phones.
Command Modes
Ephone configuration
Ephone-template configurationCommand History
Usage Guidelines
To configure a set of phones to receive an audio page, follow these steps:
1. Use the paging command in ephone-dn configuration mode to define a number that people can dial to send a page. The following example defines a paging-dn tag (21) and extension number (34455) to dial to send a page.
ephone-dn 21
paging
number 34455
2. Use the paging-dn command in ephone configuration mode to assign the same paging-dn tag that you defined in Step 1 to all the phones that you want to receive the page. This set of phones is called a "paging set." You can have more than one paging set in a Cisco Unified CME system. The following example assigns the paging-dn tag from Step 1 (21) to two phones (3 and 4) so that they will receive audio pages.
ephone 3
paging-dn 21
ephone 4
paging-dn 21
This command creates a paging extension (paging-dn) associated with an IP phone. Each phone can support only one paging-dn extension. This extension does not occupy a phone button and is therefore not configured on the phone with the button command. The paging-dn allows the phone to automatically answer audio pages in one-way speakerphone mode. There is no press-to-answer option as there is with an intercom extension.
The paging-dn-tag argument in this command takes the value of the dn-tag of an extension (ephone-dn) that has been made a paging ephone-dn using the paging command. This is the extension that callers dial to deliver an audio page. All of the phones that are going to receive the same audio pages are configured with the same paging-dn-tag. These phones form a paging set.
An IP phone can belong to only one paging set, but any number of phones can belong to the same paging set using multicast. There can be any number of paging sets in a Cisco Unified CME system, and paging sets can be joined to create a combined paging group using the paging group command. For example, you may create separate paging sets for each department (sales, support, shipping) and combine them into a single combined paging group (all departments). Only single-level grouping is supported (no support for groups of groups).
Normal phone calls that are received while an audio page is in progress interrupt the page.
The paging mechanism supports audio distribution using IP multicast, replicated unicast, and a mixture of both (so that multicast is used where possible, and unicast is used with specific phones that cannot be reached through multicast).
Note For unicast paging to all phones, omit the IP multicast address in the ephone-dn configuration. For unicast paging to a specific phone using an ephone-dn configured for multicast, add the unicast keyword as part of the paging-dn command in ephone configuration mode.
If you use an ephone template to apply a command to a phone and you also use the same command in ephone configuration mode for the same phone, the value that you set in ephone configuration mode has priority.
Examples
The following example creates paging number 5001 on ephone-dn 22 and adds ephone 4 as a member of the paging set. Multicast is set for the paging-dn. Note that IP phones do not support multicast at 224.x.x.x addresses.
ephone-dn 1
number 5123
ephone-dn 22
name Paging Shipping
number 5001
paging ip 239.1.1.10 port 2000
ephone 4
mac-address 0030.94c3.8724
button 1:1
paging-dn 22 multicast
Related Commands
param aa-hunt
To declare a Cisco Unified CME B-ACD menu number and associate it with the pilot number of an ephone hunt group, use the param aa-hunt command in application-parameter configuration mode. To remove the menu number and the ephone hunt group pilot number, use the no form of this command.
param aa-huntmenu-number pilot-number
no param aa-huntmenu-number pilot-number
Syntax Description
menu-number
Number that callers must dial to reach the pilot number of an ephone hunt group. The range is from 1 to 10. The default is 1.
pilot-number
Ephone hunt group pilot number.
Defaults
Menu number 1 is configured, but it is not associated with a pilot number.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.4(4)XC
Cisco CME 3.3
This command was introduced to replace the call application voice aa-hunt command.
Usage Guidelines
This command is used with Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. It is configured under the service command for the call-queue script.
Up to ten aa-hunt menu options, or hunt groups, are allowed per call-queue service. You can use any of the allowable numbers in any order.
This command associates a menu option with the pilot number of an ephone hunt group. When a caller presses the digit of a menu option that has been associated with an ephone hunt group using this command, the call is routed to the pilot number of the hunt group.
Menu options for B-ACD services can be set up in many ways. For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
The highest aa-hunt number that you establish using this command also automatically maps to zero (0) and can therefore be used to represent operator services to your callers. In the following example, callers can dial either 8 or 0 to reach aa-hunt8, the hunt group with the pilot number 8888.
application
service queue flash:
param aa-hunt1 1111
param aa-hunt3 3333
param aa-hunt8 8888
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
Examples
The following example configures a call-queue service called queue to associate three menu numbers with three pilot numbers of three ephone hunt groups:
•Pilot number 1111 for ephone hunt group 1 (sales)
•Pilot number 2222 for ephone hunt group 2 (customer service)
•Pilot number 3333 for ephone hunt group 3 (operator)
If a caller presses 2 for customer service, the call is transferred to 2222 and then is sent to the next available ephone-dn from the group of ephone-dns assigned to ephone hunt group 1: 2001, 2002, 2003, 2004, 2005, and 2006. The sequencing of ephone-dns within a hunt group is handled by the ephone hunt group itself, not by the B-ACD service. (Note that the configuration for ephone hunt groups used with Cisco Unified CME B-ACD services do not use the final command.)
ephone-hunt 1 peer
pilot 1111
list 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010
ephone-hunt 2 peer
pilot 2222
list 2001, 2002, 2003, 2004, 2005, 2006
ephone-hunt 3 peer
pilot 3333
list 3001, 3002, 3003, 3004
application
service queue flash:
param aa-hunt1 1111
param aa-hunt2 2222
param aa-hunt3 3333
.
.
.
Related Commands
param aa-pilot
To assign a pilot number to a Cisco Unified CME B-ACD automated attendant (AA) service, use the param aa-pilot command in application-parameter configuration mode. To remove the AA pilot number, use the no form of this command.
param aa-pilot aa-pilot-number
no param aa-pilot aa-pilot-number
Syntax Description
Defaults
Cisco Unified CME B-ACD menu number 1 is configured, but it has no pilot number.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice aa-pilot command.
Usage Guidelines
This command is used with the Cisco Unified CallManager Express (Cisco Unified CME) Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. Each AA has one AA pilot number, although there may be more than one AA used with a B-ACD service.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets up a B-ACD with two AAs, both in drop-through mode. The first AA is called acdaa and it has an AA pilot number of (800) 555-0121. The second AA is aa-bcd and has an AA pilot number of (800) 555-0123. Both AAs use the call-queue service named callq. Incoming POTS dial peers are established for both AA pilot numbers.
dial-peer voice 1010 pots
service acdaa
port 1/1/0
incoming called-number 8005550121
dial-peer voice 1020 pots
service aa-bcd
port 1/1/1
incoming called-number 8005550123
.
.
.
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param aa-hunt2 5072
param number-of-hunt-grps 2
param queue-len 10
!
service acdaa tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550121
param service-name callq
param max-time-vm-retry 2
param voice-mail 5007
param call-retry-timer 20
param number-of-hunt-grps 1
param drop-through-prompt _bacd_welcome.au
param drop-through-option 2
param second-greeting-time 45
param handoff-string acdaa
param max-time-call-retry 360
!
service aa-bcd tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550123
param service-name callq
param second-greeting-time 60
param max-time-call-retry 180
param max-time-vm-retry 2
param voice-mail 5007
param call-retry-timer 5
param handoff-string aa-bcd
param drop-through-option 1
param number-of-hunt-grps 1
Related Commands
param call-retry-timer
To specify the time interval before each attempt to retry to connect a call to an ephone hunt group used with a Cisco CME B-ACD service, use the param call-retry-timer command in application-parameter configuration mode. To return to the default, use the no form of this command.
param call-retry-timer seconds
no param call-retry-timer seconds
Syntax Description
seconds
Time that a call must wait before attempting or reattempting to transfer a call to an ephone hunt group pilot number, in seconds. Range is from 5 to 30 seconds.
Defaults
15 seconds
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice call-retry-timer command.
Usage Guidelines
This command is used with Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service. A Cisco Unified CME B-ACD service can have more than one AA, and each AA can specify a different interval for retries to connect to ephone hunt group phones.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets up a B-ACD with two AAs. The first AA is called acdaa and it has an AA pilot number of (800) 555-0121. The second AA is aa-bcd and has an AA pilot number of (800) 555-0123. Both AAs use the call-queue service named callq. The first AA has a call-retry timer set to 10 seconds, and the second AA has a call-retry timer set to 5 seconds.
dial-peer voice 1010 pots
service acdaa
port 1/1/0
incoming called-number 8005550121
dial-peer voice 1020 pots
service aa-bcd
port 1/1/1
incoming called-number 8005550123
.
.
.
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param aa-hunt2 5072
param number-of-hunt-grps 2
param queue-len 10
!
service acdaa tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550121
param service-name callq
param max-time-vm-retry 2
param voice-mail 5007
param call-retry-timer 10
param number-of-hunt-grps 1
param drop-through-prompt _bacd_welcome.au
param drop-through-option 2
param second-greeting-time 45
param handoff-string acdaa
param max-time-call-retry 60
!
service aa-bcd tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550123
param service-name callq
param second-greeting-time 60
param max-time-call-retry 180
param max-time-vm-retry 2
param voice-mail 5007
param call-retry-timer 5
param handoff-string aa-bcd
param drop-through-option 1
param number-of-hunt-grps 1
Related Commands
param co-did-max
To set the upper boundary of the range of valid digits coming from the PSTN Central Office (CO) for use with the Direct Inward Dial (DID) Digit Translation Service, use the param co-did-max command in application-parameter configuration mode. To disable this option, use the no form of this command.
param co-did-max max-co-value
no param co-did-max max-co-value
Syntax Description
Defaults
No maximum value is defined for the range of digits coming from the CO.
Command Modes
Application-parameter configuration
Command History
Usage Guidelines
This command defines the upper limit of the range of digits accepted from the CO when it is used with the Cisco Unified CallManager Express (Cisco Unified CME) DID Digit Translation Service. This service provides number translation for DID calls when the range of DID digits provided by the PSTN Central Office (CO) does not match the digits in the Cisco Unified CME extension numbers.
The Tcl script that provides the service accepts PSTN DID numbers of any length and maps them to the internal extension numbers that are assigned by a system administrator. Where necessary, a prefix is appended to the DID digits to create a valid extension number. The script uses the parameters that you input to determine the valid range of digits to be accepted from the CO, the valid range of digits in the local dial plan, and the prefix to append, if necessary. The script also handles DID calls that map to invalid extension numbers: a prompt is played and the calls are disconnected.
Examples
The following example configures DID Digit Translation Service on the Cisco Unified CME router. It sets a lower boundary of 00 and an upper boundary of 79 for the valid range of digits coming from the CO.
application
service didapp tftp://192.168.254.254/scripts/did/app-THD-DID-2.0.0.1.tcl
paramspace english index 1
paramspace english language en
paramspace english location tftp://192.168.254.254/apps/dir25/
param secondary-prefix 4
param did-prefix 5
param co-did-min 00
param co-did-max 79
param store-did-min 00
param store-did-max 79
Related Commands
param co-did-min
To set the lower boundary of the range of valid digits coming from the PSTN Central Office (CO) that is used with the Direct Inward Dial (DID) Digit Translation Service, use the param co-did-min command in application-parameter configuration mode. To disable this option, use the no form of this command.
param co-did-min min-co-value
no param co-did-min min-co-value
Syntax Description
Defaults
No minimum value is defined for the range of digits coming from the CO.
Command Modes
Application-parameter configuration
Command History
Usage Guidelines
This command defines the upper limit of the range of digits accepted from the CO when it is used with the Cisco Unified CallManager Express (Cisco Unified CME) DID Digit Translation Service. This service provides number translation for DID calls when the range of DID digits provided by the PSTN Central Office (CO) does not match the digits in the Cisco Unified CME extension numbers.
The Tcl script that provides the service accepts PSTN DID numbers of any length and maps them to the internal extension numbers that are assigned by a system administrator. Where necessary, a prefix is appended to the DID digits to create a valid extension number. The script uses the parameters that you input to determine the valid range of digits to be accepted from the CO, the valid range of digits in the local dial plan, and the prefix to append, if necessary. The script also handles DID calls that map to invalid extension numbers: a prompt is played and the calls are disconnected.
Examples
The following example configures DID Digit Translation Service on the Cisco Unified CME router. It sets a lower boundary of 00 and an upper boundary of 79 for the valid range of digits coming from the CO.
application
service didapp tftp://192.168.254.254/scripts/did/app-THD-DID-2.0.0.1.tcl
paramspace english index 1
paramspace english language en
paramspace english location tftp://192.168.254.254/apps/dir25/
param secondary-prefix 4
param did-prefix 5
param co-did-min 00
param co-did-max 79
param store-did-min 00
param store-did-max 79
Related Commands
param dial-by-extension-option
To assign a menu number to an Cisco CME B-ACD option by which callers can directly dial known extension numbers, use the param dial-by-extension-option command in application-parameter configuration mode. To disable this option, use the no form of this command.
param dial-by-extension-option menu-number
no param dial-by-extension-option menu-number
Syntax Description
menu-number
Menu option number to be associated with the dial-by-extension option. Range is from 1 to 9. There is no default.
Defaults
Dial-by-extension option is not assigned.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice dial-by-extension-option command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
This command allows you to designate a menu option number for callers to press if they want to dial an extension number that they already know. This command also enables the playing of the en_bacd_enter_dest.au audio file after a caller presses the dial-by-extension menu number. The default announcement in this audio file is "Please enter the extension number you want to reach."
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets up a B-ACD with an AA called acd1, which has an AA pilot number of (800) 555-0121. The call-queue service used with this AA is named callq. Callers to (800) 555-0121 can press 1 to dial an extension number (param dial-by-extension-option 1 under service acd1) or press 2 to be connected to the hunt group with the pilot number 5072 (param aa-hunt2 5072 under service callq).
dial-peer voice 1010 pots
service acd1
port 1/1/0
incoming called-number 8005550121
.
.
.
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt2 5072
param number-of-hunt-grps 1
param queue-len 10
!
service acd1 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param handoff-string acd1
param service-name callq
param aa-pilot 8005550121
param number-of-hunt-grps 1
param dial-by-extension-option 1
param second-greeting-time 45
param call-retry-timer 20
param max-time-call-retry 360
param max-time-vm-retry 2
param voice-mail 5007
Related Commands
param did-prefix
To set a prefix to add to digits coming from the PSTN Central Office (CO) to create valid extension numbers when using the Direct Inward Dial (DID) Digit Translation Service, use the param did-prefix command in application-parameter configuration mode. To disable this option, use the no form of this command.
param did-prefix did-prefix
no param did-prefix did-prefix
Syntax Description
Defaults
No prefix is defined.
Command Modes
Application-parameter configuration
Command History
Usage Guidelines
This command is used with the Cisco Unified CallManager Express (Cisco Unified CME) DID Digit Translation Service, which provides number translation for DID calls when the range of DID digits provided by the PSTN Central Office (CO) does not match the digits in the Cisco Unified CME extension numbers.
The Tcl script that provides the service accepts PSTN DID numbers of any length and maps them to the internal extension numbers that are assigned by a system administrator. Where necessary, a prefix is appended to the DID digits to create a valid extension number. The script uses the parameters that you input to determine the valid range of digits to be accepted from the CO, the valid range of digits in the local dial plan, and the prefix to append, if necessary. The script also handles DID calls that map to invalid extension numbers: a prompt is played and the calls are disconnected.
Examples
The following example configures DID Digit Translation Service on the Cisco Unified CME router. It specifies that a prefix of 5 should be applied to the digits coming from the CO in order to construct a valid extension number.
application
service didapp tftp://192.168.254.254/scripts/did/app-THD-DID-2.0.0.1.tcl
paramspace english index 1
paramspace english language en
paramspace english location tftp://192.168.254.254/apps/dir25/
param secondary-prefix 4
param did-prefix 5
param co-did-min 00
param co-did-max 79
param store-did-min 00
param store-did-max 79
Related Commands
param drop-through-option
To assign the drop-through option to a Cisco Unified CME B-ACD auto-attendant (AA) application, use the param drop-through option command in application-parameter configuration mode. To disable this option, use the no form of this command.
param drop-through-option menu-number
no param drop-through-option menu-number
Syntax Description
Defaults
Drop-through option is not assigned.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice drop-through-option command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
When an AA is configured for drop-through mode, the AA sends incoming calls directly to the call queue associated with the menu number specified in this command. Once in the queue, a caller hears ringback if an agent is available or music on hold (MOH) if all agents are busy. If a greeting prompt for drop-through mode is configured using the param drop-through-prompt command, a caller hears the prompt before being sent to the queue as described.
The menu option number is an aa-hunt number that is associated with an ephone hunt group using the param aa-hunt command.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets up a B-ACD with two AAs, both in drop-through mode. The first AA is called acdaa and it has an AA pilot number of (800) 555-0121. The second AA is aa-bcd and has an AA pilot number of (800) 555-0123. Both AAs use the call-queue service named callq. Callers to (800) 555-0121 drop directly through to the hunt group with the pilot number 5072 after hearing the greeting prompt in the audio file named en_dto_welcome.au. Callers to (800) 555-0123 drop directly through to the hunt group with the pilot number 5071 without hearing any greeting.
dial-peer voice 1010 pots
service acdaa
port 1/1/0
incoming called-number 8005550121
dial-peer voice 1020 pots
service aa-bcd
port 1/1/1
incoming called-number 8005550123
.
.
.
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param aa-hunt2 5072
param number-of-hunt-grps 2
param queue-len 10
!
service acdaa tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550121
param service-name callq
param max-time-vm-retry 2
param voice-mail 5007
param call-retry-timer 20
param number-of-hunt-grps 1
param drop-through-prompt _bacd_dto_welcome.au
param drop-through-option 2
param second-greeting-time 45
param handoff-string acdaa
param max-time-call-retry 360
!
service aa-bcd tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550123
param service-name callq
param second-greeting-time 60
param max-time-call-retry 180
param max-time-vm-retry 2
param voice-mail 5007
param call-retry-timer 5
param handoff-string aa-bcd
param drop-through-option 1
param number-of-hunt-grps 1
Related Commands
param drop-through-prompt
To associate an audio prompt file with the drop-through option for a Cisco Unified CME B-ACD automated attendant (AA) application, use the param drop-through-prompt command in application-parameter configuration mode. To disable the prompt, use the no form of this command.
param drop-through-prompt audio-filename
no param drop-through-prompt audio-filename
Syntax Description
audio-filename
Identifying part of the filename of the prompt to be played when calls for the drop-through option are answered.
Defaults
No prompt is designated for the drop-through option.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice drop-through-prompt command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
When an AA is configured for drop-through mode, the AA sends incoming calls directly to the call queue associated with the menu number specified in this command. Once in the queue, a caller hears ringback if an agent is available or music on hold (MOH) if all agents are busy. If an greeting prompt for drop-through mode is configured, a caller hears the prompt before being sent to the queue as described.
The menu option number is an aa-hunt number that is associated with an ephone hunt group using the param aa-hunt command.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets up a B-ACD with two AAs, both in drop-through mode. The first AA is called acdaa and it has an AA pilot number of (800) 555-0121. The second AA is aa-bcd and has an AA pilot number of (800) 555-0123. Both AAs use the call-queue service named callq. Callers to (800) 555-0121 drop directly through to the hunt group with the pilot number 5072 after hearing the greeting prompt in the audio file named en_dto_welcome.au. (The prefix en is specified in the paramspace language command and is automatically added to the filename provided in the param drop-through-prompt command.) Callers to (800) 555-0123 drop directly through to the hunt group with the pilot number 5071 without hearing any greeting.
dial-peer voice 1010 pots
service acdaa
port 1/1/0
incoming called-number 8005550121
dial-peer voice 1020 pots
service aa-bcd
port 1/1/1
incoming called-number 8005550123
.
.
.
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param aa-hunt2 5072
param number-of-hunt-grps 2
param queue-len 10
!
service acdaa tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550121
param service-name callq
param max-time-vm-retry 2
param voice-mail 5007
param call-retry-timer 20
param number-of-hunt-grps 1
param drop-through-prompt _bacd_dto_welcome.au
param drop-through-option 2
param second-greeting-time 45
param handoff-string acdaa
param max-time-call-retry 360
!
service aa-bcd tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550123
param service-name callq
param second-greeting-time 60
param max-time-call-retry 180
param max-time-vm-retry 2
param voice-mail 5007
param call-retry-timer 5
param handoff-string aa-bcd
param drop-through-option 1
param number-of-hunt-grps 1
Related Commands
param ea-password
To create a password for accessing the extension assigner application, use the param ea-password command in application service configuration mode.
param ea-password password
Syntax Description
password
Numeric string to be used as password for the extension assigner application. Password string must be 2 to 10 characters long and can contain numbers 0 to 9.
Command Default
No password is created.
Command Modes
Application service configuration
Command History
Usage Guidelines
This command creates a password for using the extension assigner application.
If this command is not configured, you cannot use the extension assigner application.
Note There is no no form of this command. To change or remove the password for the extension assigner application, remove the service using the no form of the service command in application configuration mode.
Examples
The following example shows that a password (1234) is configured for the extension assigner application:
application
service EA flash:ea/app-cme-ea-2.0.0.0.tcl
paramspace english index 0
paramspace english language en
param ea-password 1234
paramspace english location flash:ea/
paramspace english prefix en
Related Commands
Command Descriptionapplication
Enters application configuration mode.
service
Loads and configures a specific, standalone application on a dial peer.
param handoff-string
To specify the name of a Cisco Unified CME B-ACD auto-attendant (AA) to be passed to the call-queue script, use the param handoff-string command in application-parameter configuration mode. To disable the handoff string, use the no form of this command.
param handoff-string aa-service-name
no param drop-through-prompt aa-service-name
Syntax Description
Defaults
No string is designated to be passed to the call-queue service.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice handoff-string command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
The handoff string is used only when the call-queue script starts for the first time or restarts after a failure.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets parameters for an AA application called aa and a call-queue application called queue. The direct-dial number to reach the AA service is (800) 555-0100. Callers to this number drop through to the ephone hunt group that has a pilot number of 5071 after hearing the initial prompt from the file en_dt_prompt.au. The AA name, aa is passed to the call-queue service in the param handoff-string command.
dial-peer voice 1000 pots
service aa
port 1/1/0
incoming called-number 8005550100
ephone-hunt 10 sequential
pilot 5071
list 5011, 5012, 5013, 5014, 5015
!
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param number-of-hunt-grps 1
param queue-len 10
!
service aa tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550100
param number-of-hunt-groups 1
param service-name callq
param handoff-string aa
param second-greeting-time 60
param drop-through-option 1
param drop-through-prompt _dt_prompt.au
param call-retry-timer 15
param max-time-call-retry 700
param voice-mail 5000
param max-time-vm-retry 2
Related Commands
param max-extension-length
To specify the maximum number of digits callers can dial when they choose the dial-by-extension option from the Cisco Unified CME B-ACD service, use the param max-extension-length command in application-parameter configuration mode. To return to the default, use the no form of this command.
param max-extension-length number
no param max-extension-length number
Syntax Description
Defaults
The default number of digits callers can dial using the dial-by-extension option is 5.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME3.3
This command was introduced to replace the call application voice max-extension-length command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
Use this command to restrict the number of digits that callers can dial when using the dial-by-extension option.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets parameters for an AA application called aa and a call-queue application called queue. The direct-dial number to reach the AA service is (800) 555-0100. Callers to this number can press 1 to be connected to the ephone hunt group with the pilot number 5071 or can press 2 to dial an extension number of 4 or fewer digits.
dial-peer voice 1000 pots
service aa
port 1/1/0
incoming called-number 8005550100
ephone-hunt 10 sequential
pilot 5071
list 5011, 5012, 5013, 5014, 5015
!
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param number-of-hunt-grps 1
param queue-len 10
!
service aa tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550100
param welcome-prompt _aa_welcome.au
param number-of-hunt-groups 1
param dial-by-extension-option 2
param max-extension-length 4
param service-name callq
param handoff-string aa
param second-greeting-time 60
param call-retry-timer 15
param max-time-call-retry 700
param voice-mail 5000
param max-time-vm-retry 2
Related Commands
param max-time-call-retry
To specify the maximum length of time for which calls to a Cisco Unified CME B-ACD service can stay in a call queue, use the param max-time-call-retry command in application-parameter configuration mode. To return to the default, use the no form of this command.
param max-time-call-retry seconds
no param max-time-call-retry seconds
Syntax Description
seconds
Maximum length of time that the call-queue service can keep redialing an ephone hunt group pilot number, in seconds. The range is from 0 to 3600. The default is 600.
Defaults
A call in a B-ACD call queue continues to try to connect to a hunt group for 600 seconds.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice max-time-call-retry command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
A call to a Cisco Unified CME B-ACD service is put into a call queue if the hunt group that the call tried to reach has no phones available to take the call because they are all busy. While the call is in the queue, a second greeting is played at intervals specified by the param second-greeting-time command. From the queue, the call makes retries to connect at intervals specified by the param call-retry-timer command until the maximum amount of time to be spent in the queue expires. The maximum amount of time is set by the param max-time-call-retry command. After the maximum amount of time expires, the call is routed to the alternate destination specified in the param voice-mail command. If the alternate destination number is busy, the call makes the number of retries to connect specified in the param max-time-vm-retry command. If the call is unable to connect to the alternate destination after the number of retries that has been specified, it is disconnected.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets parameters for an AA application called aa and a call-queue application called queue. The direct-dial number to reach the AA service is (800) 555-0100. Callers to this number can press 1 to be connected to the ephone hunt group with the pilot number 5071 or can press 2 to dial an extension number of 4 or fewer digits.
If a caller presses 2 and all the phones in ephone-hunt group 10 are busy, the call is put into a queue for hunt group 10. Every 60 seconds, the caller hears the second greeting, which is "Please continue to hold. An agent will be with you shortly." Every 15 seconds, the call-queue service tries again to connect the call to the hunt group. If no phones become available before 700 seconds expire, the call is routed to extension 5000. If that extension is busy, the call-queue service retries it 2 times more. If the call still cannot be connected, it is disconnected.
dial-peer voice 1000 pots
service aa
port 1/1/0
incoming called-number 8005550100
ephone-hunt 10 sequential
pilot 5071
list 5011, 5012, 5013, 5014, 5015
!
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param number-of-hunt-grps 1
param queue-len 10
!
service aa tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550100
param welcome-prompt _aa_welcome.au
param number-of-hunt-groups 1
param dial-by-extension-option 2
param max-extension-length 4
param service-name callq
param handoff-string aa
param second-greeting-time 60
param call-retry-timer 15
param max-time-call-retry 700
param voice-mail 5000
param max-time-vm-retry 2
Related Commands
param max-time-vm-retry
To specify the maximum number of times that calls in a Cisco Unified CME B-ACD call queue can attempt to connect to the alternate destination number, use the param max-time-vm-retry command in application-parameter configuration mode. To return to the default, use the no form of this command
param max-time-vm-retry number
no param max-time-vm-retry number
Syntax Description
number
Number of times that the alternate destination number is redialed by the call-queue service. Range is from 1 to 3. Default is 1.
Defaults
A call in a B-ACD call queue tries to connect to an alternate destination number 1 time.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice max-time-vm-retry command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
A call to a Cisco Unified CME B-ACD service is put into a call queue if the hunt group that the call tried to reach has no phones available to take the call because they are all busy. While the call is in the queue, a second greeting is played at intervals specified by the param second-greeting-time command. From the queue, the call makes retries to connect at intervals specified by the param call-retry-timer command until the maximum amount of time to be spent in the queue expires. The maximum amount of time is set by the param max-time-call-retry command. After the maximum amount of time expires, the call is routed to the alternate destination specified in the param voice-mail command. If the alternate destination number is busy, the call makes the number of retries to connect specified in the param max-time-vm-retry command. If the call is unable to connect to the alternate destination after the number of retries that has been specified, it is disconnected.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets parameters for an AA application called aa and a call-queue application called queue. The direct-dial number to reach the AA service is (800) 555-0100. Callers to this number can press 1 to be connected to the ephone hunt group with the pilot number 5071 or can press 2 to dial an extension number of 4 or fewer digits.
If a caller presses 2 and all the phones in ephone-hunt group 10 are busy, the call is put into a queue for hunt group 10. Every 60 seconds, the caller hears the second greeting, which is "Please continue to hold. An agent will be with you shortly." Every 15 seconds, the call-queue service tries again to connect the call to the hunt group. If no phones become available before 700 seconds expire, the call is routed to extension 5000. If that extension is busy, the call-queue service retries it 2 times more. If the call still cannot be connected, it is now disconnected.
dial-peer voice 1000 pots
service aa
port 1/1/0
incoming called-number 8005550100
ephone-hunt 10 sequential
pilot 5071
list 5011, 5012, 5013, 5014, 5015
!
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param number-of-hunt-grps 1
param queue-len 10
!
service aa tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550100
param welcome-prompt _aa_welcome.au
param number-of-hunt-groups 1
param dial-by-extension-option 2
param max-extension-length 4
param service-name callq
param handoff-string aa
param second-greeting-time 60
param call-retry-timer 15
param max-time-call-retry 700
param voice-mail 5000
param max-time-vm-retry 2
Related Commands
param number-of-hunt-grps
To specify the number of hunt groups used with a Cisco Unified CME B-ACD call-queue or AA service, use the param number-of-hunt-grps command in application-parameter configuration mode. To return to the default, use the no form of this command.
param number-of-hunt-grps number
no param number-of-hunt-grps number
Syntax Description
number
Number of ephone hunt groups used by the service. Range is 1 to 10 for the call-queue service and 1 to 3 for an automated attendant (AA) service.
Defaults
This parameter is not set.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice number-of-hunt-grps command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured both under the service command for the call-queue service and under the service command for an AA service.
The number of hunt groups specified for the call-queue service is the total of the number of hunt groups used with all the AAs with which it is associated. For example, if a B-ACD has three AAs, each with two hunt groups, the number of hunt groups for each AA is two and the number of hunt groups for the call-queue service is six.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
A call-queue service called CQ is set up to work with two AA services. CQ lists 4 as the number of hunt groups it uses. AA1 is associated with 3 hunt groups, and its callers hear the following prompt: "Press 1 for sales, press 2 for service, press 0 for operator." AA2 uses drop-through mode. Its callers do not hear a prompt and are directly connected to the single hunt group that is associated with it.
application
service CQ tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 1001
param aa-hunt2 2001
param aa-hunt3 3001
param aa-hunt4 4001
param number-of-hunt-grps 4
param queue-len 10
service AA1 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550111
param number-of-hunt-groups 3
param service-name CQ
param welcome-prompt _bacd_welcome.au
param handoff-string AA1
service AA2 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550122
param number-of-hunt-groups 1
param service-name CQ
param drop-through-option 4
param handoff-string AA2
Related Commands
param queue-len
To specify the number of calls that can be held in each call queue in a Cisco Unified CME B-ACD service, use the param queue-len command in application-parameter configuration mode. To return to the default, use the no form of this command.
param queue-len number
no param queue-len number
Syntax Description
Defaults
The default queue length is 10.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice queue-len command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for a call-queue service.
This command specifies the maximum number of calls that can be held in a call queue for a hunt group used with B-ACD when all of the hunt group member phones are busy.
Note that having calls in queue keeps PSTN ports occupied for a longer time, and you may want to plan for more ports if you have longer queues. The maximum number of calls allowed in the queues of ephone hunt groups must be based on the number of ports or trunks available. For example, if you have 20 foreign exchange office (FXO) ports and two ephone hunt groups, you can configure a maximum of ten calls per ephone hunt-group queue using the param queue-len 10 command. You can use the same configuration if you have a single T1 trunk, which supports 23 channels.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
A call-queue service called CQ is set up to work with two AA services. CQ lists four as the number of hunt groups it uses. AA1 is associated with three hunt groups, and its callers hear the following prompt: "Press 1 for sales, press 2 for service, press 0 for operator." AA2 uses drop-through mode. Its callers do not hear a prompt and are directly connected to the single hunt group that is associated with it. Up to 12 calls can be held in the call queue for each hunt group if all the phones in the hunt group are busy.
application
service CQ tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 1001
param aa-hunt2 2001
param aa-hunt3 3001
param aa-hunt4 4001
param number-of-hunt-grps 4
param queue-len 12
service AA1 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550111
param number-of-hunt-groups 3
param service-name CQ
param welcome-prompt _bacd_welcome.au
param handoff-string AA1
service AA2 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550122
param number-of-hunt-groups 1
param service-name CQ
param drop-through-option 4
param handoff-string AA2
Related Commands
param que ue-manager-debugs
To enable the collection of call-queue debug information in a Cisco Unified CME B-ACD service, use the param queue-manager-debugs command in application-parameter configuration mode. To remove the setting, use the no form of this command with the keyword that was previously used.
param queue-manager-debugs [0 | 1]
no param queue-manager-debugs [0 | 1]
Syntax Description
0
Disables collection of call-queue debug information.
1
Enables collection of call-queue debug information
Command Default
Collection of debug information is disabled.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice queue-manager-debugs command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for the call-queue service.
This command enables the collection of data regarding call queue activity. It is used in conjunction with the debug voip ivr script command. Both commands must be enabled at the same time.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
A call-queue service called CQ is set up to work with two AA services. CQ lists four as the number of hunt groups it uses. AA1 is associated with three hunt groups, and its callers hear the following prompt: "Press 1 for sales, press 2 for service, press 0 for operator." AA2 uses drop-through mode. Its callers do not hear a prompt and are directly connected to the single hunt group that is associated with it. Up to ten calls can be held in the call queue for each hunt group if all the phones in the hunt group are busy with other calls. Call-queue debugging is enabled.
application
service CQ tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 1001
param aa-hunt2 2001
param aa-hunt3 3001
param aa-hunt4 4001
param number-of-hunt-grps 4
param queue-len 10
service AA1 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550111
param number-of-hunt-groups 3
param service-name CQ
param welcome-prompt _bacd_welcome.au
param handoff-string AA1
service AA2 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550122
param number-of-hunt-groups 1
param service-name CQ
param drop-through-option 4
param handoff-string AA2
Related Commands
param secondary-prefix
To set a prefix to add to digits coming from the PSTN Central Office (CO) to route calls from a secondary Cisco Unified CME router to a primary Cisco Unified CME router when using the Direct Inward Dial (DID) Digit Translation Service, use the param secondary-prefix command in application-parameter configuration mode. To disable this option, use the no form of this command.
param secondary-prefix secondary-prefix
no param secondary-prefix secondary-prefix
Syntax Description
secondary-prefix
Prefix to add to digits in order to route calls to the primary Cisco Unified CME router. Range is from 0 to 99.
Defaults
No prefix is defined.
Command Modes
Application-parameter configuration
Command History
Usage Guidelines
This command is used with the Cisco Unified CallManager Express (Cisco Unified CME) DID Digit Translation Service, which provides number translation for DID calls when the range of DID digits provided by the PSTN Central Office (CO) does not match the digits in the Cisco Unified CME extension numbers.
The Tcl script that provides the service accepts PSTN DID numbers of any length and maps them to the internal extension numbers that are assigned by a system administrator. Where necessary, a prefix is appended to the DID digits to create a valid extension number. The script uses the parameters that you input to determine the valid range of digits to be accepted from the CO, the valid range of digits in the local dial plan, and the prefix to append, if necessary. The script also handles DID calls that map to invalid extension numbers: a prompt is played and the calls are disconnected.
When calls are received by a secondary Cisco Unified CME router, they are routed to the primary router by configuring an H.323 VoIP dial peer and matching the destination pattern for that dial peer. The DID prefix that was configured for use with the DID script is appended to the incoming DID digits first. The secondary prefix is appended next. For example, if the incoming DID digits are 25, the DID prefix is 3, and the secondary prefix is 7, the transformed number will be 7325. The transformed number matches a VoIP dial peer, which uses the forward-digits command to send only the three relevant digits, the extension number, to the primary router.
See the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example configures a Basic DID application on the Cisco Unified CME router. It sets a prefix of 5 to apply to the digits coming from the CO in order to construct a valid extension number. Then the secondary prefix (4) is appended. If the incoming DID digits are 25, the DID prefix is 5, and the secondary prefix is 4, then the transformed number is 4525. The transformed number matches VoIP dial peer 1000. The VoIP dial peer sends calls to the primary Cisco Unified CME router using the IP address that is entered in the session target command. The dial peer uses the forward-digits command to send the extension number, 525, to the primary Cisco Unified CME router.
dial-peer voice 1000 voip
destination-pattern 45..
session target ipv4:10.1.1.1
dtmf-relay h245-alphanumeric
codec g711ulaw
forward-digits 3
application
service didapp tftp://192.168.254.254/scripts/did/app-THD-DID-2.0.0.1.tcl
paramspace english index 1
paramspace english language en
paramspace english location tftp://192.168.254.254/apps/dir25/
param secondary-prefix 4
param did-prefix 5
param co-did-min 00
param co-did-max 79
param store-did-min 00
param store-did-max 79
Related Commands
param second-greeting-time
To set the length of the intervals between playouts of the second greeting to calls waiting in hunt group call queues that are part of a Cisco Unified CME B-ACD service, use the param second-greeting-time command in application-parameter configuration mode. To return to the default, use the no form of this command
param second-greeting-time seconds
no param max-time-vm-retry seconds
Syntax Description
seconds
Length of time intervals between playouts of the second greeting to calls in a B-ACD call queue, in seconds. Range is from 30 to 120. Default is 60.
Defaults
The second greeting is played out every 60 seconds to calls in B-ACD call queues.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice second-greeting-time command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
A call to a Cisco Unified CME B-ACD service is put into a call queue if the hunt group that the call tried to reach has no phones available to take the call because they are all busy. While the call is in the queue, a second greeting is played at intervals specified by the param second-greeting-time command. From the queue, the call retries to connect to the hunt group at intervals specified by the param call-retry-timer command until the maximum amount of time to be spent in the queue expires. The maximum amount of time is set by the param max-time-call-retry command. After the maximum amount of time expires, the call is routed to the alternate destination specified in the param voice-mail command. If the alternate destination number is busy, the call makes the number of retries to connect specified in the param max-time-vm-retry command. If the call is unable to connect to the alternate destination after the number of retries that has been specified, it is disconnected.
The second greeting is stored in the audio file named en_bacd_allagentsbusy.au. You can rerecord over the default message that is provided in the file, but you cannot change the name of the file.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets parameters for an AA application called aa and a call-queue application called queue. The direct-dial number to reach the AA service is (800) 555-0100. Callers to this number can press 1 to be connected to the ephone hunt group with the pilot number 5071 or can press 2 to dial an extension number of 4 or fewer digits.
If a caller presses 2 and all the phones in ephone-hunt group 10 are busy, the call is put into a queue for hunt group 10. Every 60 seconds, the caller hears the second greeting, which is "Please continue to hold. An agent will be with you shortly." Every 15 seconds, the call-queue service tries again to connect the call to the hunt group. If no phones become available before 700 seconds expire, the call is routed to extension 5000. If that extension is busy, the call-queue service retries it 2 times more. If the call still cannot be connected, it is now disconnected.
dial-peer voice 1000 pots
service aa
port 1/1/0
incoming called-number 8005550100
ephone-hunt 10 sequential
pilot 5071
list 5011, 5012, 5013, 5014, 5015
!
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param number-of-hunt-grps 1
param queue-len 10
!
service aa tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550100
param welcome-prompt _aa_welcome.au
param number-of-hunt-groups 1
param dial-by-extension-option 2
param max-extension-length 4
param service-name callq
param handoff-string aa
param second-greeting-time 60
param call-retry-timer 15
param max-time-call-retry 700
param voice-mail 5000
param max-time-vm-retry 2
Related Commands
param service-name
To specify a Cisco Unified CME B-ACD call-queue service to use with an automated attendant (AA) service, use the param service-name command in application-parameter configuration mode. To return to the default, use the no form of this command.
param service-name queue-service-name
no param service-name queue-service-name
Syntax Description
Defaults
No call-queue service is specified.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice service-name command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information, the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
A call-queue service called CQ is set up to work with two AA services. CQ lists four as the number of hunt groups it uses. AA1 is associated with three hunt groups, and its callers hear the following prompt: "Press 1 for sales, press 2 for service, press 0 for operator." AA2 uses drop-through mode. Its callers do not hear a prompt and are directly connected to the single hunt group that is associated with it. Up to ten calls can be held in the call queue for each hunt group if all the phones in the hunt group are busy with other calls. Call-queue debugging is enabled.
application
service CQ tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 1001
param aa-hunt2 2001
param aa-hunt3 3001
param aa-hunt4 4001
param number-of-hunt-grps 4
param queue-len 10
service AA1 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550111
param number-of-hunt-groups 3
param service-name CQ
param welcome-prompt _bacd_welcome.au
param handoff-string AA1
service AA2 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550122
param number-of-hunt-groups 1
param service-name CQ
param drop-through-option 4
param handoff-string AA2
Related Commands
param store-did-max
To set the upper boundary of the range of digits that is valid in the Cisco Unified CME numbering plan used with the Direct Inward Dial (DID) Digit Translation Service, use the param store-did-max command in global configuration mode. To disable this option, use the no form of this command.
param store-did-max max-store-value
no param store-did-max max-store-value
Syntax Description
Defaults
No maximum value is defined for the range of digits in the dial plan.
Command Modes
Application-parameter configuration
Command History
Usage Guidelines
This command defines the upper limit of the range of digits in the site dial plan for the Cisco Unified CallManager Express (Cisco Unified CME) Direct Inward Dial Digit Translation Service, which provides number translation for DID calls when the DID digits provided by the PSTN Central Office (CO) do not match the digits in the Cisco Unified CME extension numbers.
The Tcl script that provides the service accepts PSTN DID numbers of any length and maps them to the internal extension numbers that are assigned by a system administrator. Where necessary, a prefix is appended to the DID digits to create a valid extension number. The script uses the parameters that you input to determine the valid range of digits to be accepted from the CO, the valid range of digits in the local dial plan, and the prefix to append, if necessary. The script also handles DID calls that map to invalid extension numbers. A prompt is played and the calls are disconnected.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example configures Direct Inward Dial Digit Translation Service on the Cisco Unified CME router. It sets a lower boundary of 00 and an upper boundary of 79 for the range of digits in the Cisco Unified CME extension dial plan.
application
service didapp tftp://192.168.254.254/scripts/did/app-THD-DID-2.0.0.1.tcl
paramspace english index 1
paramspace english language en
paramspace english location tftp://192.168.254.254/apps/dir25/
param secondary-prefix 4
param did-prefix 5
param co-did-min 00
param co-did-max 79
param store-did-min 00
param store-did-max 79
Related Commands
param store-did-min
To set the lower boundary of the range of digits that is valid in the Cisco Unified CME numbering plan used with the Direct Inward Dial (DID) Digit Translation Service, use the param store-did-min command in application-parameter configuration mode. To disable this option, use the no form of this command.
param store-did-min min-store-value
no param store-did-min min-store-value
Syntax Description
Defaults
No minimum value is defined for the range of digits in the dial plan.
Command Modes
Application-parameter configuration
Command History
Usage Guidelines
This command defines the lower limit of the range of digits in the site dial plan when it is used with the Cisco Unified CallManager Express (Cisco Unified CME) DID Digit Translation Service. This service provides number translation for DID calls when the range of DID digits provided by the PSTN Central Office (CO) does not match the digits in the Cisco Unified CME extension numbers.
The Tcl script that provides the service accepts PSTN DID numbers of any length and maps them to the internal extension numbers that are assigned by a system administrator. Where necessary, a prefix is appended to the DID digits to create a valid extension number. The script uses the parameters that you input to determine the valid range of digits to be accepted from the CO, the valid range of digits in the local dial plan, and the prefix to append, if necessary. The script also handles DID calls that map to invalid extension numbers: a prompt is played and the calls are disconnected.
Examples
The following example configures DID Digit Translation Service on the Cisco Unified CME router. It sets a lower boundary of 00 and an upper boundary of 79 for the range of digits in the Cisco Unified CME extension dial plan.
application
service didapp tftp://192.168.254.254/scripts/did/app-THD-DID-2.0.0.1.tcl
paramspace english index 1
paramspace english language en
paramspace english location tftp://192.168.254.254/apps/dir25/
param secondary-prefix 4
param did-prefix 5
param co-did-min 00
param co-did-max 79
param store-did-min 00
param store-did-max 79
Related Commands
param voice-mail
To set an alternate destination number to which to route calls that cannot be connected to a hunt group that is part of a Cisco Unified CME B-ACD service, use the param voice-mail command in application-parameter configuration mode. To return to the default, use the no form of this command
param voice-mail number
no param voice-mail number
Syntax Description
number
Extension number to which to route calls. The number must be associated with a dial peer that is reachable by the Cisco Unified CME system.
Defaults
No alternate destination number is set.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice voice-mail command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
Calls are diverted to an alternate destination only when one of the following criteria is met:
•The hunt group to which the call has been transferred is unavailable because all members are logged out.
•The call-queue maximum retry timer has expired.
The alternate destination can be any number at which you can assure call coverage, such as a voice-mail number, a permanently staffed number, or a number that rings an overhead night bell. Once a call is diverted to an alternate destination, it is no longer controlled by the B-ACD service. This parameter is set with the param voice-mail command.
If you send calls to a voice-mail system as an alternate destination, be sure to set up the voice-mail system as specified in the documentation for the system.
If you specify a number for an alternate destination, the number must be associated with a dial peer that is reachable by the Cisco Unified CME system.
For any configuration changes to take effect, you must reload the Cisco Unified CME B-ACD scripts.
For more information about B-ACD, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets parameters for an AA application called aa and a call-queue application called queue. The direct-dial number to reach the AA service is (800) 555-0100. Callers to this number can press 1 to be connected to the ephone hunt group with the pilot number 5071 or can press 2 to dial an extension number of 4 or fewer digits.
If a caller presses 2 and all the phones in ephone-hunt group 10 are busy, the call is put into a queue for hunt group 10. Every 60 seconds, the caller hears the second greeting, which is "Please continue to hold. An agent will be with you shortly." Every 15 seconds, the call-queue service tries again to connect the call to the hunt group. If no phones become available before 700 seconds expire, the call is routed to extension 5000, which is the alternate destination. If that extension is busy, the call-queue service retries it 2 times more. If the call still cannot be connected, it is disconnected.
dial-peer voice 1000 pots
service aa
port 1/1/0
incoming called-number 8005550100
ephone-hunt 10 sequential
pilot 5071
list 5011, 5012, 5013, 5014, 5015
!
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param number-of-hunt-grps 1
param queue-len 10
!
service aa tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550100
param welcome-prompt _aa_welcome.au
param number-of-hunt-groups 1
param dial-by-extension-option 2
param max-extension-length 4
param service-name callq
param handoff-string aa
param second-greeting-time 60
param call-retry-timer 15
param max-time-call-retry 700
param voice-mail 5000
param max-time-vm-retry 2
Related Commands
param welcome-prompt
To specify an audio file containing a prompt to be played as a welcome for callers to an automated attendant (AA) that is part of a Cisco Unified CME B-ACD service, use the param welcome-prompt command in application-parameter configuration mode. To return to the default, use the no form of this command
param welcome-prompt audio-filename
no param welcome-prompt audio-filename
Syntax Description
Defaults
The audio file named en_bacd_welcome.au is used as a welcome prompt.
Command Modes
Application-parameter configuration
Command History
Cisco IOS Release Cisco Product Modification12.3(14)T
Cisco CME 3.3
This command was introduced to replace the call application voice voice-mail command.
Usage Guidelines
This command is used with the Cisco Unified CME Basic Automatic Call Distribution and Auto-Attendant (B-ACD) service. This command is configured under the service command for an AA service.
Each AA service that is used with the Cisco Unified CME B-ACD service needs a welcome greeting to tell callers the destination they have reached and, sometimes, the options that they have. The en_bacd_welcome. au audio file is used by default. It announces "Thank you for calling," and includes a two-second pause after the message. The filename of the welcome prompt audio file has two parts: a two-letter prefix that denotes a language code specified in the paramspace language command, and the identifying part that indicates the purpose of the file. In the default welcome prompt audio file, the prefix is en and the identifying part is _bacd_welcome.au. Note that the identifying part starts with an underscore.
If your Cisco Unified CME B-ACD service uses a single AA application, you can record a custom welcome greeting in the audio file named en_welcome_prompt.au and record instructions about menu choices in the audio file named en_bacd_options_menu.au.
If your Cisco Unified CME B-ACD service uses multiple AA applications, you will need separate greetings and menu options for each AA. Use the following guidelines:
•Record a separate welcome prompt for each AA application, using a different name for the audio file for each welcome prompt. For example, en_welcome_aa1.au and en_welcome_aa2.au. The welcome prompts that you record in these files should include both the greeting and the instructions about menu options.
•Record silence in the audio file en_bacd_options_menu.au. A minimum of one second of silence must be recorded. Note that you cannot change the identifier part of the name of this audio file.
For any Cisco Unified CME B-ACD configuration changes to take effect, you must reload the scripts.
For more information, see the Cisco Unified CallManager Express B-ACD and Tcl Call-Handling Applications document for your release.
Examples
The following example sets parameters for two AA applications, called aa1 and aa2, and a call-queue application called queue. The direct-dial numbers to reach the AA services are (800) 555-0100 for aa1 and (800) 555-0110 for aa2. Callers to aa1 can press 1 to be connected to the ephone hunt group with the pilot number 5071 or can press 2 to dial an extension number of 4 or fewer digits. Callers to aa2 can press 2 to dial an extension number of 4 or fewer digits or press 3 to be connected to the ephone hunt group with the pilot number 5073. Both AAs share an operator hunt group, which is menu option 4.
The welcome prompt for aa1 is "Thank you for calling the Sales department. Press 1 to place an order. Press 2 if you know the extension of the party you want, or press 0 to speak to an operator." The filename of the audio file that contains this welcome prompt is en_aa1_welcome.au.
The welcome prompt for aa2 is "Thank you for calling the Service department. Press 2 if you know the extension of the party you want. Press 3 to speak to a service technician or press 0 to speak to an operator." The filename of the audio file that contains this welcome prompt is en_aa2_welcome.au.
dial-peer voice 1000 pots
service aa1
port 1/1/0
incoming called-number 8005550100
dial-peer voice 1100 pots
service aa2
port 1/1/1
incoming called-number 8005550110
ephone-hunt 10 sequential
pilot 5071
list 5011, 5012, 5013, 5014, 5015
ephone-hunt 11 sequential
pilot 5073
list 5021, 5022, 5023, 5024, 5025
!
application
service callq tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd.tcl
param queue-manager-debugs 1
param aa-hunt1 5071
param aa-hunt3 5073
param aa-hunt4 6000
param number-of-hunt-grps 3
param queue-len 10
!
service aa1 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550100
param welcome-prompt _aa1_welcome.au
param number-of-hunt-groups 2
param dial-by-extension-option 2
param max-extension-length 4
param service-name callq
param handoff-string aa1
param second-greeting-time 60
param call-retry-timer 15
param max-time-call-retry 700
param voice-mail 5000
param max-time-vm-retry 2
service aa2 tftp://192.168.254.254/user1/CallQ/B-ACD/app-b-acd-aa.tcl
paramspace english location tftp://192.168.254.254/user1/prompts/
paramspace english index 0
paramspace english language en
param aa-pilot 8005550110
param welcome-prompt _aa2_welcome.au
param number-of-hunt-groups 2
param dial-by-extension-option 2
param max-extension-length 4
param service-name callq
param handoff-string aa2
param second-greeting-time 60
param call-retry-timer 15
param max-time-call-retry 700
param voice-mail 5000
param max-time-vm-retry 2
Related Commands
paramspace callsetup after-hours-exempt
To specify that an individual dial peer does not have any of its calls blocked by the Cisco router even though call blocking has been enabled, use the paramspace callsetup after-hours-exempt command in dial-peer voice configuration mode. To return to the default, use the no form of this command.
paramspace callsetup after-hours-exempt {true | false}
no paramspace callsetup after-hours-exempt
Syntax Description
true
Dial peer is exempt from call-blocking configuration.
false
Dial peer is subject to call-blocking configuration. This is default.
Defaults
All dial peers are subject to call-blocking configuration.
Command Modes
Dial-peer voice configuration
Command History
Cisco IOS Release Cisco Products Modification12.4(4)T
Cisco CME 3.4
Cisco SRST 3.4This command was introduced.
Usage Guidelines
This command is intended to allow H.323 and SIP trunk calls to utilize the voice gateway in spite of the the after-hours configuration in Cisco Unified CME or Cisco Unified SRST.
A Cisco voice gateway (session application) accesses the after-hours call-blocking configuration set by Cisco Unified CME or Cisco Unified SRST and blocks all SCCP, SIP, H.323, and POTS calls that go through the Cisco router regardless of whether the call is from a phone controlled by the Cisco router or from a phone controlled by some other call control application, such as Cisco Unified CallManager.
To disable the After Hours Call Blocking feature for incoming calls from phones other than those registered to a Cisco Unified CME or Cisco Unified SRST router, use this command to exempt an individual H.323, SIP, or POTS dial peer from the call blocking configuration.
To disable the After Hours Call Blocking feature for an individual IP phone registered in Cisco Unified CME or Cisco Unified SRST:
•In Cisco CME 3.4 and later, disable the After Hours Call Blocking feature for a directory number on a SIP phone by using the after-hour exempt command in voice register pool or voice register dn configuration mode.
•In Cisco CME 3.0 and later, disable the After Hours Call Blocking feature for an individual SCCP phone by using the after-hour exempt command in ephone or ephone-template configuration mode.
•In Cisco SIP SRST 3.4 and later, disable the After Hours Call Blocking feature for SIP phones in a voice register pool by using the after-hour exempt command in voice register pool configuration mode.
•In Cisco SRST, you cannot create an exemption for an individual phone from the call-blocking configuration.
Examples
The following example shows how to set the After Hours Call Blocking feature in Cisco Unified CME, and how to configure a particular dial peer (255) so that outgoing calls through this dial peer are exempt from this after-hours call blocking configuration:
Router(config)# telephony-service
Router(config-telephony)# after-hours block pattern 1 9011
Router(config-telephony)# exit
Router(config)# dial-peer voice 255 voip
Router(config-dial-peer)# paramspace callsetup after-hours-exempt true
Related Commands
park-slot
To create a floating extension (ephone-dn) at which calls can be temporarily held (parked), use the park-slot command in ephone-dn configuration mode. To disable the extension, use the no form of this command.
park-slot [reserved-for extension-number] [timeout seconds limit count] [notify extension-number [only]] [recall] [transfer extension-number] [alternate extension-number] [retry seconds limit count]
no park-slot [reserved-for extension-number] [timeout seconds limit count] [notify extension-number [only]] [recall] [transfer extension-number] [alternate extension-number] [retry seconds limit count]
Syntax Description
Command Default
No call-park slot is defined.
Command Modes
Ephone-dn configuration
Command History
Usage Guidelines
This command creates a call-park slot that is a floating extension, or ephone-dn that is not bound to a physical phone, to which phone users can transfer calls and automatically place them on hold for later pickup from the transferring extension or from another extension. This action is known as "call park."
At least one call-park slot must be defined using this command before the Park soft key is displayed on phones in a Cisco Unified CME system.
Phone users park calls using the Park soft key. The phone user who parked the call can retrieve the call using the PickUp soft key and an asterisk (*). Other phone users retrieve calls using the PickUp soft key and the extension number of the call-park slot. Calls can also be transferred to a call-park-slot extension number using the Transfer key; a transfer to a call-park slot is always a blind transfer. Calls can also be forwarded to a call-park-slot extension, and callers can directly dial call-park-slot extensions.
When a call that uses a G.711 codec is parked, the caller hears the music-on-hold (MOH) audio stream; otherwise, the caller hears tone on hold.
A reminder ring can be sent to the extension that parked the call by using the timeout keyword with the park-slot command. The timeout keyword and argument set the interval length during which the call-park reminder ring is timed out or inactive. If the timeout keyword is not used, no reminder ring is sent to the extension that parked the call. The number of time-out intervals and reminder rings are configured with the limit keyword and argument. For example, a limit of 3 timeout intervals sends 2 reminder rings (interval 1, ring 1, interval 2, ring 2, interval 3). The timeout and limit keywords and arguments also set the maximum time that calls stay parked. For example, a timeout interval of 10 seconds and a limit of 5 timeout intervals (park-slot timeout 10 limit 5) will park calls for approximately 50 seconds.
If the timeout keyword is not used with this command, no reminder ring is sent to the extension that parked the call. If the timeout keyword is used, a reminder ring is sent only to the extension that parked the call unless the notify keyword is also used to specify an additional extension number to receive a reminder ring. When an additional extension number is specified using the notify keyword, the phone user at that extension can retrieve a call from this slot by pressing the PickUp soft key and an asterisk (*).
Each call-park slot can hold one call at a time, so the number of simultaneous calls that can be parked is equal to the number of slots that have been created in the Cisco Unified CME system. Using the reserved-for keyword, you can also create a call-park slot that is dedicated for use by one extension so that extension always has a slot available at which to park a call. With nonreserved slots, multiple call-park slots can be created with the same extension number so that all the calls that are parked for a particular group can be parked at a known extension number. For example, at a hardware store, calls for the plumbing department can be parked at extension 101, calls for lighting can be parked at 102, and so forth. Then, anyone in the plumbing department can pick up calls from extension 101. When multiple calls are parked at the same extension number, they are picked up in the order in which they were parked; that is, the call that has been parked the longest is the first call picked up from that extension number.
IP phones park calls at their dedicated call-park slots using the Park soft key. IP phones can also transfer calls to dedicated call-park slots using the Transfer soft key and a standard or custom feature access code (FAC) for call park. Analog phones transfer calls to dedicated call-park slots using hookflash and a standard or custom FAC for call park. The standard FAC for call park is **6. Custom FACs are created using the fac command.
If no dedicated park slot is found anywhere in the Cisco Unified CME system for an ephone-dn attempting to park a call, the system uses the standard call-park procedure; that is, the system searches for a preferred park slot (one with an ephone-dn number that matches the last two digits of the ephone-dn attempting to park the call) and if none is found, uses any available call-park slot.
If a name has been specified for a call-park slot, that name will be displayed rather than an extension number on a recall or transfer of the call.
A parked call can have the following dispositions after its timeouts expire:
•Recall—If you specify that a call should be recalled to the parking phone after the timeout interval expires, the call is always returned to the phone's primary extension number, regardless of which extension on the phone did the parking.
•Transfer—If you specify a transfer target, the call is transferred to the specified number after the timeout intervals expire instead of returning to the primary number of the parking phone.
•Alternate—You can also specify an alternate target extension to which to transfer a parked call if the recall or transfer target is in use. In use is defined as either ringing or connected to a call. For example, a call is parked at the dedicated park slot for the phone with the primary extension of 2001. After the timeouts expire, the system attempts to recall the call to extension 2001, but that line is now connected to a different call. The system transfers the call to the alternate target that was specified when the park slot was defined.
•Disconnect—When a timeout limit is set and no other disposition has been specified, a call parked at a call-park slot is disconnected after the number of reminder timeouts has been reached.
Examples
The following example creates a call-park slot with the number 1001. After a call is parked at this number, the system provides 10 reminder rings at intervals of 30 seconds to the extension that parked the call.
ephone-dn 45
number 1001
park-slot timeout 30 limit 10
The following example creates a dedicated call-park slot, 2558, that is reserved for the phone that has the primary extension of 2977. Both extension 2977 and 2976 are on the same phone, so they both can use this slot, which is reserved only for the extensions on that phone. After three timeout intervals of 60 seconds, a parked call is recalled to extension 2977. If extension 2977 is busy, the call is rerouted to extension 3754.
ephone-dn 24
number 2977
ephone-dn 25
number 2976
ephone-dn 27
number 3754
ephone-dn 30
number 2558
name Park 2977
park-slot reserved-for 2977 timeout 60 limit 3 recall alternate 3754
ephone 44
button 1:24 2:25
ephone 45
button 1:27
Related Commands
pattern (voice register dialplan)
To define a dial pattern for a SIP dial plan, use the pattern command in voice register dialplan configuration mode. To remove the pattern, use the no form of this command.
pattern tag string [button button-number] [timeout seconds] [user {ip | phone}]
no pattern tag
Syntax Description
Command Default
No pattern is defined.
Command Modes
Voice register dialplan configuration
Command History
Usage Guidelines
Use this command to define a pattern of dialed digits that are matched by the phone and passed to Cisco Unified CME to initiate a call. Dial strings that match the pattern trigger the sending of a SIP INVITE message to Cisco Unified CME. Patterns are matched sequentially in order of the tag number.
You must first use the type command to specify the type of phone that the dial plan is being defined for before you can enter a pattern. Enter this command for each dial pattern that is part of the dial plan definition. After you define a dial plan, assign it to a SIP phone by using the dialplan command.
The button keyword specifies the button to which the dial pattern applies. If the user is initiating a call on line button 1, only the dial patterns specified for button 1 apply. If this keyword is not configured, the dial pattern applies to all lines on the phone. This keyword is not supported on Cisco Unified IP Phones 7905 or 7912. The button number corresponds to the order of the buttons on the side of the screen, from top to bottom, with 1 being the top button.
The pattern command and filename command are mutually exclusive. You can use either the pattern command to define dial patterns manually for a dial plan, or the filename command to select a custom dial pattern file that is loaded in system flash.
Examples
The following example shows the dial patterns set for SIP dial plan 10:
Router(config)# voice register dialplan 10
Router(config-register-dialplan)# type 7905-7912
Router(config-register-dialplan)# pattern 52...
Router(config-register-dialplan)# pattern 91.......
Related Commands
pattern direct
To configure the dual tone multifrequency (DTMF) digit pattern forwarding necessary to activate the voice-mail system when a user presses the Messages button on an IP phone in a Cisco CallManager Express (Cisco CME) system, use the pattern direct command in voice-mail integration configuration mode. To disable DTMF pattern forwarding when a user presses the Messages button on a phone, use the no form of this command.
pattern direct tag1 {CDN | CGN | FDN} [tag2 {CDN | CGN | FDN}]
[tag3 {CDN | CGN | FDN}] [last-tag]no pattern direct
Syntax Description
Defaults
This feature is disabled.
Command Modes
Voice-mail integration configuration
Command History
Usage Guidelines
The pattern direct command is used to configure the sequence of dual tone multifrequency (DTMF) digits passed to a voice-mail system attached to the router through one or more voice ports. When a call is placed directly from a Cisco IP phone attached to the router, the voice-mail system expects to receive a sequence of DTMF digits at the beginning of the call to identify the user's mailbox, accompanied by a string of digits to indicate that the caller is attempting to access the designated mailbox in order to retrieve messages.
Although it is unlikely that you will use multiple instances of the CDN, CGN, or FDN keywords in a single command line, it is permissible to do so.
Examples
The following example sets the DTMF pattern for a calling number (CGN) for a direct call to the voice-mail system:
Router(config) vm-integration
Router(config-vm-integration) pattern direct 2 CGN *
Related Commands
pattern ext-to-ext busy
To configure the dual tone multifrequency (DTMF) digit pattern forwarding necessary to activate a voice-mail system after an internal extension attempts to connect to a busy extension and the call is forwarded to voice mail, use the pattern ext-to-ext busy command in voice-mail integration configuration mode. To disable the feature, use the no form of this command.
pattern ext-to-ext busy tag1 {CDN | CGN | FDN} [tag2 {CDN | CGN | FDN}]
[tag3 {CDN | CGN | FDN}] [last-tag]no pattern ext-to-ext busy
Syntax Description
Defaults
This feature is disabled.
Command Modes
Voice-mail integration configuration
Command History
Usage Guidelines
The pattern ext-to-ext busy command is used to configure the sequence of DTMF digits passed to a voice-mail system attached to the router through one or more voice ports. When a call is routed to the voice-mail system by call forward on busy from a Cisco IP phone attached to the router, the voice-mail system expects to receive digits that identify the mailbox associated with the forwarding phone together with digits that identify the extension number of the calling IP phone.
Although it is unlikely that you will use multiple instances of the CDN, CGN, or FDN keywords in a single command line, it is permissible to do so.
Examples
The following example sets the DTMF pattern for a local call forwarded on busy to the voice-mail system:
Router(config) vm-integration
Router(config-vm-integration) pattern ext-to-ext busy 7 FDN * CGN *
Related Commands
pattern ext-to-ext no-answer
To configure the dual tone multifrequency (DTMF) pattern forwarding necessary to activate the voice-mail system once an internal extension fails to connect to a nonanswering extension and the call is forwarded to voice mail, use the pattern ext-to-ext no-answer command in voice-mail integration configuration mode. To disable this feature, use the no form of this command.
pattern ext-to-ext no-answer tag1 {CDN | CGN | FDN} [tag2 {CDN | CGN | FDN}]
[tag3 {CDN | CGN | FDN}] [last-tag]no pattern ext-to-ext no-answer
Syntax Description
Defaults
This feature is disabled.
Command Modes
Voice-mail integration configuration
Command History
Usage Guidelines
The pattern ext-to-ext no-answer command is used to configure the sequence of DTMF digits passed to a voice-mail system attached to the router through one or more voice ports. When a call is routed to the voice-mail system by call forward on no-answer from an IP phone attached to the router, the voice-mail system expects to receive digits that identify the mailbox associated with the forwarding phone together with digits that identify the extension number of the calling IP phone.
Although it is unlikely that you will use multiple instances of the CDN, CGN, or FDN keywords in a single command line, it is permissible to do so.
Examples
The following example sets the DTMF pattern for a local call forwarded on no-answer to the voice-mail system:
Router(config) vm-integration
Router(config-vm-integration) pattern ext-to-ext no-answer 5 FDN * CGN *
Related Commands
pattern trunk-to-ext busy
To configure the dual tone multifrequency (DTMF) digit pattern forwarding necessary to activate the voice-mail system once an external trunk call reaches a busy extension and the call is forwarded to voice mail, use the pattern trunk-to-ext busy command in voice-mail integration configuration mode. To return to the default, use the no form of this command.
pattern trunk-to-ext busy tag1 {CDN | CGN | FDN} [tag2 {CDN | CGN | FDN}]
[tag3 {CDN | CGN | FDN}] [last-tag]no pattern trunk-to-ext busy
Syntax Description
Defaults
This feature is disabled by default.
Command Modes
Voice-mail integration configuration
Command History
Usage Guidelines
The pattern trunk-to-ext busy command is used to configure the sequence of DTMF digits passed to a voice-mail system attached to the router through one or more voice ports. When a call is routed to the voice-mail system by call forward on busy from an IP phone attached to the router, the voice-mail system expects to receive a sequence of digits identifying the mailbox associated with the forwarding phone together with digits indicating that the call originated from a PSTN or VoIP caller.
Although it is unlikely that you will use multiple instances of the CDN, CGN, or FDN keywords in a single command line, it is permissible to do so.
Examples
The following example sets the DTMF pattern for call forwarding when an external trunk call reaches a busy extension and the call is forwarded to the voice-mail system:
Router(config) vm-integration
Router(config-vm-integration) pattern trunk-to-ext busy 6 FDN * CGN *
Related Commands
pattern trunk-to-ext no-answer
To configure the dual tone multifrequency (DTMF) digit pattern forwarding necessary to activate the voice-mail system when an external trunk call reaches an unanswered extension and the call is forwarded to voice mail, use the pattern trunk-to-ext no-answer command in voice-mail integration configuration mode. To disable this feature, use the no form of this command.
pattern trunk-to-ext no-answer tag1 {CDN | CGN | FDN} [tag2 {CDN | CGN | FDN}]
[tag3 {CDN | CGN | FDN}] [last-tag]no pattern trunk-to-ext no-answer
Syntax Description
Defaults
This feature is disabled.
Command Modes
Voice-mail integration configuration
Command History
Usage Guidelines
The pattern trunk-to-ext no-answer command is used to configure the sequence of DTMF digits passed to a voice-mail system attached to the router through one or more voice ports. When a call is routed to the voice-mail system by call forward on no-answer from an IP phone attached to the router, the voice-mail system expects to receive digits that identify the mailbox associated with the forwarding phone together with digits that indicate that the call originated from a PSTN or VoIP caller.
Although it is unlikely that you will use multiple instances of the CDN, CGN, or FDN keywords in a single command line, it is permissible to do so.
Examples
The following example sets the DTMF pattern for call forwarding when an external trunk call reaches an unanswered extension and the call is forwarded to a voice-mail system:
Router(config) vm-integration
Router(config-vm-integration) pattern trunk-to-ext no-answer 4 FDN * CGN *
Related Commands
phone-key-size
To specify the size of the RSA key pair that is generated on phones, use the phone-key-size command in CAPF-server configuration mode. To return the size to the default, use the no form of this command.
phone-key-size {512 | 1024 | 2048}
no phone-key-size
Syntax Description
Command Default
RSA key pair size is 1024.
Command Modes
CAPF-server configuration
Command History
Cisco IOS Release Cisco Product Modification12.4(4)XC
Cisco Unified CME 4.0
This command was introduced.
Usage Guidelines
This command is used with Cisco Unified CME phone authentication.
If you choose a higher key size than the default setting, the phones take longer to generate the entropy that is required to generate the keys. Key generation, which is set at low priority, allows the phone to function while the action occurs. Depending on the phone model, you may notice that key generation takes up to 30 or more minutes to complete.
Examples
The following example specifies a key size of 2048 bits.
Router(config)# capf-server
Router(config-capf-server)# source address 10.10.10.1
Router(config-capf-server)# trustpoint-label server25
Router(config-capf-server)# cert-oper upgrade all
Router(config-capf-server)# cert-enroll-trustpoint server12 password 0 x8oWiet
Router(config-capf-server)# auth-mode auth-string
Router(config-capf-server)# auth-string generate all
Router(config-capf-server)# port 3000
Router(config-capf-server)# keygen-retry 5
Router(config-capf-server)# keygen-timeout 45
Router(config-capf-server)# phone-key-size 2048
phone-redirect-limit (voice register global)
To set the number of 3XX responses an originating SIP phone in a Cisco CallManager Express (Cisco CME) system can accept for a single cal., use the phone-redirect-limit command in voice register global configuration mode. To revert to the default, use the no form of this command.
phone-redirect-limit number
no phone-redirect-limit
Syntax Description
Defaults
5
Command Modes
Voice register global configuration
Command History
Usage Guidelines
Use this command to control how many subsequent 3XX responses an originating SIP phone can handle for a single call. The terminating side is any forwarding party which does not use B2BUA, but sends 3XX directly to the originating calling phone. When Cisco CME gets a 3XX from the terminating side, Cisco CME relays the 3XX to the originating SIP phone. The default number of 3XXs that the originating phone can accept is 5.
The following example shows how to set the maximum number of redirects to 6:
Router(config)# voice register global
Router(config-register-global)# phone-redirect-limit 6
Related Commands
pickup-group
To assign an extension (ephone-dn) to a Cisco Unified CME call-pickup group, use the pickup-group command in ephone-dn or ephone-dn-template configuration mode. To remove the extension from the group, use the no form of this command.
pickup-group number
no pickup-group
Syntax Description
number
Digit string representing a pickup group number. The string can contain a maximum of 32 digits.
Command Default
An extension does not belong to any pickup group.
Command Modes
Ephone-dn configuration
Ephone-dn-template configurationCommand History
12.4(9)T
Cisco Unified CME 4.0
This command in ephone-dn-template configuration mode was integrated into Cisco IOS Release1 12.4(9)T.
Usage Guidelines
This command allows administrators to assign an individual ephone-dn to a call-pickup group. Phone users can pick up ringing calls within their own pickup group more easily than calls outside their group.
Each ephone-dn can be assigned to a maximum of one pickup group.
Pickup group numbers may be of varying length, but their leading digits must be unique. For example, you cannot define both pickup group 17 and pickup group 177 in the same Cisco Unified CME system, because a pickup in group 17 will always be triggered before the user can enter the final 7 for group 177. You can, however, define pickup groups 27 and 177 in the same Cisco Unified CME system.
There is no limit to the number of ephone-dns that can be assigned to a single pickup group, and there is no limit to the number of pickup groups that can be defined in a Cisco Unified CME system.
If you use an ephone-dn template to apply a command to an ephone-dn and you also use the same command in ephone-dn configuration mode for the same ephone-dn, the value that you set in ephone-dn configuration mode has priority.
Examples
The following example assigns extension 3242 to pickup group 25:
Router(config)# ephone-dn 4
Router(config-ephone-dn)# number 3242
Router(config-ephone-dn)# pickup-group 25
The following example uses an ephone-dn-template to assign extension 3242 to pickup group 25:
Router(config)# ephone-dn-template 8
Router(config-ephone-dn-template)# pickup-group 25
Router(config-ephone-dn-template)# exit
Router(config)# ephone-dn 4
Router(config-ephone-dn)# number 3242
Router(config-ephone-dn)# ephone-dn-template 8
Related Commands
Command Descriptionephone-dn
Enters ephone-dn configuration mode.
ephone-dn-template
Enters ephone-dn-template configuration mode.
pilot
To define the ephone-dn that callers dial to reach a Cisco CallManager Express (Cisco CME) ephone hunt group, use the pilot command in ephone-hunt configuration mode. To remove the pilot number from the ephone hunt group, use the no form of this command.
pilot number [secondary number]
no pilot number [secondary number]
Syntax Description
Defaults
No pilot number is defined.
Command Modes
Ephone-hunt configuration
Command History
Usage Guidelines
This command defines a valid number for an ephone-dn (extension) that is to be assigned to an ephone hunt pilot group. The dial-plan pattern can be applied to the pilot number.
The secondary keyword allows you to associate a second telephone number with this ephone-dn so that the hunt group can be called by dialing either the main or secondary phone number. The secondary number may contain one or more wildcards instead of digits, even if the wildcard number overlaps the primary number. For example, 50.. (the number 50 followed by periods, which stand for wildcards) matches all four-digit extensions that start with 50. Wildcard characters cannot be used in the primary pilot number.
Alphabetic characters can be used to create a primary or secondary pilot number that cannot be dialed from a phone and is not part of the dial plan.
Examples
The following example sets the pilot number to 2345 for peer ephone hunt group number 5:
ephone-hunt 5 peer
pilot 2345
list 2346, 2347, 2348
hops 3
timeout 45
final 6000
The following example sets the pilot number for ephone hunt group 3 to 2222 and the secondary pilot number to 4444:
ephone-hunt 3 sequential
pilot 2222 secondary 4444
list 2555, 2556, 2557
final 6000
The following example uses wildcards in the secondary pilot number to create a hunt group that receives the calls made to all numbers that start with 555. The primary pilot number, A0, cannot be dialed.
ephone-hunt 1 longest-idle
pilot A0 secondary 555....
list 1000, 1001, 1002
timeout 5
hops 3
final 1100
Related Commands
pilot (voice hunt-group)
To define the voice dn that callers dial to reach a Cisco CallManager Express (Cisco CME) voice hunt group, use the pilot command in voice hunt-group configuration mode. To remove the pilot number from the voice hunt group, use the no form of this command.
pilot number [secondary number]
no pilot number [secondary number]
Syntax Description
Defaults
No pilot number is defined
Command Modes
Voice hunt-group configuration
Command History
Usage Guidelines
This command defines a valid number for an voice dn (extension) that is to be assigned to an voice hunt pilot group. The dial-plan pattern can be applied to the pilot number.
The secondary keyword allows you to associate a second telephone number with this voice dn so that the hunt group can be called by dialing either the main or secondary phone number. The secondary number may contain one or more wild cards instead of digits, even if the wildcard number overlaps the primary number. For example, 50.. (the number 50 followed by periods, which stand for wild card) matches all four-digit extensions that start with 50. Wildcard characters cannot be used in the primary pilot number.
Alphabetic characters can be used to create a primary or secondary pilot number that cannot be dialed from a phone and is not part of the dial plan.
Examples
The following example shows how to set the pilot number to 2345 for voice hunt group hunt group number 5:
voice-hunt 5 peer
pilot 2345
list 2346, 2347, 2348
hops 3
timeout 45
final 6000
The following example shows how to set the pilot number for voice hunt group 3 to 2222 and the secondary pilot number to 4444:
voice hunt-group 3 sequential
pilot 2222 secondary 4444
final 6000
The following example shows how to use wild cards in the secondary pilot number to create a voice hunt group that receives the calls made to all numbers that start with 55501. The primary pilot number, A0, cannot be dialed.
voice hunt-group 1 longest-idle
pilot A0 secondary 55501..
list 1000, 1001, 1002
timeout 5
hops 3
final 1100
Related Commands
pin
To set a personal identification number (PIN) for an IP phone in a Cisco CallManager Express (Cisco CME) system, use the pin command in ephone configuration mode. To remove a PIN, use the no form of this command.
pin number
no pin
Syntax Description
number
PIN that will be used to log in to a Cisco IP phone. This is a numeric string from four to eight digits in length.
Defaults
No PIN is set.
Command Modes
Ephone configuration
Command History
Cisco IOS Release Cisco CME Version Modification12.2(15)ZJ
3.0
This command was introduced.
12.3(4)T
3.0
This command was integrated into Cisco IOS Release 12.3(4)T.
Usage Guidelines
The pin command allows individual phone users to override call-blocking patterns that are associated with defined time periods. Call-blocking patterns that are in effect at all times (7 days a week, 24 hours a day) cannot be overridden using a PIN.
Call blocking on IP phones is defined in the following way. First, one or more patterns of outgoing digits to be blocked are defined using the after-hours block pattern command. Next, one or more time periods during which calls to those patterns are to be blocked are defined using the after-hours date or after-hours day command or both. By default, all IP phones in a Cisco CME system are restricted if at least one pattern and at least one time period are defined. Individual phones can be completely exempted from call blocking using the after-hour exempt command. An individual with a PIN can override call blocking by entering the PIN after pressing the Login soft key to log in to a phone that has been configured for that PIN using the pin command.
The PIN functionality applies only to IP phones that have soft keys, such as the Cisco IP Phones 7940 and 7940G and the Cisco IP Phones 7960 and 7960G.
Examples
The following example sets a PIN for an IP phone:
Router(config)# ephone 1
Router(config-ephone)# pin 1000
Related Commands
pin (voice logout-profile and voice user-profile)
To configure a personal identification number (PIN) for accessing a particular IP phone that is enabled for extension mobility, use the pin command in voice logout-profile configuration mode or voice user-profile configuration mode. To remove a PIN, use the no form of this command.
pin number
no pin number
Syntax Description
Command Default
No PIN is configured.
Command Modes
Voice logout-profile configuration (config-logout-profile)
Voice user-profile configuration (config-user-profile)Command History
Cisco IOS Release Cisco Product Modification12.4(11)XW
Cisco Unified CME 4.2
This command was introduced.
Usage Guidelines
Use this command in voice logout-profile configuration mode to create a PIN to be used by a phone user to disable the call blocking configuration for a Cisco Unified IP phone on which a logout profile is downloaded.
Use this command in voice user-profile configuration mode to create a PIN to be used by a phone user to disable the call blocking configuration for a Cisco Unified IP phone on which a user profile is downloaded.
PIN functionality applies only to IP phones that have soft keys, such as the Cisco Unified IP Phone 7940 and 7940G.
Examples
The following example shows the configuration for a user profile to be downloaded when a phone user logs into a Cisco Unified IP phone that is enabled for extension mobility, including a PIN of 12345:
pin 12345
user me password pass123
number 2001 type silent-ring
number 2002 type beep-ring
number 2003 type feature-ring
number 2004 type monitor-ring
number 2005,2006 type overlay
number 2007,2008 type cw-overly
speed-dial 1 3001
speed-dial 2 3002 blf
Related Commands
Command Descriptionreset (voice logout-profile and voice user-profile)
Performs complete reboot of all IP phones on which a particular logout-profile or user-profile is downloaded.
port (CAPF-server)
To define the TCP port number on which the CAPF server listens for incoming socket connections, use the port command in CAPF-server configuration mode. To use the default, use the no form of this command.
port tcp-port
no port
Syntax Description
Command Default
TCP port number 3804.
Command Modes
CAPF-server configuration
Command History
Cisco IOS Release Cisco Product Modification12.4(4)XC
Cisco Unified CME 4.0
This command was introduced.
12.4(9)T
Cisco Unified CME 4.0
This command was integrated into Cisco IOS Release 12.4(9)T.
Usage Guidelines
This command is used with Cisco Unified CME phone authentication.
Examples
The following example specifies TCP port 3000 instead of the default port 3804:
Router(config)# capf-server
Router(config-capf-server)# source address 10.10.10.1
Router(config-capf-server)# trustpoint-label server25
Router(config-capf-server)# cert-oper upgrade all
Router(config-capf-server)# cert-enroll-trustpoint server12 password 0 x8oWiet
Router(config-capf-server)# auth-mode auth-string
Router(config-capf-server)# auth-string generate all
Router(config-capf-server)# port 3000
Router(config-capf-server)# keygen-retry 5
Router(config-capf-server)# keygen-timeout 45
Router(config-capf-server)# phone-key-size 2048
preference (ephone-dn)
To set dial-peer preference order for an extension (ephone-dn) associated with a Cisco IP phone, use the preference command in ephone-dn configuration mode. To reset the preference order to the default, use the no form of this command.
preference preference-order [secondary secondary-order]
no preference
Syntax Description
Defaults
preference-order: 0 (highest preference)
secondary-order: 9 (lowest preference)
Command Modes
Ephone-dn configuration
Command History
Usage Guidelines
When you create an ephone-dn for an IP phone in a Cisco CallManager Express (Cisco CME) system, you automatically create a virtual voice port and one to four virtual dial peers to be used by that ephone-dn. This command sets a preference value for the primary and secondary numbers that are associated with the ephone-dn that you are creating. The preference values are passed transparently into the dial peer or dial peers created by the ephone-dn. The preference values allow you to control the selection of a desired dial peer when multiple dial peers are matched on the same destination-pattern (target) number value. In this way, the preference command can be used to establish a hunt strategy for incoming calls.
The huntstop command can be used to prevent further hunting for a dial-peer match when an ephone-dn is busy or does not answer.
Examples
The following example sets a preference of 2 for the directory number 3000:
ephone-dn 1
number 3000
preference 2
In the following example, the number 1222 under ephone-dn 4 has a higher preference than the number 1222 under ephone-dn 5.
ephone-dn 4
number 1222
preference 0
!
!
ephone-dn 5
number 1222
preference 1
The following example shows an ephone-dn with two numbers. The primary number has a higher preference than the secondary number.
ephone-dn 6
number 2233 secondary 2234
preference 0 secondary 1
Related Commands
Command Descriptionephone-dn
Enters ephone-dn configuration mode.
huntstop
Discontinues call hunting behavior for an extension (ephone-dn) or an extension channel.
preference (ephone-hunt)
To set preference order for the ephone-dn associated with a Cisco CallManager Express (Cisco CME) ephone-hunt-group pilot number, use the preference command in ephone-hunt configuration mode. To delete this preference order, use the no form of this command.
preference preference-order [secondary secondary-order]
no preference preference-order [secondary secondary-order]
Syntax Description
Defaults
preference-order: 0 (highest preference)
secondary-order: 9 (lowest preference)
Command Modes
Ephone-hunt configuration
Command History
Usage Guidelines
This command sets a preference value that is used for matching dial peers in a Cisco IP phone virtual dial-peer group. The preference value is associated with a pilot number for a Cisco CME ephone hunt group. The preference value is passed transparently into the dial peer created by the pilot number. Setting the preference enables the desired dial peer to be selected when multiple dial peers within a hunt group are matched for a dial string.
Examples
The following example sets the preference for the pilot number of hunt group 23 to 1:
Router(config)# ephone-hunt 23 sequential
Router(config-ephone-hunt)# pilot 2355
Router(config-ephone-hunt)# preference 1
Related Commands
preference (voice hunt-group)
To set preference order for the voice dial peer associated with a Cisco CallManager Express (Cisco CME) voice hunt-group pilot number, use the preference command in voice hunt-group configuration mode. To delete this preference order, use the no form of this command.
preference preference-order [secondary secondary-order]
no preference preference-order [secondary secondary-order]
Syntax Description
Defaults
0 (highest preference)
Command Modes
Voice hunt-group configuration
Command History
Usage Guidelines
This command sets a preference value that is used for matching dial peers in a Cisco IP phone virtual dial-peer group. The preference value is associated with a pilot number for a Cisco CME voice hunt group. The preference value is passed transparently into the dial peer created by the pilot number. Setting the preference enables the desired dial peer to be selected when multiple dial peers within a hunt group are matched for a dial string.
Note It is recommended that the parallel hunt-group pilot number be unique in the system. Parallel hunt groups may not work if there are more than one partial or exact dial-peer match. For example, this happens if the pilot number is "8000" and there is another dial peer that matches "8...". If multiple matches cannot be avoided, give call parallel hunt group the highest priority to run by assigning a lower preference to the other dial peers. Note that 10 is the lowest preference value. By default, dial peers created by parallel hunt groups have a preference of 0.
Examples
The following is an example of a parallel voice hunt group. The pilot number is 6000 and the preference assigned to the pilot number is 1:
voice hunt-group 2 parallel
pilot 6000
preference 1
list 3000, 3010, 3020
final 9999
timeout 10
Related Commands
Command Descriptionpilot (voice hunt-group)
Defines the voice dn that callers dial to reach a Cisco CallManager Express (Cisco CME) voice hunt group.
voice hunt-group
Defines the type of hunt group.
preference (voice register dn)
To set the dial-peer preference order for VoIP dial peer to be created for a directory number on a SIP phone, use the preference command in voice register dn configuration mode. To reset the preference order to the default, use the no form of this command.
preference preference-order
no preference
Syntax Description
preference-order
Preference order for the extension or telephone number associated with a directory number. Range is 0 to 10. Default is 0.
Defaults
0 (highest preference)
Command Modes
Voice register dn configuration
Command History
Cisco IOS Release Version Modification12.4(4)T
Cisco CME 3.4 and Cisco SIP SRST 3.4
This command was introduced.
Usage Guidelines
When you create a directory number for a SIP phone in a Cisco CallManager Express (Cisco CME) or Cisco SIP SRST environment, you automatically create a virtual voice port and one to four virtual dial peers to be used by that directory number. This command sets a preference value for the extension or telephone number that is associated with the directory number hat you are creating. The preference value is passed transparently to dial peers created by the directory number. The preference value allows you to control the selection of a desired dial peer when multiple dial peers are matched on the same destination pattern (extension or telephone number). In this way, the preference command can be used to establish a hunt strategy for incoming calls.
The huntstop command can be used to prevent further hunting for a dial-peer match when a number is busy or does not answer.
Note This command can also be used for Cisco SIP SRST.
Examples
The following example shows how to set a preference of 2 for extension number 3000:
voice register dn 1
number 3000
preference 2
In the following example, extension number 1222 under voice register dn 4 has a higher preference than number 1222 under voice register dn 5.
voice register dn 4
number 1222
preference 0
!
!
voice register dn 5
number 1222
preference 1
Related Commands
preference (voice register pool)
To set the preference order for creating the VoIP dial peers created for a number associated with a voice pool, use the preference command in voice register pool configuration mode. To put the number in default preference order, use the no form of this command.
preference preference-order
no preference
Syntax Description
preference-order
Preference order for the extension or telephone number associated with a pool. Range is 0 to 10. Default is 0, which is the highest preference.
Command Default
0 (highest preference order)
Command Modes
Voice register pool configuration
Command History
Usage Guidelines
When you create a voice register pool for a SIP phone or a group of SIP phones in a Cisco Unified CME or Cisco Unified Session Initiation Protocol (SIP) Survivable Remote Site Telephony (SRST) environemnt, you automatically create a virtual voice port and one to four virtual dial peers to be used by the number associated with that pool. The preference value is passed transparently to dial peers created for the number. The preference value allows you to control the selection of a desired dial peer when multiple dial peers are matched on the same destination pattern (extension or phone number) associated with the pool. In this way, the preference command can be used to establish a hunt strategy for incoming calls.
Note Configure the id (voice register pool) command before any other voice register pool commands, including the preference command. The id command identifies a locally available individual SIP phone or set of Cisco SIP phones.
Examples
The following example shows how to set a preference of 2 for extension number 3000:
voice register pool 1
number 3000
preference 2
In the following example, extension number 1222 under voice register dn 4 has a higher preference than number 1222 under voice register pool 5.
voice register pool 4
number 1222
preference 0
!
!
voice register dn 5
number 1222
preference 1
Related Commands
presence
To enable presence service and enter presence configuration mode, use the presence command in global configuration mode. To disable presence service, use the no form of this command.
presence
no presence
Syntax Description
This command has no arguments or keywords.
Command Default
Presence service is disabled.
Command Modes
Global configuration
Command History
Release Modification12.4(11)XJ
This command was introduced.
12.4(15)T
This command was integrated into Cisco IOS Release 12.4(15)T.
Usage Guidelines
This command enables the router to perform the following presence functions:
•Process presence requests from internal lines to internal lines. Notify internal subscribers of any status change.
•Process incoming presence requests from a SIP trunk for internal lines. Notify external subscribers of any status change.
•Send presence requests to external presentities on behalf of internal lines. Relay status responses to internal lines.
Examples
The following example shows how to enable presence and enter presence configuration mode to set the maximum subscriptions to 150:
Router(config)# presence
Router(config-presence)# max-subscription 150
Related Commands
presence call-list
To enable Busy Lamp Field (BLF) monitoring for call lists and directories on phones registered to the Cisco Unified CME router, use the presence call-list command in ephone, presence, or voice register pool configuration mode. To disable BLF indicators for call lists, use the no form of this command.
presence call-list
no presence call-list
Syntax Description
This command has no arguments or keywords.
Command Default
BLF monitoring for call lists is disabled.
Command Modes
Ephone configuration
Presence configuration
Voice register pool configurationCommand History
Usage Guidelines
This command enables a phone to monitor the line status of directory numbers listed in a directory or call list, such as a missed calls, placed calls, or received calls list. Using this command in presence mode enables the BLF call-list feature for all phones. To enable the feature for an individual SCCP phone, use this command in ephone configuration mode. To enable the feature for an individual SIP phone, use this command in voice register pool configuration mode.
If this command is disabled globally and enabled in voice register pool or ephone configuration mode, the feature is enabled for that voice register pool or ephone.
If this command is enabled globally, the feature is enabled for all voice register pools and ephones regardless of whether it is enabled or disabled on a specific voice register pool or ephone.
To display a BLF status indicator, the directory number associated with a telephone number or extension must have presence enabled with the allow watch command.
For information on the BLF status indicators that display on specific types of phones, see the Cisco Unified IP Phone documentation for your phone model.
Examples
The following example shows the BLF call-list feature enabled for ephone 1. The line status of a directory number that appears in a call list or directory is displayed on phone 1 if the directory number has presence enabled.
Router(config)# ephone 1
Router(config-ephone)# presence call-list
Related Commands
presence enable
To allow incoming presence requests, use the presence enable command in SIP user-agent configuration mode. To block incoming requests, use the no form of this command.
presence enable
no presence enable
Syntax Description
This command has no arguments or keywords.
Command Default
Incoming presence requests are blocked.
Command Modes
SIP user-agent configuration
Command History
Release Modification12.4(11)XJ
This command was introduced.
12.4(15)T
This command was integrated into Cisco IOS Release 12.4(15)T.
Usage Guidelines
This command allows the router to accept incoming presence requests (SUBSCRIBE messages) from internal watchers and SIP trunks. It does not impact outgoing presence requests.
Examples
The following example shows how to allow incoming presence requests:
Router(config)# sip-ua
Router(config-sip-ua)# presence enable
Related Commands
present-call
To present ephone-hunt-group calls only to member phones that are idle or onhook, use the present-call command in ephone-hunt configuration mode. To return to the default, use the no form of this command.
present-call {idle-phone | onhook-phone}
no present-call {idle-phone | onhook-phone}
Syntax Description
Command Default
Ephone hunt group calls are presented to lines (ephone-dns) that are not in use, regardless of the state of other lines on the same ephone.
Command Modes
Ephone-hunt configuration
Command History
Cisco IOS Release Cisco Product Modification12.4(4)XC
Cisco Unified CME 4.0
This command was introduced.
12.4(9)T
Cisco Unified CME 4.0
This command was integrated into Cisco IOS Release 12.4(9)T.
Usage Guidelines
If you do not use this command, an ephone hunt group presents calls to an ephone whenever the phone line (ephone-dn) that corresponds to a number in an ephone-hunt list is available. The status of other phone lines on the phone is not considered.
The present-call command adds additional controls that allow you to take into account the activity on all lines of a phone that has an ephone-dn that is assigned to an ephone hunt group. The present-call command allows you to specify that hunt groups should present calls to these phones only when they are on hook or are not busy with an active call. This keeps hunt group calls from possibly going unanswered because a phone is occupied with a call on a line other than the line assigned to the hunt group.
Examples
The following example sets up a peer hunt group with three ephone-dns to answer calls. Incoming calls are sent only to ephone-dns on phones that are on-hook.
ephone-hunt 17 peer
pilot 3000
list 3011, 3021, 3031
hops 3
final 7600
present-call onhook-phone
Related Commands
Command Descriptionephone-hunt
Defines an ephone hunt group and enters ephone-hunt configuration mode.
provision-tag
To create a provision tag for identifying an ephone configuration for the extension assigner application, use the provision-tag command in ephone configuration mode. To remove the provision tag, use the no form of this command.
provision-tag tag
no provision-tag tag
Syntax Description
Command Default
No provision tag is created.
Command Modes
Ephone configuration
Command History
Usage Guidelines
This command creates a provision tag.
A provision tag enables you to use some number other than an ephone tag, such as a jack number or an extension number, to identify an ephone configuration. The provision tag can be used with the extension assigner application to assign the corresponding ephone configuration to an IP phone.
This command is ignored unless you also use the extension-assigner tag-type command with the provision-tag keyword.
Examples
The following example shows that provision tag 1001 is configured for ephone 1 and provision tag 1002 is configured for ephone 2:
Telephony-service
extension-assigner tag-type provision-tag
auto assign 101-102
auto-reg-ephone
Ephone-dn 101
number 1001
Ephone-dn 102
number 1002
Ephone 1
provision-tag 1001
mac-address 02EA.EAEA.0001
button 1:101
Ephone 2
provision-tag 1002
mac-address 02EA.EAEA.0002
button 1:102
Related Commands
Command Descriptionextension-assigner tag-type
Specifies which type of tag is used by the extension assigner application to identify an ephone configuration.
Posted: Thu Jul 19 11:16:10 PDT 2007
All contents are Copyright © 1992--2007 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.