cc/td/doc/product/voice/its/cme34
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table Of Contents

Cisco Unified CME Commands: D

date-format (telephony-service)

date-format (voice register global)

default (voice hunt-group)

description (ephone)

description (ephone-dn and ephone-dn-template)

description (ephone-hunt)

description (voice register pool)

device-security-mode

dialplan

dialplan-pattern

dialplan-pattern (voice register)

digit collect kpml

directory

directory entry

display-logout

dnd (voice register pool)

dnd feature-ring

dnd-control (voice register template)

dn-webedit

dst (voice register global)

dst auto-adjust (voice register global)

dtmf-relay (voice register pool)


Cisco Unified CME Commands: D


Last Updated: June 18, 2007
First 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.

date-format (telephony-service)

To set the date display format on the Cisco IP phones in a Cisco CallManager Express (Cisco CME) system, use the date-format command in telephony-service configuration mode. To display the date in the default format, use the no form of this command.

date-format {dd-mm-yy | mm-dd-yy | yy-dd-mm | yy-mm-dd}

no date-format

Syntax Description

dd-mm-yy
mm-dd-yy
yy-dd-mm
yy-mm-dd

Format in which dates are displayed on the IP phone:

dd—Two-digit day.

mm—Two-digit month.

yy—Two-digit year.


Defaults

mm-dd-yy

Command Modes

Telephony-service configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.2(2)XT

Cisco ITS 2.0

This command was introduced on the Cisco 1750, Cisco 1751, Cisco 2600 series, Cisco 3600 series, and Cisco IAD2420 series.

12.2(8)T

Cisco ITS 2.0

This command was integrated into Cisco IOS Release 12.2(8)T and implemented on the Cisco 3725 and Cisco 3745 routers.

12.2(8)T1

Cisco ITS 2.0

This command was implemented on the Cisco 2600-XM and Cisco 2691.

12.2(11)T

Cisco ITS 2.01

This command was implemented on the Cisco 1760.


Examples

The following example sets the date format to day, month, and year, so that December 17, 2004 is represented as 17-12-04.

Router(config)# telephony-service
Router(config-telephony)# date-format dd-mm-yy

Related Commands

Command
Description

telephony-service

Enters telephony-service configuration mode.


date-format (voice register global)

To set the date display format on SIP phones in a Cisco CallManager Express (Cisco CME) system, use the date-format command in voice register global configuration mode. To display the date in the default format, use the no form of this command.

date-format {d/m/d | m/d/y | y-d-m | y/d/m | y/m/d | yy-m-d}

no date-format

Syntax Description

d/m/d
m/d/y
y-d-m
y/d/m
y/m/d
yy-m-d

Format in which dates are displayed on the IP phone:

d—Day

m—Month

y—Year


Defaults

mm-dd-yy

Command Modes

Voice register global configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.4(4)T

Cisco CME 3.4

This command was introduced.


Examples

The following example shows how to set the date format to day, month, and year, so that December 17, 2004 is represented as 17-12-04.

Router(config)# voice register global
Router(config-register-global)# date-format dd-mm-yy

Related Commands

Command
Description

dst auto-adjust (voice register global)

Enables automatic adjustment of daylight saving time on SIP phones.

time-format (voice register global)

Selects a 12-hour clock or a 24-hour clock for the time display format on Cisco IP phones in a SIP  CME system.

voice register global

Enters voice register global configuration mode in order to set global parameters for all supported Cisco SIP phones in a Cisco CME or Cisco SIP SRST environment.


default (voice hunt-group)

To set a command to its defaults, use the default command in voice hunt-group configuration mode.

default default-value

Syntax Description

default-value

One of the voice hunt group configuration commands. Valid choices are as follows:

hops (Peer or longest-idle voice hunt group only)

preference

timeout


Defaults

No default behaviors or values

Command Modes

Voice hunt-group configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.4(4)T

Cisco CME 3.4

This command was introduced.


Usage Guidelines

Use this command to configure the default value for a voice hunt group command.

The default command instructs the voice hunt group to use the default value of the specified command whenever the hunt group is called. This has the same effect as using the no form of the specified command, but the default command clearly specifies which commands are using their default values.

To use the default values for more than one command, enter each command on a separate line.

Examples

The following example shows how to set the default values for two separate voice hunt-group commands:

Router(config)# voice hunt-group 4 peer
Router(config-voi-hunt-group)# default hops
Router(config-voi-hunt-group)# default timeout

Related Commands

Command
Description

voice hunt-group

Defines a hunt group for SIP phones in a Cisco CallManager Express (Cisco CME) system.


description (ephone)

To provide ephone descriptions for network management systems using an eXtensible Markup Language (XML) query, use the description command in ephone configuration mode. To remove a description, use the no form of this command.

description string

no application

Syntax Description

string

Allows for a maximum of 128 characters, including spaces. There are no character restrictions.


Defaults

No ephone description is configured.

Command Modes

Ephone configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.3(11)XL

Cisco CME 3.2.1

This command was introduced

12.3(14)T

Cisco CME 3.3

This command was integrated into Cisco IOS Release 12.3(14)T.


Usage Guidelines

The descriptions configured with this command will appear neither on phone displays nor in show command output. Instead, they are sent to network management systems, such as CiscoView. Network management systems obtain description command data by sending an XML ISgetDevice request to a Cisco CME system. The Cisco CME system responds by sending ISDevDesc field data to the network management system, which uses the data to perform such tasks as printing descriptions on screen.

For more information about ISgetDevice requests and the ISDevDesc field, refer to the XML Provisioning Guide for Cisco CME/SRST.

Examples

The following example provides a description for ephone 1:

Router(config)# ephone 1
Router(config-ephone) description S/N:SK09456FPH3, Location:SJ21- 2nd Floor E5-9, User: Smith, John

Related Commands

Command
Description

ephone

Enters ephone configuration mode for an IP phone for the purposes of creating and configuring an ephone.


description (ephone-dn and ephone-dn-template)

To display a custom text-string description in the header bar of all supported Cisco Unified IP phones, use the description command in ephone-dn or ephone-dn-template configuration mode. To return to the default, use the no form of this command.

description string

no description

Syntax Description

string

Alphanumeric characters to be displayed in the header bar of the phone display. If spaces appear in the string, enclose the string in quotation marks. The maximum string length is 40 characters.

Note Display behavior depends on phone firmware version.


Command Default

The extension number of the first line on the phone appears in the header bar.

Command Modes

Ephone-dn configuration
Ephone-dn-template configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.2(11)T

Cisco ITS 2.0.1

This command was introduced.

12.2(11)YT

Cisco ITS 2.1

The number of characters in the string was modified.

12.2(15)T

Cisco ITS 2.1

This command was integrated into Cisco IOS Release 12.2(15)T.

12.4(4)XC

Cisco Unified CME 4.0

This command was made available in ephone-dn-template configuration mode.

12.4(9)T

Cisco Unified CME 4.0

This command in ephone-dn-template configuration mode was integrated into Cisco IOS Release 12.4(9)T.


Usage Guidelines

Use this command under the ephone-dn that is associated with the first line button on a Cisco Unified IP phone. A typical use for the description command is to display in the header bar the entire E.164 telephone number associated with the first line button rather than just the extension number, which is the default.

This command is supported by the following Ip phones:

Cisco Unified IP Phone 7940 and 7940G

Cisco Unified IP Phones 7960 and 7960G

Cisco Unified  IP Phone 7970

Cisco Unified IP Pone 7971

For Cisco Unified IP Phone 7940s and 7940Gs or Cisco Unified IP Phone 7960s and 7960Gs, the string is truncated to 14 characters if the text string is greater than 14 characters.

For Cisco Unified IP Phone 797x, all characters in the string appear alternately with time and date, each for 5 seconds.

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 shows how to define a header bar display for a phone on which the first line button is the extension number 50155:

Router(config)# ephone-dn 4
Router(config-ephone-dn)# number 50155
Router(config-ephone-dn)# description 888-555-0155

The following example shows how to use an ephone-dn template to define a header bar display for a phone on which the first line button is the extension number 50155:

Router(config)# ephone-dn-template 3
Router(config-ephone-dn-template)# description "888 555-0155"
Router(config-ephone-dn-template)# exit
Router(config)# ephone-dn 4
Router(config-ephone-dn)# number 50155
Router(config-ephone-dn)# ephone-dn-template 3

Related Commands

Command
Description

ephone-dn

Enters ephone-dn configuration mode.

ephone-dn-template

Enters ephone-dn-template configuration mode.

number

Configures a valid number for a Cisco Unified IP phone.


description (ephone-hunt)

To create a label for an ephone hunt group, use the description command in ephone-hunt configuration mode. To return this value to the default, use the no form of this command.

description string

no description

Syntax Description

string

Character string that identifies a hunt group.


Command Default

No description exists for the ephone hunt group.

Command Modes

Ephone-hunt configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.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 12.4(9)T.


Usage Guidelines

This command creates a label to identify the ephone-hunt group. This label helps make the configuration more readable.

Examples

The following example shows how to identify a hunt group for technical support agents.

ephone-hunt 3 peer
 pilot 4200
 list 1001, 1002, 1003
 description Tech Support Hunt Group
 hops 3
 timeout 7, 10, 15
 max-timeout 25
 final 4500

Related Commands

Command
Description

ephone-hunt

Defines an ephone hunt group and enters ephone-hunt configuration mode.


description (voice register pool)

To display a custom description in the header bar of Cisco IP Phone 7940 and 7940G or a Cisco IP Phone 7960 and 7960G, use the description command in voice register pool configuration mode. To return to the default, use the no form of this command.

description string

no description

Syntax Description

string

Alphanumeric characters that appear in the header bar of the phone display. If spaces appear in the string, enclose the string in quotation marks. The maximum string length is 40 characters, but the string is truncated to 14 characters in the display of Cisco IP Phone 7940s, Cisco IP Phone 7940Gs, Cisco IP Phone 7960s, and Cisco IP Phone 7960Gs.


Defaults

The extension number of the first line on the phone appears in the header bar.

Command Modes

Voice register pool configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.4(4)T

Cisco CME 3.4

This command was introduced.


Usage Guidelines

Use this command to display a customized description in the header bar of a SIP phone instead of the extension number, which is the default. For example, you can display the entire E.164 telephone number associated with the first phone line.

Examples

The following example shows how to define a header bar display for a SIP phone on which the extension number is 50155:

Router(config)# voice register pool 4
Router(config-register-pool)# number 1 50155
Router(config-register-pool)# description 888-555-0155

Related Commands

Command
Description

voice register pool

Enters voice register pool configuration mode for SIP phones.

number (voice register pool)

Configures a valid number for a SIP phone.


device-security-mode

To set the security mode for SCCP signaling for devices communicating with the Cisco Unified CME router globally or per ephone, use the device-security-mode command in telephony-service or ephone configuration mode. To return to the default, use the no form of this command.

device-security-mode {authenticated | none | encrypted}

no device-security-mode

Syntax Description

authenticated

SCCP signaling between a device and Cisco Unified CME through the secure TLS connection on TCP port 2443.

none

SCCP signaling is not secure.

encrypted

SCCP signaling between a device and Cisco Unified CME through the secure TLS connection on TCP port 2443, and the media uses Secure Real-Time Transport Protocol (SRTP).


Command Default

Device signaling is not secure.

Command Modes

Telephony-service configuration
Ephone configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.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.

12.4(11)XW1

Cisco Unified CME 4.1

The encrypted keyword was added.

12.4(15)T

Cisco Unified CME 4.1

The encrypted keyword was integrated into Cisco IOS Release 12.4(15)T.


Usage Guidelines

Use this command with Cisco Unified CME phone authentication and encryption.

Set the SCCP signaling security mode globally using this command in telephony-service configuration mode or per ephone using this command in ephone configuration mode. If you use both commands, the per-phone setting overrides the global setting.

Examples

The following example selects secure SCCP signaling for all ephones.

Router(config)# telephony-service
Router(config-telephony)# device-security-mode authenticated

The following example selects secure SCCP signaling for ephone 28:

Router(config)# ephone 28
Router(config-ephone)# button 1:14 2:25
Router(config-ephone)# device-security-mode authenticated

The following example selects secure SCCP signaling for all ephones and then disables it for ephone 36:

Router(config)# telephony-service
Router(config-telephony)# device-security-mode authentication

Router(config)# ephone 36
Router(config-ephone)# button 1:15 2:16
Router(config-ephone)# device-security-mode none

The following example selects encrypted secure SCCP signaling and encryption through SRTP for all ephones:

Router(config)# telephony-service
Router(config-telephony)# device-security-mode encrypted


dialplan

To assign a dial plan to a SIP phone, use the dialplan command in voice register pool or voice register template configuration mode. To remove the dial plan from the phone, use the no form of this command.

dialplan dialplan-tag

no dialplan dialplan-tag

Syntax Description

dialplan-tag

Number that identifies the dial plan to use for this SIP phone. This is the dialplan-tag argument that was assigned to the dial plan with the voice register dialplan command. Range: 1 to 24.


Command Default

No dial plan is assigned to the phone.

Command Modes

Voice register pool configuration
Voice register template configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.4(11)XJ

Cisco Unified CME 4.1

This command was introduced.

12.4(15)T

Cisco Unified CME 4.1

This command was integrated into Cisco IOS Release 12.4(15)T.


Usage Guidelines

You apply a dial plan to a SIP phone with this command after you create the dial plan with the voice register dialplan command. When the phone is reset or restarted, the dial plan file specified with this command is loaded to the phone. A phone can use only one dial plan.

A dial plan assigned to a SIP phone has priority over Key Press Markup Language (KPML), which is enabled by default on the phone.

If you use a voice register template to apply a command to a phone and you also use the same command in voice register pool configuration mode for the same phone, the value that you set in voice register pool configuration mode has priority.

After using the no dialplan command to remove a dial plan from a phone, use the restart command after creating a new configuration profile if the dial plan was defined with the pattern command. If the dial plan was defined using a custom XML file with the filename command, you must use the reset command for the change to take effect.

Examples

The following example shows that dial plan 5 is assigned to the SIP phone identified by pool 1:

Router(config)# voice register pool 1
Router(config-register-pool)# dialplan 5

The following example shows that dial plan 5 is assigned to voice register template 10:

Router(config)# voice register template 10
Router(config-register-temp)# dialplan 5

Related Commands

Command
Description

digit collect kpml

Enables KPML digit collection on a SIP phone.

filename

Specifies a custom XML file that contains the dial patterns to use for a SIP dial plan.

pattern

Defines a dial pattern for a SIP dial plan.

show voice register dialplan

Displays all configuration information for a specific SIP dial plan.

show voice register pool

Displays all configuration information associated with a particular voice register pool.

voice register dialplan

Enters voice register dialplan configuration mode to define a dial plan for SIP phones.


dialplan-pattern

To define a pattern that is used to expand extension numbers in Cisco Unified CME into fully qualified E.164 numbers, use the dialplan-pattern command in telephony-service configuration mode. To disable the dialplan-pattern command settings, use the no form of this command.

dialplan-pattern tag pattern extension-length extension-length [extension-pattern extension-pattern | no-reg]

no dialplan-pattern tag

Syntax Description

tag

Identifies this dial-plan pattern. The tag is a number from 1 to 5.

pattern

Dial-plan pattern, such as the area code, the prefix, and the first one or two digits of the extension number, plus wildcard markers or dots (.) for the remainder of the extension number digits.

extension-length

Sets the number of extension digits that will appear as a caller ID.

extension-length

The number of extension digits. The extension length must match the length of extensions for IP phones. Range: 1 to 32.

extension-pattern

(Optional) Sets an extension number's leading digit pattern when it is different from the E.164 telephone number's leading digits as defined in the extension-pattern argument.

extension-pattern

(Optional) The extension number's leading digit pattern. Consists of one or more digits and wildcard markers or dots (.). For example, 5.. would include extension 500 to 599, and 5... would include 5000 to 5999.

The length of the extension pattern must equal the value configured for the extension-length argument.

no-reg

(Optional) Prevents the E.164 numbers in the dial peer from registering with the gatekeeper.


Defaults

No expansion pattern exists.

Command Modes

Telephony-service configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.1(5)YD

Cisco ITS 1.0

This command was introduced on the following platforms: Cisco 2600 series, Cisco 3600 series, Cisco IAD2420 series.

12.2(2)XT

Cisco ITS 2.0

This command was implemented on the Cisco 1750 and Cisco 1751.

12.2(8)T

Cisco ITS 2.0

This command was integrated into Cisco IOS Release 12.2(8)T and implemented on the Cisco 3725 and Cisco 3745 routers.

12.2(8)T1

Cisco ITS 2.0

This command was implemented on the Cisco 2600-XM and Cisco 2691 routers.

12.2(11)T

Cisco ITS 2.01

This command was implemented on the Cisco 1760.

12.2(11)YT

Cisco ITS 2.1

The extension-pattern keyword was added.

12.2(15)T

Cisco ITS 2.1

This command was integrated into Cisco IOS Release 12.2(15)T.


Usage Guidelines

This command creates a pattern for expanding individual abbreviated extension numbers of calling numbers into fully qualified E.164 numbers.

Use this command when configuring a network with multiple Cisco Unified CMEs to ensure that the appropriate calling number, extension or E.164 number, is provided to the target Cisco Unified CME, and appears on the phone display of the called phone. In networks that have a single Cisco Unified CME, this command is not needed.

If multiple dial-plan patterns are defined, the system matches extension numbers against the patterns in sequential order, starting with with the lowest numbered dial-plan pattern tag first. Once a pattern matches an extension number, the pattern is used to generate an expanded number. If additional patterns subsequently match the extension number, they are not used.

The dialplan-pattern command builds additional dial peers for the expanded numbers it creates. For example, when the ephone-dn with the number 1001 was defined, the following POTS dial peer was automatically created for it:

dial-peer voice 20001 pots
destination-pattern 1001
voice-port 50/0/2

When you define a dial-plan pattern that 1001 will match, such as 40855510.., a second dial peer is created so that calls to both the 1001 and 4085551001 numbers will be completed. In our example, the additional dial peer that is automatically created looks like the following:

dial-peer voice 20002 pots
destination-pattern 4085551001
voice-port 50/0/2

Both numbers are recognized by Cisco Unified CME as being associated with a SCCP phone.

Both dial peers can be seen with the show telephony-service dial-peer command.

In networks with multiple routers, you may need to use the dialplan-pattern command to expand extensions to E.164 numbers because local extension numbering schemes can overlap each other. Networks with multiple routers have authorities such as gatekeepers that route calls through the network. These authorities require E.164 numbers so that all numbers in the network will be unique. Use the dialplan-pattern command to expand extension numbers into unique E.164 numbers for registering with a gatekeeper.

Ephone-dn numbers for the Cisco IP phones must match the number in the extension-length argument; otherwise, the extension number cannot be expanded. For example, the following command maps all 3-digit extension numbers to the telephone number 40855501xx, so that extension 111 is expanded but the 4-digit extension 1011 is not.

dialplan-pattern 1 40855501.. extension-length 3

Using the dialplan-pattern command to expand extension numbers can sometimes result in the improper matching of numbers with dial peers. For example, the expanded E.164 number 2035550134 can match dial-peer destination-pattern 203, not 134, which would be the correct destination pattern for the desired extension. If it is necessary for you to use the dialplan-pattern command and you know that the expanded numbers might match destination patterns for other dial peers, you can manually configure the E.164 expanded number for an extension as its secondary number using the number command, as shown in the following example.

ephone-dn 23
number 134 secondary 2035550134

The pattern created by the dialplan-pattern command is also used to enable distinctive ringing for inbound calls. If a calling-party number matches a dial-plan pattern, the call is considered an internal call and has a distinctive ring that identifies the call as internal. Any call with a calling-party number that does not match a dial-plan pattern is considered an external call and has a distinctive ring that is different from the internal ringing.

When the extension-pattern keyword and extension-pattern argument are used, the leading digits of an extension pattern are stripped and replaced with the corresponding leading digits of the dial plan. For example, the following command maps all 4xx extension numbers to the E.164 number 40855501xx, so that extension 412 corresponds to 4085550112.

dialplan-pattern 1 4085550100 extension-length 3 extension-pattern 4..

Examples

The following example shows how to create dial-plan pattern 1 for extension numbers 5000 to 5099 with a prefix of 408555. If an inbound calling party number (4085555044) matches dial-plan pattern 1, the recipient phone will display an extension (5044) as the caller ID and use an internal ringing tone. If an outbound calling party extension number (5044) matches the same dial-plan pattern 1, the calling-party extension will be converted to an E.164 number (4085555044). The E.164 calling-party number will appear as the caller ID.

Router(config)# telephony-service
Router(config-telephony)# dialplan-pattern 1 40855550.. extension-length 4 extension-pattern 50..

In the following example, the dialplan-pattern command creates dial-plan pattern 1 for extensions 800 to 899 with the telephone prefix starting with 4085559. As each number in the extension pattern is declared with the number command, two POTS dial peers are created. In the example, they are 801 (an internal office number) and 4085579001 (an external number).

Router(config)# telephony-service
Router(config-telephony)# dialplan-pattern 1 40855590.. extension-length 3 extension-pattern 8..

The following example shows a configuration for two Cisco CME systems. One system uses 50.. and the other uses 60.. for extension numbers. Each is configured with the same two dialplan-pattern commands. Calls from the "50.." system to the "60.." system, and vice versa, are treated as internal calls. Calls that go across a H.323 network and calls that go to a PSTN through an ISDN interface on one of the configured Cisco CME routers are represented as E.164.

Router(config)# telephony-service
Router(config-telephony)# dialplan-pattern 1 40855550.. extension-length 4 extension-pattern 50..
Router(config-telephony)# dialplan-pattern 2 51055560.. extension-length 4 extension-pattern 60..

Related Commands

Command
Description

show telephony-service dial-peer

Displays dial peer information for extensions in a Cisco CME system.


dialplan-pattern (voice register)

To define a pattern that is used to expand extension numbers in Cisco Unified CME into fully qualified E.164 numbers, use the dialplan-pattern command in voice register global configuration mode. To disable the dialplan-pattern command settings, use the no form of this command.

dialplan-pattern tag pattern extension-length extension-length [extension-pattern extension-pattern | no-reg]

no dialplan-pattern tag

Syntax Description

tag

Unique number for identifying this dial-plan pattern. Range: 1 to 5.

pattern

Dial-plan pattern to be matched, such as the area code, the prefix, and the first one or two digits of the extension number, plus wildcard markers or dots (.) for the remainder of the extension number digits.

extension-length

Number of extension digits that will appear as a caller ID.

extension-length

Number of digits in an extension.

This variable must match the length of the directory numbers configured for SIP extensions in Cisco Unified CME. Range: 1 to 32.

extension-pattern

(Optional) Leading digit pattern to be configured for an extension when it is different from the leading digit pattern of the E.164 telephone number, as defined in the extension-pattern argument.

extension-pattern

(Optional) Leading digit pattern to be stripped from extension number when expanding an extension to an E.164 telephone number. Consists of one or more digits and wildcard markers or dots (.). For example, 5.. would include extension 500 to 599, and 5... would include 5000 to 5999.

The length of the extension pattern must equal the value configured for the extension-length argument.

no-reg

(Optional) Prevents the E.164 numbers in the dial peer from registering with the gatekeeper.


Command Default

No expansion pattern exists.

Command Modes

Voice register global configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.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 12.4(9)T.


Usage Guidelines

This command creates a pattern for expanding individual abbreviated SIP extension numbers of calling numbers into fully qualified E.164 numbers.

Use this command when configuring a network with multiple Cisco Unified CMEs to ensure that the appropriate calling number, extension or E.164 number, is provided to the target Cisco Unified CME, and appears on the phone display of the called phone. In networks that have a single Cisco Unified CME, this command is not needed.

Up to five dial-plan patterns can be configured. If multiple dial-plan patterns are defined, the system matches extension numbers against the patterns in sequential order, starting with the lowest numbered dial-plan pattern tag first.

Dial peers for directory numbers are automatically created when SIP phones register in Cisco Unified CME. The dialplan-pattern command builds a second dial peer for the expanded number because an extension number matches the pattern. Both numbers are recognized by Cisco Unified CME as being associated with a SIP phone.

For example, the following POTS dial peer is automatically created for extension number 1001 when the associated SIP phone registers in Cisco Unified CME:

dial-peer voice 20001 pots
destination-pattern 1001
voice-port 50/0/2

If the extension number (1001) also matches a dial-plan pattern that is configured using the dialplan-pattern command, such as 40855510.., a second dial peer is dynamically created so that calls to both the 1001 and 4085551001 numbers can be completed. Based on the dial-plan pattern to be matched, the following additional POTS dial peer is created:

dial-peer voice 20002 pots
destination-pattern 4085551001
voice-port 50/0/2

Using the no form of this command will remove the dial peer that was created for the expanded number.

All dial peers can be displayed by using the show dial-peer voice summary command. All dial peers for numbers associated to SIP phones only can be displayed by using the show voice register dial-peers command. Dial peers created by using the dialplan-expansion command cannot be seen in the running configuration.

The value of the extension-length argument must be equal to the length of extension number to be matched, otherwise, the extension number cannot be expanded. For example, the following command maps all 3-digit extension numbers to the telephone number 40855501.., so that extension 111 is expanded but 4-digit extension number 1111 is not.

dialplan-pattern 1 40855501.. extension-length 3

When the extension-pattern keyword and extension-pattern argument are configured, the leading digits of the extension pattern variable are stripped away and replaced with the corresponding leading digits of the dial-plan pattern to create the expanded number. For example, the following command maps all 3-digit extension numbers with the leading digit of "4" to the telephone number 40855501.., so that extension 434 corresponds to 4085550134.

dialplan-pattern 1 40855501.. extension-length 3 extension-pattern 4..

To apply dialplan-pattern expansion on a per-system basis to individual SIP redirecting numbers in a Cisco Unified CME system, including original called and last reroute numbers, use the call-forward command.

Examples

The following example shows how to create a dialplan-pattern for expanding extension numbers 60xxx to E.164 numbers 5105555xxx.

Router(config)# voice register global

Router(config-register-global)# dialplan-pattern 1 5105550... extension-length 5

The following example is output from the show dial-peer summary command displaying information for four dial peers, one each for extensions 60001 and 60002 and because the dialplan-expansion command was configured to expand 6.... to 4085555...., one each for 4085550001 and 4085550002. The latter two dial peers will not appear in the running configuration.

Router# show dial-peer summary
AD PRE PASS OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STATT
20010 pots up up 60002$ 0 0
20011 pots up up 60001$ 0 9
20012 pots up up 5105555001$ 0 9
20013 pots up up 5105555002$ 0 0

Related Commands

Command
Description

call-forward (voice register)

Applies dial-plan pattern expansion globally to redirecting number.

show dial-peer summary

Displays all dial peers created in Cisco Unified CME.

show voice register dial-peer

Displays dial-peer information for SIP extensions in Cisco Unified CME.


digit collect kpml

To enable Key Press Markup Language (KPML) digit collection on a SIP phone, use the digit collect kpml command in voice register pool or voice register template configuration mode. To disable KPML, use the no form of this command.

digit collect kpml

no digit collect kpml

Syntax Description

This command has no arguments or keywords.

Command Default

KPML digit collection is enabled.

Command Modes

Voice register pool configuration
Voice register template configuration

Command History

Release
Cisco Product
Modification

12.4(11)XJ

Cisco Unified CME 4.1
Cisco Unified SRST 4.1

This command was introduced.

12.4(15)T

Cisco Unified CME 4.1
Cisco Unified SRST 4.1

This command was integrated into Cisco IOS Release 12.4(15)T.


Usage Guidelines

KPML is enabled by default for all directory numbers on the phone. A dial plan assigned to a phone has priority over KPML. Use the no digit collect kpml command to disable KPML on a phone.

If you use a voice register template to apply a command to a phone and you also use the same command in voice register pool configuration mode for the same phone, the value that you set in voice register pool configuration mode has priority.

KPML is not supported on the Cisco IP Phone 7905, 7912, 7940, or 7960.

Examples

The following example shows KPML enabled on SIP phone 4:

Router(config)# voice register pool 4
Router(config-register-pool)# digit collect kpml

Related Commands

Command
Description

dialplan

Assigns a dial plan to a SIP phone.

show voice register pool

Displays all configuration information associated with a SIP phone.

voice register dialplan

Enters voice register dialplan configuration mode to define a dial plan for SIP phones.


directory

To define the order in which the names of Cisco IP phone users are displayed in the local directory, use the directory command in telephony-service configuration mode. To return to the default, use the no form of this command.

directory {first-name-first | last-name-first}

no directory {first-name-first | last-name-first}

Syntax Description

first-name-first

First name is entered first in the Cisco IP phone directory name field.

last-name-first

Last name is entered first in the Cisco IP phone directory name field.


Defaults

first-name-first

Command Modes

Telephone configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.2(2)XT

Cisco ITS  2.0

This command was introduced on the Cisco 1750, Cisco 1751, Cisco 2600 series, Cisco 3600 series, and Cisco IAD2420 series.

12.2(8)T

Cisco ITS  2.0

This command was integrated into Cisco IOS Release 12.2(8)T and implemented on the Cisco 2600-XM, Cisco 2691, Cisco 3725, and Cisco 3745.

12.2(11)T

Cisco ITS  2.01

This command was implemented on the Cisco 1760.


Usage Guidelines

This command defines name order in the local directory. The directory itself is generated from entries made using the name command and the number command in ephone-dn configuration mode.


Note The name information must be entered in the correct order in the name command.


The location for the file that is accessed when the Directories button is pressed is specified in the url (telephony-service) command.

Examples

The following example shows how to configure the local directory with the last name first:

Router(config)# telephony-service
Router(config-telephony)# directory last-name-first

Related Commands

Command
Description

name

Specifies a name to be associated with an extension (ephone-dn).

number

Specifies a telephone number to be associated with an extension (ephone-dn).

telephony-service

Enters telephony-service configuration mode.

url

Provisions URLs for the displays associated with buttons on Cisco IP phones.


directory entry

To add a systemwide phone directory and speed-dial definition, use the directory entry command in telephony-service configuration mode. To remove a definition, use the no form of this command.

directory entry {directory-tag number name name | clear}

no directory entry {directory-tag | clear}

Syntax Description

directory-tag

Digit string that provides a unique identifier for this entry. Range is from 1 to 99.

number

String of up to 32 digits that provides the full telephone number for this entry.

name name

String of up to 24 characters that provides a name for this entry.

clear

Removes all directory entries that were made with this command.


Defaults

Entries do not exist.

Command Modes

Telephony-service configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.2(15)ZJ

Cisco CME 3.0

This command was introduced.

12.3(4)T

Cisco CME 3.0

This command was integrated into Cisco IOS Release 12.3(4)T.

12.3(11)XL

Cisco CME 3.2.1

This feature was modified to enable systemwide speed-dialing of entries from 34 to 99.

12.3(14)T

Cisco CME 3.3

This command was integrated into Cisco IOS Release 12.3(14)T.


Usage Guidelines

The Cisco CallManager Express system automatically creates a local phone directory consisting of the telephone numbers and names that are entered during ephone-dn configuration. Additional directory entries can be made by administrators using the directory entry command. Phone number directory listings are displayed in the order in which they are entered.

A single entry can be removed using the no directory entry directory-tag command.

Directory entries that have directory-tag numbers from 34 to 99 also can be used as systemwide speed-dial numbers. That is, if you have the following definition for the headquarters office, any phone user can speed-dial the number:

Router(config)# telephony-service
Router(config-telephony)# directory entry 51 4085550123 name Headquarters

Analog phone users press the asterisk (*) key and the speed-dial identifier (tag number) to dial a speed-dial number.

IP phone users follow this procedure to dial a speed-dial number:

1. With the phone on-hook, an IP phone user presses a two-digit speed-dial code (that is, 05 for the entry with tag 5). A new soft key, Abbr, appears in the phone display.

2. The phone user picks up the phone handset and presses the Abbr soft key. The full telephone number associated with the speed-dial tag is dialed.

Examples

The following example adds six telephone listings to the local directory. The last two entries, with the identifiers 50 and 51, can be speed-dialed by anyone on the system because their identifiers (directory-tags) are between 34 and 99.

Router(config)# telephony-service
Router(config-telephony)# directory entry 1 4045550110 name Atlanta
Router(config-telephony)# directory entry 2 3125550120 name Chicago
Router(config-telephony)# directory entry 4 2125550140 name New York City
Router(config-telephony)# directory entry 5 2065550150 name Seattle
Router(config-telephony)# directory entry 50 4085550123 name Corp Headquarters
Router(config-telephony)# directory entry 51 4085550145 name Division Headquarters

Related Commands

Command
Description

telephony-service

Enters telephony-service configuration mode.


display-logout

To specify a message to display on phones in an ephone hunt group when all phones in the hunt group are logged out, use the display-logout command in ephone-hunt configuration mode. To return this value to the default, use the no form of this command.

display-logout string

no display-logout

Syntax Description

string

Character string to be displayed on hunt group member IP phones when all members are logged out.


Command Default

No logout message exists.

Command Modes

Ephone-hunt configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.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 defines a plain-text message that displays on phones with ephone-dns that are members of a hunt group when all the members of the group are logged out. The message can be used to notify agents that no agents are available to take hunt group calls. It can also be used to tell agents about the disposition of any incoming calls to the hunt group when no agents are available to answer calls. For example, you could set the display to read "All Agents Unavailable," or "Hunt Group Voice Mail" or "Hunt Group Night Service."

Examples

The following example specifies a message to display when all agents are logged out of hunt group 3.

ephone-hunt 3 peer
 pilot 4200
 list 1001, 1002, 1003
 display-logout All Agents Logged Out
 hops 3
 timeout 7, 10, 15
 max-timeout 25
 final 4500

Related Commands

Command
Description

ephone-hunt

Defines an ephone hunt group and enters ephone-hunt configuration mode.


dnd (voice register pool)

To enable the Do-Not-Disturb (DND) feature, use the dnd-control command in voice register pool configuration mode. To disable the DND, use the no form of this command.

dnd

no dnd

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled

Command Modes

Voice register pool configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.4(4)T

Cisco CME 3.4

This command was introduced.


Examples

The following example shows how to enable DND:

Router(config)# voice register pool 1
Router(config-register-pool)# dnd

Related Commands

Command
Description

voice register pool

Enters voice register pool configuration mode for SIP phones.


dnd feature-ring

To allow phone buttons configured with the feature-ring option to not ring when their phones are in do-not-disturb (DND) mode, use the dnd feature-ring command in ephone configuration mode. To allow lines configured for feature ring to ring when the phone is in DND mode, use the no form of this command.

dnd feature-ring

no dnd feature-ring

Syntax Description

This command has no arguments or keywords.

Defaults

When incoming calls occur, all of the buttons configured on IP phones in DND mode will not ring.

Command Modes

Ephone configuration mode

Command History

Cisco IOS Release
Cisco Product
Modification

12.3(11)XL

Cisco CME 3.2.1

This command was introduced.

12.3(14)T

Cisco CME 3.3

This command was integrated into Cisco IOS Release 12.3(14)T.


Usage Guidelines

This command applies only to ephones that are configured with the feature-ring option provided by the button command.

Note that the affirmative form of the command is enabled by default and feature-ring lines will not ring when the phone is in DND mode. To enable feature-ring lines to ring when the phone is in DND mode, use the no dnd feature-ring command.

Examples

For the following example, when DND is active on ephone 1 and ephone 2, button 1 will ring, but button 2 will not.

Router(config)# ephone-dn 1
Router(config-ephone-dn)# number 1001

Router(config)# ephone-dn 2
Router(config-ephone-dn)# number 1002

Router(config)# ephone-dn 10
Router(config-ephone)# number 1110
Router(config-ephone)# preference 0
Router(config-ephone)# no huntstop

Router(config)# ephone-dn 11
Router(config-ephone)# number 1111
Router(config-ephone)# preference 1
Router(config-ephone)# no huntstop

Router(config)# ephone 1
Router(config-ephone)# button 1f1
Router(config-ephone)# button 2o10,11
Router(config-ephone)# no dnd feature-ring

Router(config-ephone-dn)# ephone 2
Router(config-ephone)# button 1f2
Router(config-ephone)# button 2o10,11
Router(config-ephone)# no dnd feature-ring

Related Commands

Command
Description

button

Associates ephone-dns with individual buttons on a Cisco IP phone and specifies ring behavior.

ephone

Enters ephone configuration mode for an IP phone for the purposes of creating and configuring an ephone.


dnd-control (voice register template)

To enable the Do-Not-Disturb (DND) soft key on SIP phones, use the dnd-control command in voice register template configuration mode. To disable the DND soft key on a SIP phone, use the no form of this command.

dnd-control

no dnd-control

Syntax Description

This command has no arguments or keywords.

Defaults

Enabled

Command Modes

Voice register template configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.4(4)T

Cisco CME 3.4

This command was introduced.


Usage Guidelines

This command enables a soft key for Do-Not-Disturb (DND) in the specified template which can then be applied to SIP phones. The DND soft key is enabled by default. To disable the DND soft key, use the dnd command. To apply a template to a SIP phone, use the template command in voice register pool configuration mode.

Examples

The following example shows how to disable the DND soft key:

Router(config)# voice register template 1
Router(config-register-template)# dnd-control

Related Commands

Command
Description

voice register template

Enter voice register template configuration mode.


\

dn-webedit

To enable the adding of extensions (ephone-dns) through the Cisco CallManager Express (Cisco CME) graphical user interface (GUI), use the dn-webedit command in telephony-service configuration mode. To disable this feature, use the no form of this command.

dn-webedit

no dn-webedit

Syntax Description

This command has no arguments or keywords.

Defaults

Extensions cannot be added through the Cisco CME GUI.

Command Modes

Telephony-service configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.2(2)XT

Cisco ITS 2.0

This command was introduced on the following platforms: Cisco 1750, Cisco 1751, Cisco 2600 series, Cisco 3600 series, and Cisco IAD2420 series.

12.2(8)T

Cisco ITS 2.0

This command was integrated into Cisco IOS Release 12.2(8)T and implemented on the Cisco 3725 and Cisco 3745 routers.

12.2(8)T1

Cisco CITS 2.0

This command was implemented on the Cisco 2600-XM and Cisco 2691 routers.

12.2(11)T

Cisco ITS 2.01

This command was implemented on the Cisco 1760.


Usage Guidelines

The dn-webedit command enables the adding of extensions through the web-based GUI. If the dn-webedit command is enabled, a customer administrator or a system administrator can modify and assign extensions associated with the Cisco CME router. If this ability is disabled, extensions must be added using the router command-line interface (CLI).

If the set of extension numbers used by the router is part of a larger telephone network, limitations on modification might be needed to ensure network integrity. Disabling the dn-webedit command prevents an administrator from allocating phone numbers and prevents assignment of numbers that may already be used elsewhere in the network.

Examples

The following example enables editing of directory numbers through the web-based GUI interface:

Router(config)# telephony-service
Router(config-telephony)# dn-webedit

Related Commands

Command
Description

telephony-service

Enters telephony-service configuration mode.

time-webedit

Enables time setting through the web interface.


dst (voice register global)

To set the time period for daylight saving time on SIP phones, use the dst command in voice register global configuration mode. To disable daylight saving time, use the no form of this command.

dst {start | stop} month [day day-of-month | week week-number day day-of-week] time hour:minutes}

no dst {start | stop}

Syntax Description

start

Sets beginning time for daylight saving time.

stop

Sets ending time for daylight saving time.

month

Abbreviated month. The following abbreviations are valid: jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec.

day day-of-month

Date of the month. Range is 1 to 31.

week week-number

Number identifying the week of the month. Range is 1 to 4, or 8, where 8 represents the last week of the month.

day day-of-week

Abbreviated day of the week. The following abbreviations are valid: sun, mon, tue, wed, thu, fri, sat.

time hour:minutes

Beginning and ending time for daylight saving time, in HH:MM format using a 24-hour clock. The stop time must be greater than the start time. The value 24:00 is not valid. If you enter 00:00for both start time and stop time, daylight saving time is enabled for the entire 24-hour period on the specified date.


Defaults

Start: First week of April, Sunday, 2:00 a.m.
Stop: Last week of October, Sunday 2:00 a.m.

Command Modes

Voice register global configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.4(4)T

Cisco CME 3.4

This command was introduced.


Usage Guidelines

This command sets the stop and start times for daylight saving time if the dst auto-adjust command is configured.

Examples

The following example shows how to set automatic adjustment of daylight saving time:

Router(config)# voice register global
Router(config-register-global)# dst start Jan day 1 time 00:00
Router(config-register-global)# dst stop Mar day 31 time 23:99

Related Commands

Command
Description

date-format (voice register global)

Sets the date display format on SIP phones in a Cisco CME system.

dst auto-adjust (voice register global)

Enables automatic adjustment of daylight saving time on SIP phones.

time-format (voice register global)

Selects a 12-hour clock or a 24-hour clock for the time display format on Cisco IP phones in a SIP  CME system.

timezone (voice register global)

Sets the time zone used for SIP phones in a Cisco CME system.

voice register global

Enters voice register global configuration mode in order to set global parameters for all supported Cisco SIP phones in a Cisco CME or Cisco SIP SRST environment.


dst auto-adjust (voice register global)

To enable automatic adjustment of daylight saving time on SIP phones, use the dst auto-adjust command in voice register global configuration mode. To disable daylight saving time auto adjustment, use the no form of this command.

dst auto-adjust

no dst auto-adjust

Syntax Description

This command has no arguments or keywords.

Defaults

Enabled

Command Modes

Voice register global configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.4(4)T

Cisco CME 3.4

This command was introduced.


Usage Guidelines

Automatic adjustment for daylight saving time is enabled by default. To disable auto adjusting for DST, use the no dst auto-adjust command. To set the start and stop times for DST, use the dst command.

Examples

The following example shows how to disable the automatic adjustment for daylight saving time:

Router(config)# voice register global
Router(config-register-global)# no dst auto-adjust

Related Commands

Command
Description

date-format (voice register global)

Sets the date display format on SIP phones in a Cisco CME system.

dst (voice register global)

Sets the start and stop time if using daylight saving time on SIP phones.

time-format (voice register global)

Selects a 12-hour clock or a 24-hour clock for the time display format on Cisco IP phones in a SIP  CME system.

timezone (voice register global)

Sets the time zone used for SIP phones in a Cisco CME system.

voice register global

Enters voice register global configuration mode in order to set global parameters for all supported Cisco SIP phones in a Cisco CME or Cisco SIP SRST environment.


dtmf-relay (voice register pool)

To specify the list of DTMF relay methods that can be used to relay dual-tone multifrequency (DTMF) audio tones between Session Initiation Protocol (SIP) endpoints, use the dtmf-relay command in voice register pool configuration mode. To send the DTMF audio tones as part of an audio stream, use the no form of this command.

dtmf-relay {[cisco-rtp] [rtp-nte] [sip-notify]}

no dtmf-relay

Syntax Description

cisco-rtp

Forwards DTMF audio tones by using Real-Time Transport Protocol (RTP) with a Cisco proprietary payload type. This keyword is supported only for dial peers that are created by incoming REGISTERs from a SIP gateway. It is not supported for dial peers that are created by a SIP Cisco IP phone.

rtp-nte

Forwards DTMF audio tones by using Real-Time Transport Protocol (RTP) with a Named Telephone Event (NTE) payload.

sip-notify

Forwards DTMF audio tones by using SIP-NOTIFY messages. This keyword is supported only for dial peers that are created by incoming REGISTERs from a SIP gateway. It is not supported for dial peers that are created by a SIP Cisco IP phone.


Command Default

DTMF tones are disabled and sent in-band. That is, they remain in the audio stream.

Command Modes

Voice register pool configuration

Command History

Cisco IOS Release
Cisco Product
Modification

12.3(4)T

Cisco SIP SRST 3.0

This command was introduced.

12.4(4)T

Cisco CME 3.4
Cisco SIP SRST 3.4

This command was added to Cisco Unified  CME.


Usage Guidelines

During Cisco Unified Session Initiation Protocol (SIP) Survivable Remote Site Telephony (SRST) or Cisco Unified CME registration, a dial peer is created and that dial peer has a default DTMF relay of in-band.

This command command allows you to change the default to a desired value. You must use one or more keywords when configuring this command.

DTMF audio tones are generated when you press a button on a Touch-Tone phone. The tones are compressed at one end of the call and when the digits are decompressed at the other end, there is a risk that they can become distorted. DTMF relay reliably transports the DTMF audio tones generated after call establishment out-of-band.

The SIP Notify method sends Notify messages bidirectionally between the originating and terminating gateways for a DTMF event during a call. If multiple DTMF relay mechanisms are enabled on a SIP dial peer and are negotiated successfully, the SIP Notify method takes precedence.

SIP Notify messages are advertised in an Invite message to the remote end only if the dtmf-relay command is set.

For SIP calls, the most appropriate methods to transport DTMF tones are RTP-NTE or SIP-NOTIFY.


NoteThe cisco-rtp keyword is a proprietary Cisco implementation. If the proprietary Cisco implementation is not supported, the DTMF relay feature does not function, and the gateway sends DTMF tones in-band.

The sip-notify keyword is available only if the VoIP dial peer is configured for SIP.


Examples

Cisco Unified CME

The following example shows how to enable the RTP-NTE and SIP-NOTIFY mechanisms for DTMF relay for SIP phone 4:

Router(config)# voice register pool 4
Router(config-register-pool)# dtmf-relay rtp-nte sip-notify

Cisco Unified SIP SRST

The following is sample output from the show running-config command that shows that voice register pool 1 has been set up to send DTMF tones:

voice register pool 1
 application SIP.app
 incoming called-number 308
 voice-class codec 1
 dtmf-relay rtp-nte

Related Commands

Command
Description

dtmf-relay (voice over IP)

Specifies how an H.323 or SIP gateway relays DTMF tones between telephony interfaces and an IP network.



hometocprevnextglossaryfeedbacksearchhelp

Posted: Thu Jul 12 14:48:47 PDT 2007
All contents are Copyright © 1992--2007 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.